GNOME Bugzilla – Bug 149495
keyboard bindings
Last modified: 2020-11-07 12:25:44 UTC
Stickynotes applet is really lacking keyboard binding. Specially for show/hide sticky notes, there should be a keyboard binding so that you can brind the sticky window on top and use the information in window. Without decent keyboard binding, you have to leave keyboard and use mouse, which really decreases the usability of desktop.
*** Bug 151522 has been marked as a duplicate of this bug. ***
Someone want to do up some keyboard bindings then?
Should keyboard bindings be global to the desktop? or just when you have stickynotes focused?
Show/Hide should definately be global. I don't think any other(if any) keybinding should be global.
The problem here is that stickynotes is just an application so providing global (i.e. metacity) keybindings is not a solution. Application can't and should not add global keybindings. All global keybindings are handled in the sources of metacity. But how I see solution of that problem - local keybindings in stickynotes + command line option to stickynotes applet, so you can manually add them to global key commands in gconf.
EggAccelerators should give us the ability to add global keybindings from memory. A command to add stickynotes from the commandline would involve a bit of work (from the current source base), but is possibly doable.
To manage applet from keyboard just bind the commands gconftool-2 /apps/stickynotes_applet/settings/visible -s -t bool true gconftool-2 /apps/stickynotes_applet/settings/visible -s -t bool false to keys you want in metacity settings with gconf. You need to modify keys /apps/metacity/global_keybindings/run_command_<n> /apps/metacity/keybinding_command/command_<n> After that all should work fine.
From Comment from NIkolav I tried to put that into one-liner so that It'll toggle the status and that's it: gconftool-2 /apps/stickynotes_applet/settings/visible -t bool -s $(echo -e "true\nfalse" | grep -v $(gconftool-2 --get /apps/stickynotes_applet/settings/visible)) However, I couldn't make it work that line in metacity command, I had to put it into a bash file to get it worked. But just wanted to add it in here for those maybe like to do it as toggle key.
*** Bug 164949 has been marked as a duplicate of this bug. ***
*** Bug 455847 has been marked as a duplicate of this bug. ***
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old feature requests in Bugzilla which have not seen updates for many years. If you still use gnome-applets and if you are still requesting this feature in a currently supported version of GNOME (currently that would be 3.38), then please feel free to report it at https://gitlab.gnome.org/GNOME/gnome-applets/-/issues/ Thank you for reporting this issue and we are sorry it could not be implemented.