I'm trying to setup a few keyboard shortcuts that will let me ALT+TAB in to specific applications. I know I can use the command wmctrl -a "- Google Chrome" to do the actual switching, but I'm having trouble wiring it up to a keyboard shortcut.
The obvious option would be the "Command" section of the CompizConfig Settings ... only that doesn't work. No matter what keyboard shortcut I set, when I press it nothing happens (it doesn't invoke the specified command).
So, I'm either looking for:
A) an alternate way to specify a global keyboard shortcut (In Linux Mint MATE)
B) a way to debug/fix my CompizConfig Settings so that my Commands actually work.
Any help with either would be appreciated.
1 Answer 1
In MATE:
- Go to: Menu> Preferences> Keyboard Shortcuts
- Click Add (at the bottom of the window)
- Enter a name (like "Switch to Chrome")
- Enter the command exactly like you had it (wmctrl -a "- Google Chrome")
- Click Apply
- Click the "Disabled" text to the right of the newly created custom shortcut
- Enter the desired keyboard shortcut
In Cinnamon:
- Go to: Menu> Preferences> Keyboard> Shortcuts> Custom Shortcuts
- Click Add custom shortcut (at the bottom of the window)
- Enter a name (like "Switch to Chrome")
- Enter the command exactly like you had it (wmctrl -a "- Google Chrome")
- Click Add
- Double-click one of the unassigned keyboard bindings
- Enter the keyboard shortcut
-
Perfect, except under MATE you can find "Keyboard Shortcuts" under
Menu > Preferences > Keyboard Shortcuts. From there (ie. from step #2 above onward) everything works great. Thanks!machineghost– machineghost2016年08月29日 23:45:10 +00:00Commented Aug 29, 2016 at 23:45 -
1Thanks for the feedback. I updated the post to include both MATE and Cinnamon instructions.James Nuanez– James Nuanez2016年08月30日 00:17:36 +00:00Commented Aug 30, 2016 at 0:17
You must log in to answer this question.
Explore related questions
See similar questions with these tags.