0

I know 2 ways that a user can change Shortcuts in Ubuntu.

  • Settings | keyboard Shortcuts | ...
  • dconf Editor

But sometimes, it's not that easy to find out what a shortcut is or how to change it.

My current example:

Ctrl+Alt+S: this changes the size of the active window, but how to change it?

I was often struggling in such situations. Therefore, I hope someone could give me an idea, how to find out where a shortcut is set.

Update I guess, a gap still open in the answer. I m searching for a shortcut

gsettings list-recursively  | grep '>T'

This must list all shortcuts with the 'T', but i think it does not.

When I try to set a combination Ctrl+Alt+SHIFT+T in a tool for a shortcut, the tool does not receive the combinations.

I tried a shortcut that is already reserved like Ctrl+Alt+T - open a Terminal. The tool does not receive the combinations at all. The same happens with Ctrl+Alt+SHIFT+T

So, my original question looks like still open, how can i find all combinations?

Thanks for help.

0

1 Answer 1

2

You can try gsettings list-recursively.
That should list your application settings, same as seen in dconf.

Maybe try grep a pattern like the key combination grep '<Alt><Control>s'.
The key order is not that consistent and you might need try some more variant or less strict pattern like grep '>s'.

I don't have Ctrl+Alt+S on my machine but here is a similar example when grep for '>u' on my machine.

gsettings list-recursively | grep '>u'
org.freedesktop.ibus.panel.emoji unicode-hotkey ['<Control><Shift>u']

Then I can check this path org.freedesktop.ibus.panel.emoji in dconf-edidor.

2
  • Thank you for your answer.
    – Sako
    Sep 13, 2020 at 12:33
  • To jump on this answer: It's super annoying that the keyboard shortcuts in gnome settings doesn't list all the settings so that you can manually disable or change certain specific values. When you've found the correct org.gnome.desktop.wm.keybindings or whatever it is you're looking for, you can set the value with e.g., gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-up "['<Super><Alt>Up']" . In my case, I like multi-cursor in Rstudio, and gnome settings doesn't list "switch to workspace up" (or down), which would be fine if it didn't also pinch the shortcut for itself. Oct 9, 2023 at 13:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .