Patch to implement keyboard activation

Bug #1656612 reported by Todd Eigenschink
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ClassicMenu Indicator
Fix Released
Undecided
Florian Diesch

Bug Description

I saw several requests to activate the menu via keyboard. I'm pretty new to Ubuntu and wanted the same thing. Despite Python and DBus being disasters, I got something working.

The patch to cmindicator.py exposes a method via DBus, and then the external script (which you can bind to a key via your favorite method) calls the method via DBus, popping up the menu at the current cursor position.

For my purposes, that's perfect, but it would probably make more sense to open the indicator's menu as if you had clicked on it. I couldn't figure out how to do that.

It's be no means elegant, but it does the job.

Revision history for this message
Todd Eigenschink (eigenstr) wrote :
Revision history for this message
Florian Diesch (diesch) wrote :

Thank you very much! This will be in v0.11 :-)

Changed in classicmenu-indicator:
status: New → Fix Committed
assignee: nobody → Florian Diesch (diesch)
Revision history for this message
Todd Eigenschink (eigenstr) wrote :

I finally updated to 0.11, and the --show-menu option doesn't work for me. If I run dbus-monitor I see the OpenMenu call being sent and some sort of response come back, but the menu doesn't pop open.

I'm running Ubuntu 17.10; I don't know if that has anything to do with it. I won't be at a 17.04 machine for a few days, to try it there.

For what it might be worth, I'm attaching the dbus-monitor output.

Florian Diesch (diesch)
Changed in classicmenu-indicator:
status: Fix Committed → Fix Released
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.