From: Andreas V. <li...@br...> - 2006-12-05 17:15:25
|
Am Tue, 5 Dec 2006 07:57:36 +0900 schrieb Carsten Haitzler (The Rasterman): > On Mon, 4 Dec 2006 21:42:28 +0100 Andreas Volz <li...@br...> > babbled: > > > Am Mon, 4 Dec 2006 07:00:35 +0900 schrieb Carsten Haitzler (The > > Rasterman): > > > > > you are using the enlightenment_remote commands? have you thought > > > that maybe those keys (XF86Back for example) don't WORK on your > > > keyboard layout setup and that's why? have you tried using the > > > gui to set them up? when you use the gui it will CAPTURE the > > > actual key pressed and thus get it right. e will let u bind keys > > > even if they have no symbols in the keymap as it will just bind > > > the raw keycode then. as long as the key produces a key press > > > event the binding will work and e will execute something (ie what > > > you told it to). > > > > Sure, I tested it also with the GUI. And also with other "standard" > > keys not special for a multimedia keyboard. No other results. > > not sure then. e will execute the app. if it is an app (from > a .desktop file) it will snarf the stdout/in, track return code etc. > so it fully reports errors etc. if it's not (just a cmd-line) it will > simply spawn it off and forget about it. replace xte with something > like "date > $HOME/test-run-time" and check that file. you will find Result: Di Dez 5 18:07:25 CET 2006 > it is being run. the rest is either that xte is not in $PATH (thus > provide a full path to it) or xte itself after being executed aborts > before it does anything. If I run xte with this command from E it works: xte 'mousemove 100 100' 'mousedown 1' 'mousemove 200 200' 'mouseup 1' The cursor is moved as it should. So I assume xte is found in the path. But the key-command does only work in E if I call it with xterm: xterm -e xte 'sleep 0.5' 'keydown Control_L' 'key v' 'keyup Control_L' The xte command isn't given to the xterm, it's e.g. given to the before selected OpenOffice window and insert the clipboards data. (OK) Any idea why it works inside a xterm, but not direct? It's a little interfering to see a xterm opening each time. regards Andreas |