You are not logged in.
Hi all,
today I found that metacity was not getting my configurations for global keybindings. I have an IBM ThinkPad X41 tablet and there are some keys at the bottom of the screen I would like to configure. Both the keys are recognized as XF86LaunchA and XF86RotateWindows (checked with xev), ~/.gconf/apps/metacity/global_keybindings/%gconf.xml relevant part:
<?xml version="1.0"?>
<gconf>
<entry name="run_command_2" mtime="1230726347" type="string">
<stringvalue>XF86LaunchA</stringvalue>
</entry>
<entry name="run_command_1" mtime="1230726353" type="string">
<stringvalue>XF86RotateWindows</stringvalue>
</entry>
</gconf>
and ~/.gconf/apps/metacity/keybinding_commands/%gconf.xml relevant part:
<?xml version="1.0"?>
<gconf>
<entry name="command_2" mtime="1224111268" type="string">
<stringvalue>/usr/bin/cellwriter</stringvalue>
</entry>
<entry name="command_1" mtime="1230726795" type="string">
<stringvalue>/usr/local/bin/xrotate.sh</stringvalue>
</entry>
</gconf>
To workaround on that, I had to insert an entry on the session manager to launch 'metacity --replace &' at each session start.
I'm asking to the GNOME wizards here: someone knows a better and cleaner way to make metacity aware of my keybindings?
Thanks for the help, regards,
syntaxerrormmm - Homepage
Offline
did u try the keyboard shortcuts under gnome i know its a bit simplistic but try that
Say what is good or keep silent --Prophet Muhammad (SAW)
Offline
Well, GNOME keyboard shortcuts are a limited set of properties more or less related to the window management. With the GUI, it is not possible to configure arbitrary commands to bind to certain key combinations (at least IIRC ).
In any case, yes, I have tried also with it; I saw nothing that seemed to me to be related with the issue.
Thanks for the reply.
syntaxerrormmm - Homepage
Offline
http://www.linuxformat.co.uk/wiki/index … s_in_GNOME
Might help.....
Mr Green
Offline
Thanks Mr Green,
the file I have indicated in my first post (the ones in ~/.gconf) are the files where gconf stores the settings for the two entries cited in your link. So yes, I was aware of that and did it just the way described there.
Thanks again,
Last edited by syntaxerrormmm (2009-01-01 18:33:59)
syntaxerrormmm - Homepage
Offline
not sure if xbindkeys would help, do your commands [you list above!] run?
Mr Green
Offline
Obviously yes, they run correctly. Also, I add that with the same settings the keybindings worked, until yesterday of course. I didn't try them daily, though.
syntaxerrormmm - Homepage
Offline
As much as it's not a "real" solution, install Openbox and run a "GNOME\Openbox" session in the GDM chooser. Metacity's keybinding support is awful if you want to use anything other than the normal 101 keys.
Offline
Thanks Super Jamie,
I prefer to stick with standard GNOME, at least for the moment. I already know how much powerful could be another WM (used to work with wmii some years ago).
I really don't understand why the first instance of metacity cannot load the correct keybindings, since the second one (the one launched with '--replace') does.
Thanks again,
syntaxerrormmm - Homepage
Offline