Not able to bind key combination in gnome-flashback

Bug #1773350 reported by Rahul Ghanate
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu GNOME Flashback
Expired
Undecided
Unassigned

Bug Description

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 am using ubuntu 18.04.

Rahul Ghanate (rahuldg)
description: updated
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Pygtk is deprecated and has not been updated for >7 years now.

Can you provide a test case that uses supported technologies? See https://python-gtk-3-tutorial.readthedocs.io/en/latest/ for example.

Changed in ubuntu-gnome-flashback:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Ubuntu GNOME Flashback because there has been no activity for 60 days.]

Changed in ubuntu-gnome-flashback:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.