0

I am using Linux Mint 21 Cinnamon.

I am aware of the GUI way of adding a keyboard shortcut. Just open the "Keyboard" application and click the "Shortcuts" tab etc. Easy peasy.

But I am trying to create a "quick setup" script that I can run to configure the DE the way I like it. I don't understand how I can programmatically add a keyboard shortcut?

Let's say I have this executable: ~/.bin/foobar. How can I configure CTRL+ALT+t to execute it, without using the GUI?

2
  • 1
    It's not as easy as cinnamon uses binary files: see here - you can try the dump & load apporach (I have not tested it). Other DEs like XFCE use XML-type config files. Generally keyboard shortcuts and where to find them is quite a mess IMHO.
    – FelixJN
    Aug 5, 2022 at 9:52
  • That's a shame. But thanks for the info.
    – birgersp
    Aug 5, 2022 at 9:59

0

You must log in to answer this question.

Browse other questions tagged .