Solved

what is keyboard shortcut for switching between shell tabs?

Posted on 2006-10-20
10
281 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
 

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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
bad ownership or modes for chroot directory 6 66
BASH script to modify crontab? 3 50
AWS CLI issues with Tags 3 64
gdb doesn't stop on breakpoint 2 50
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now