Strange shortcuts

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon
Post Reply
mlotz
Level 1
Level 1
Posts: 3
Joined: Tue Jun 18, 2019 10:20 am

Strange shortcuts

Post by mlotz » Tue Jun 18, 2019 4:01 pm

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?

User avatar
smurphos
Level 13
Level 13
Posts: 4611
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: Strange shortcuts

Post by smurphos » Thu Jun 20, 2019 2:01 am

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)
        );
    }
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.

mlotz
Level 1
Level 1
Posts: 3
Joined: Tue Jun 18, 2019 10:20 am

Re: Strange shortcuts

Post by mlotz » Thu Jun 20, 2019 9:20 am

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.

Post Reply

Return to “Cinnamon”