I am using the Ubuntu document viever Evince. Lately, I found out how to add custom keyboard shortcuts for the program. I was searching for a way to add a shortcut e.g. for View / Best fit (also available as a button). What I found was the Keyboard shortcut page which describes how to setup shortcuts using gconf-editor. That worked as described. However, once I restart my system the shortcuts are gone. How can I set them permanently?
Asked
Active
Viewed 6,113 times
2 Answers
8
For Ubuntu 12.04 and up:
Use dconf-editor instead of gconf-editor:
sudo apt-get install dconf-tools
Then set the key /org/gnome/desktop/interface/can-change-accels to true.
Setting shortcuts when using global menu:
- Open evince (or any app) with
UBUNTU_MENUPROXY=0 evince - Browse menus, hover an entry, type your shortcut
David Foerster
- 36,264
- 56
- 94
- 147
user55822
- 3,125
- 1
- 17
- 13
2
This question is identical to another one, where I suggested a way to edit the config file to alter the keys: https://askubuntu.com/a/899956/495717
pauljohn32
- 3,743
UBUNTU_MENUPROXY=0 evincefrom the command line to set the shortcuts helped. One should add this to the tutorial I started with. Thank you, user55822! – JJD May 13 '12 at 15:48next page=Ctrl+PgDown? :( – Ciprian Tomoiagă May 13 '16 at 12:24dconfnorgconfare working for me on Trusty Tahr (14.04). Any suggestions? Thanks! – loved.by.Jesus May 30 '16 at 11:20