Page 1 of 1

Strange shortcuts

Posted: Tue Jun 18, 2019 4:01 pm
by mlotz
I wanted to define shortcuts
Switch to workspace 1 --> Super-1
...
Switch to workspace 8 --> Super 8

This doesn't work for all. For example, if I enter Super-2 then thunderbird gets started, or Super-3 and a terminal gets started.

Any idea, where Super-2 is defined?

Re: Strange shortcuts

Posted: Thu Jun 20, 2019 2:01 am
by smurphos
They appear to be hardcoded Grouped Window List shortcuts....

https://github.com/linuxmint/cinnamon/b ... /applet.js

Code: Select all

bindAppKey(i) {
        Main.keybindingManager.addHotKey('launch-app-key-' + i, '<Super>' + i, () => this.onAppKeyPress(i));
        Main.keybindingManager.addHotKey('launch-new-app-key-' + i, '<Super><Shift>' + i, () =>
            this.onNewAppKeyPress(i)
        );
    }

Re: Strange shortcuts

Posted: Thu Jun 20, 2019 9:20 am
by mlotz
Thanks a lot, that helped.

I looked at the source and when I remove the applet Grouped window list I get rid of those unwanted shortcuts.