Re: [e-users] xte from Xautomation not working

2006-12-05 Thread Andreas Volz
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 [EMAIL PROTECTED]
 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

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] xte from Xautomation not working

2006-12-05 Thread The Rasterman
On Tue, 5 Dec 2006 18:11:15 +0100 Andreas Volz [EMAIL PROTECTED] babbled:

 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 [EMAIL PROTECTED]
  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)

no idea - but this seems to me to be an xte issue - so i would chase this up on
that side. it's possible xte is demanding some form of tty and as it doesn't
get that from e it's very unhappy. it will never get it either.

 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
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] xte from Xautomation not working

2006-12-04 Thread Andreas Volz
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.

regards
Andreas

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] xte from Xautomation not working

2006-12-03 Thread Andreas Volz
Am Sat, 2 Dec 2006 10:01:02 +0900 schrieb Carsten Haitzler (The
Rasterman):

 On Tue, 28 Nov 2006 19:31:08 +0100 Andreas Volz [EMAIL PROTECTED]
 babbled:
 
  Hi,
  
  if I call xte (e.g. xte 'key X') from the Terminal or the E17
  Command Dialog it works. But if I run xte with keybinding Defined
  Command it does simply not work. Could anyone help here?
 
 no idea - e just executes the command as given and will redirect
 stdout/err/in to itself to capture error logs etc.

Is there a difference between how E17 keybindings and the Command
Dialog run a app? Because there is works.

Other xte command that controls the mouse are working in E17. Perhaps
it's really a problem that E captures the stdin/err/out. Could I
configure E _not_ to capture it?

Or do you've a better idea how to use the some keys on my multimedia
keyboard that control some apps.

I read here about how to configure my Cymotion keyboard for E17, but it
doesn't work (because of the xte problem):

http://gimpel.gi.funpic.de/Main/Home/_articles/11.html

regards
Andreas

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] xte from Xautomation not working

2006-12-03 Thread The Rasterman
On Sun, 3 Dec 2006 17:35:12 +0100 Andreas Volz [EMAIL PROTECTED] babbled:

 Am Sat, 2 Dec 2006 10:01:02 +0900 schrieb Carsten Haitzler (The
 Rasterman):
 
  On Tue, 28 Nov 2006 19:31:08 +0100 Andreas Volz [EMAIL PROTECTED]
  babbled:
  
   Hi,
   
   if I call xte (e.g. xte 'key X') from the Terminal or the E17
   Command Dialog it works. But if I run xte with keybinding Defined
   Command it does simply not work. Could anyone help here?
  
  no idea - e just executes the command as given and will redirect
  stdout/err/in to itself to capture error logs etc.
 
 Is there a difference between how E17 keybindings and the Command
 Dialog run a app? Because there is works.
 
 Other xte command that controls the mouse are working in E17. Perhaps
 it's really a problem that E captures the stdin/err/out. Could I
 configure E _not_ to capture it?
 
 Or do you've a better idea how to use the some keys on my multimedia
 keyboard that control some apps.
 
 I read here about how to configure my Cymotion keyboard for E17, but it
 doesn't work (because of the xte problem):
 
 http://gimpel.gi.funpic.de/Main/Home/_articles/11.html

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).

 regards
 Andreas
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] xte from Xautomation not working

2006-12-01 Thread The Rasterman
On Tue, 28 Nov 2006 19:31:08 +0100 Andreas Volz [EMAIL PROTECTED] babbled:

 Hi,
 
 if I call xte (e.g. xte 'key X') from the Terminal or the E17 Command
 Dialog it works. But if I run xte with keybinding Defined Command it
 does simply not work. Could anyone help here?

no idea - e just executes the command as given and will redirect stdout/err/in
to itself to capture error logs etc.

 regards
 Andreas
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 enlightenment-users mailing list
 enlightenment-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-users
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


[e-users] xte from Xautomation not working

2006-11-28 Thread Andreas Volz
Hi,

if I call xte (e.g. xte 'key X') from the Terminal or the E17 Command
Dialog it works. But if I run xte with keybinding Defined Command it
does simply not work. Could anyone help here?

regards
Andreas

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users