В Пнд, 09/01/2006 в 18:36 +0530, neha gupta пишет:
> hello
> I have made a software  which on installation does something like
> xrefresh.
> 
> I have to set hotkeys for it such that the application runs on
> pressing a key combination.
> How can this be done...
> Also, the user who installs the software is not required to set the
> Hot keys. That means some script etc which sets the keys for
> him automatically is also needed.....
>  
> I could do this in KDE by setting KHotkeys or making a script for
> that. But am left with Gnome still. Someone please guide me soon.....
> Thanx
> Neha

Script like one below should help you

#!/bin/sh

gconftool-2 -s /apps/metacity/keybinding_commands/command_4 --type string xcalc
gconftool-2 -s /apps/metacity/global_keybindings/run_command_4 --type string 
'<Alt>x'


_______________________________________________
gnome-devel-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-devel-list

Reply via email to