Global key/shortcut for Delete and Next features

Asked by Adrian Skar

I'd like to be able to use the function "Delete to Trash" using a custom global hotkey/shortcut (i.e: Ctrl + Alt + Home).
I don't know if it is possible but I think Global Hotkeys is one of those features that make apps even more awesome.
Thank you!

Question information

Language:
English Edit question
Status:
Solved
For:
Variety Edit question
Assignee:
No assignee Edit question
Solved by:
Peter Levi
Solved:
Last query:
Last reply:
Revision history for this message
Best Peter Levi (peterlevi) said :
#1

Run /opt/extras.ubuntu.com/variety/bin/variety --help.
Use your global keyboard configuration to define shortcuts for any of the available commands.

Revision history for this message
Adrian Skar (cylonskar) said :
#2

Great, thank you!

For those using Ubuntu 14.04 and Gnome this might help when using the Delete to Trash function (on an existing custom entry):

gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/ name "Trash Variety"

gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/ command "/opt/extras.ubuntu.com/variety/bin/variety -t"

gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/ binding "<Control><Alt>End"

Revision history for this message
Adrian Skar (cylonskar) said :
#3

Thanks Peter Levi, that solved my question.