|
mapping keys to commands in console
Hi I've recently set up my AccessIBM button to start X windows from the console, using loadkeys and a custom keymap. I notice that since all that's happening is a string and a newline are being sent to the current tty, launching the command, I must be logged in and running a shell for this to work, otherwise login catches the string and thinks my username is su - user -c "startx". I would like it to work without a running shell. Any ideas?
|