How to include Mate custom keybinding in application package?

Hello,
I am packaging an application for visually impaired and I would like to have a keybinding packaged with that as well, so that the app can be easily launched. Any idea how to do that?
I thought I would package a gsettings override, something like

```
[org/mate/desktop/keybindings/custom0]
action='lios'
binding='<Alt><Mod4>l'
name='Linux Intelligent OCR Software'
```

But what if there is already "custom0" keybinding defined?

Thank you.
1 Like

IMHO, to solve the task correctly, an installation package must include a script to verify possible keybindings conflicts, to preserve already existing customizations, etc.

Then you need to create "custom1" or edit "custom0", rather than replace it.
It looks like the following link might be of interest

2 Likes

Hi, @hamster and welcome to the Ubuntu MATE Community!