I faced this issue while using glipper that it cannot register any key-combinations(tried many). I found this is happening with python 2.7 keybinder, and to test it out I took sample program for it as per https://gist.github.com/lesthack/1302380
#!/usr/bin/env python import gtk import keybinder
def callback(user_data): · print "Handling", user_data · gtk.main_quit()
if __name__ == '__main__': · keystr = "<Ctrl><Alt>c" · keybinder.bind(keystr, callback, "Keystring %s (user data)" % keystr) · print "Press", keystr, "to handle keybinding and quit" · gtk.main()
But it gives error as, > python /tmp/sample.py
** (sample.py:23790): WARNING **: 16:50:45.250: Binding '<Ctrl><Alt>c' failed!
And it does not register the keycombination.
But the same code works fine in budgie-desktop and registers the key combinations fine. Must be only gnome-flashback issue.
I faced this issue while using glipper that it cannot register any key-combination s(tried many). /gist.github. com/lesthack/ 1302380
I found this is happening with python 2.7 keybinder, and to test it out I took sample program for it as per https:/
#!/usr/bin/env python
import gtk
import keybinder
def callback( user_data) :
· print "Handling", user_data
· gtk.main_quit()
if __name__ == '__main__': bind(keystr, callback, "Keystring %s (user data)" % keystr)
· keystr = "<Ctrl><Alt>c"
· keybinder.
· print "Press", keystr, "to handle keybinding and quit"
· gtk.main()
But it gives error as,
> python /tmp/sample.py
** (sample.py:23790): WARNING **: 16:50:45.250: Binding '<Ctrl><Alt>c' failed!
And it does not register the keycombination.
But the same code works fine in budgie-desktop and registers the key combinations fine. Must be only gnome-flashback issue.