PDA

View Full Version : Switch Programs with Super+Number Keys?


CTenorman
November 18th, 2010, 12:57 PM
Hi,

I'm loving the flexibility of Ubuntu! However, I'd really like to be able to switch programs without using the mouse, as I'm not very fast with it on my laptop.

Windows 7 has a feature that you can type "super"+"1-9" to select the program in that position on the task bar. Ex, if Gmail web app was the 3rd program on the taskbar, pressing "super"+"3" would make Gmail the active program.

Can anything like this be setup on Ubuntu?

Thanks!

viralmeme
November 18th, 2010, 01:44 PM
Windows 7 has a feature that you can type "super"+"1-9"

<ALT> + <TAB> does the same thing here, the same key combination as Windows ..

CTenorman
November 18th, 2010, 05:55 PM
That's true, but I was looking for something I could use to instantly switch between programs. For example, if my calendar program is always teh 4th program on my task bar, I could open it and tile it next to my gmail in about half a second versus waiting for the graphical switcher to come up, visually searching for what I want, and tabbing over an appropriate number of times. Once you get used to it, the windows 7 way is quite a bit faster in some cases. For that anyway, in virtually everything else I love Ubuntu.

Frogs Hair
January 8th, 2011, 09:33 PM
Try system > preferences > keyboard shortcuts , you can add custom shortcuts.

lefnire
February 9th, 2011, 10:18 PM
I agree that the win+num shortcut in Windows 7 is a boon. Would also like to see those keyboard shortcuts available in Ubuntu in some capacity.

In the meantime, I'm using a round-about setup.
1) Install DocBarX to get the Windows icon-style taskbar
2) Pin a few common apps to the taskbar with DocBarX
3) Install xdotool
4) Create some standard Ubuntu keyboard shortcuts that run xdotool (ie, xdotool search "Chrome" windowactivate) and map those to Mod4+1, Mod4+2, etc.