Solved

what is keyboard shortcut for switching between shell tabs?

Posted on 2006-10-20
10
283 Views
Last Modified: 2012-06-21
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?
0
Comment
Question by:rark
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 17778252
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.
0
 

Expert Comment

by:ryanakca
ID: 17780338
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.
0
 

Author Comment

by:rark
ID: 17783932
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)?
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

Author Comment

by:rark
ID: 17783941
Sorry.  Forget to add I'm using Suse Linux 10, and KDE.
(konqueror)

How do I know if I have FVWM?
0
 

Author Comment

by:rark
ID: 17784009
I don't know how VT operates, and how to check whether I have it.

0
 

Accepted Solution

by:
ryanakca earned 200 total points
ID: 17784754
All linux systems have VT (Virtual Terminal). FVWM is the (or one of) the original window managers/desktop environments, existing since 1993 but it is often considered a thing of the past now that KDE, GNOME and XFCE (based on fvwm) have come around. It is often used on older machines with less memory...
If you wish to use it, you can compile from source: http://www.fvwm.org/
or bug your Distro for a package,
Or just stick with KDE :)

Onto your original question:   To change tabs in konsole, go Shift-Arrow(left/right).
0
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 17785431
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.
0
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 17785448
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?
0
 
LVL 14

Expert Comment

by:ygoutham
ID: 17788293
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
0
 

Author Comment

by:rark
ID: 17791383
thanks everyone.

shift plus right arrow worked!

thank you!
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question