You can probably focus the matlab window with the following command:
- Code: Select all
wmctrl -a Matlab
At least that works for me with firefox. To bind it to a keyboard shortcut, go to menu -> keyboard -> shortcut. Then add a shortcut for the above command. Tell me if it works.
It worked in the terminal
However for some reason I cant make the keyboard shortcut, not for anything, so as soon as I fugure out how to make shortcuts Im sure it'll work
no idea why I cant create keyboard shortcuts
thanks for your help