Link to home
Start Free TrialLog in
Avatar of rark
rark

asked on

what is keyboard shortcut for switching between shell tabs?

I keep 4 to 7 tabs open for the command line because I'm connecting to various servers.  I have to use the mouse to switch between tabs.  is there a keyboard shortcut?
Avatar of Duncan Roe
Duncan Roe
Flag of Australia image

This depends very much on your window manager. It may well be possible to configure if you have FVWM for instance.
In general, window managers will let you configure "focus follows mouse" which means you only have to move the pointer over the wanted window and not actually have to click it.
Avatar of ryanakca
ryanakca

If you don't mind, you could also use VT(1-7) as terminals, instead of using a graphical console... You can access these by going Ctrl-Alt-F(1-7), and your X session will most likely be Ctrl-Alt-F7 or Ctrl-Alt-F8.
I know of no such option for switching tabs with keyboard in Konsole, but feel free to file it as a wishlist on bugs.kde.org or at your distro's bug manager.
Avatar of rark

ASKER

Thank you both.  I don't understand the answers, so something less technical would be helpful.

Should I take your answers to mean there is no keyboard shortcut installed by default (i.e. ctrl+page down)?
Avatar of rark

ASKER

Sorry.  Forget to add I'm using Suse Linux 10, and KDE.
(konqueror)

How do I know if I have FVWM?
Avatar of rark

ASKER

I don't know how VT operates, and how to check whether I have it.

ASKER CERTIFIED SOLUTION
Avatar of ryanakca
ryanakca

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ryanakca, I would not be pensioning off FVWM just yet. XFCE does look interesting though.
rark, I really think perhaps you just need the feature called "Focus follows mouse".  What do you have to do at the moment to switch to a terminal window? (is that what you meant by "tab"?)
I'm guessing that you need to move the mouse to the wanted window then click it - is that the case?
With "Focus follows mouse" you would just move the mouse over the window. Another feature you can configure is "Raise on Focus" which means that the window stops having anything obscuring bits of it.
These should be available to you as window manager (i.e. desktop) settings. How you get to the settings menu depends on what desktop you have. Look for a spanner icon. Failing that, try a right click in a background area (somewhere where there are no windows). Or type "ps ax" in a tab and post the output. Once we know what desktop you have, some expert or other will know how to adjust it the way you want.
Oh you are using KDE. Does Shift-Arrow (ryanakca's solution) do everything you want? You might like focus Follows Mouse anyway, but I don't know KDE very well - ryanakca?
in gnome you can always use ALT+1, ALT+2 and so on for various terminal tabs that you have within the gnome-terminal screen.

goutham
Avatar of rark

ASKER

thanks everyone.

shift plus right arrow worked!

thank you!