Strange shortcuts

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
mlotz

Strange shortcuts

Post 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?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
smurphos
Level 18
Level 18
Posts: 8498
Joined: Fri Sep 05, 2014 12:18 am
Location: Irish Brit in Portugal
Contact:

Re: Strange shortcuts

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

Re: Strange shortcuts

Post 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.
Locked

Return to “Cinnamon”