Re: [Xpert]Trapping key sequences

2002-05-23 Thread Oyvind Hallsteinsen

Henrik Sandklef wrote:
 Take a look at xikbd
 http://www.sandklef.com/xikbd

Thanks, also thanks to Peter Finderup Lund for his assistance. I
couldn't get xikbd to work (Sigfaults after reading /etc/xikbdrc), but
got a similar program called epistropy to work.

I'm now able to start a program on the local machine by pressing a key
sequence. However, I'm not able to do so until after I have logged in.
Watching the epistropy process using strace, I can see that nothing
happens if I push any of my defined key sequences while I'm watching the
login screen.

I put the the computer in /etc/X0.hosts so I have no problem opening an
connection to the display.

I don't know much about X, so I assume what I'm experiencing is the
correct behaviour - but is there a way I could make epistrophy (or any
other X client for that matter) recieve my key sequence while I'm
looking at the Display Manager's login screen? (Through XDMCP). The X
client is running on the same computer as the X server, ie. the local
computer.

---
-- Øyvind Hallsteinsen, HIST AITeL --
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



[Xpert]Trapping key sequences

2002-05-21 Thread Oyvind Hallsteinsen

Is it possible to have the XFree server trap a key sequence which then
triggers an event (for instance run a program)?

Obviously XFree can trap key sequences (ctrl-alt-backspace, among
others), but can I configure my own?

This would be interesting in a think client enviroment, where the X
server is the only piece of software running on the local machine. For
instance one could have ctrl-shift-escape or some other combination
reboot the computer by switching to runlevel 6.

---
-- Øyvind Hallsteinsen, HIST AITeL --
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert