On Fri, Sep 23, 2005 at 07:11:44PM +0200, Martin Geisler wrote:
> Matias Grana <[EMAIL PROTECTED]> writes:
> 
> > OK, so this is my whishlist: keyboard control for all dialogs!  And,
> > if I may still have more whishes, keyboard control for windows
> > (mainly, being able to move and resize windows w/ keyboard would
> > suffice). I know, this is something for the far away future, but if
> > you eventually have time and will to do it, it'll be a strong point
> > for e17.
> 
> Well, your far away future is already here! :-)
> 
> Try the following for resizing and moving windows with the keyboard
> (this is a shell script, type it in a file or line by line in a
> terminal):
> 
> er=enlightenment_remote
> 
> $er -binding-key-add ANY Left  'SHIFT|CTRL|ALT' 0 'move_absolute' '+0 *'
> $er -binding-key-add ANY Right 'SHIFT|CTRL|ALT' 0 'move_absolute' '-0 *'
> $er -binding-key-add ANY Up    'SHIFT|CTRL|ALT' 0 'move_absolute' '* +0'
> $er -binding-key-add ANY Down  'SHIFT|CTRL|ALT' 0 'move_absolute' '* -0'
> 
> $er -binding-key-add ANY Left  'CTRL|ALT' 0 'move_relative' '-20 0'
> $er -binding-key-add ANY Right 'CTRL|ALT' 0 'move_relative' '+20 0'
> $er -binding-key-add ANY Up    'CTRL|ALT' 0 'move_relative' '0 -20'
> $er -binding-key-add ANY Down  'CTRL|ALT' 0 'move_relative' '0 +20'
> 
> $er -binding-key-add ANY Left  'SHIFT|ALT' 0 'resize' '-20 0'
> $er -binding-key-add ANY Right 'SHIFT|ALT' 0 'resize' '+20 0'
> $er -binding-key-add ANY Up    'SHIFT|ALT' 0 'resize' '0 -20'
> $er -binding-key-add ANY Down  'SHIFT|ALT' 0 'resize' '0 +20'
> 
> See this post for more explaination about the parameters for the
> actions:
> 
>   http://sourceforge.net/mailarchive/message.php?msg_id=12262155

Nice!!! I changed the bindings to use WIN key, for them not to conflict
with some other bindings. After all, most of us do have an unused WIN
key ;-)


On Sat, Sep 24, 2005 at 11:18:48AM +0900, Carsten Haitzler wrote:
> 
> actually i renamed those actions as they didn't describe very well what they
> did. :)
> 
> window_move_to
> window_move_by
> window_resize_by
> 
> is what they are called now (as other actions affecting windows are all called
> window_SOMETHING) :) but otherwise they work the same :)

In the code I have (updated 4 days ago) it is still
move_absolute, move_relative and resize :-S 

BTW: is there a command to reset key bindings and get default bindings
again? In my trying this to work, I had to -binding-key-del several
bindings one by one.

Matías


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to