Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-22-2005, 09:58 AM   #1
Registered: Jun 2002
Posts: 302

Rep: Reputation: 31
Simulating Alt-Tab in a VNC session

I was wondering how I can simulate an Alt-Tab sequence in a vnc session. Pressing alt-tab if you have vnc open using vncviewer gets interpretted by the outside window manager and doesn't get to the vnc session. Any ideas? Thanks for your time.
Old 12-23-2005, 10:08 PM   #2
Registered: Jun 2004
Location: Aurora, IL
Distribution: Slackware Current
Posts: 162

Rep: Reputation: 30
That is an interesting problem you are having. I've never had any command in VNC interupted. What window manager are you using?


My stupidity in my last comment:
I used to use vncviewer on windows and there are no interuptions there but on linux vncviewer we do have that problem. I'm sorry I can't answer your question but maybe me reposting will bring this thread to life and someone out there can answer it. So how do you simulate Alt+Tab in vncviewer (linux edition)?

Last edited by nymusicman; 02-11-2007 at 02:14 PM.
Old 09-23-2010, 05:53 AM   #3
LQ Newbie
Registered: Jul 2010
Posts: 2

Rep: Reputation: 0
Would be useful to figure out whether the behaviour is due to the local window manager or the vncviewer itself.

I could not find a solution to this yet. But a simple work-around is to assign a new keybord shortcut on the remote system.

For example, "Alt-Q" is reasonably close to "Alt-Tab" and is forwarded without problems (I have KDE on both the local and remote system).
Old 09-23-2010, 05:56 AM   #4
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
Please don't resurrect a 5 year old thread. You could create a new thread if you want on the same subject.
Old 03-09-2011, 04:15 PM   #5
LQ Newbie
Registered: Mar 2011
Posts: 1

Rep: Reputation: 0
I had the same problem and found a solution. It may not be rigid, but it works and can be tweaked to be tighter if needed. One thing I noticed is that if I use full screen mode and then use F8 to choose "Full screen" to exit full screen mode, the window seems to disappear. I then have to open my vncviewer again. So for now, I'm just not using full screen mode for my viewer.

1. Open Control Center
2. Choose "Desktop->Window-Specific Settings" from the left-hand panel.
3. Click the "New..." button from the left-hand panel.
4. Set the "Description" to what you like (I used "vncviewer").
5. Under "Window class", change the "Unimportant" dropdown to "Substring Match".
5. Now the text field above becomes modifiable. Enter the text "vncviewer".
6. Click on the "Workarounds" tab.
7. Check the "Block global shortcuts" box. Set the dropdown to "Force", and check the box to the right. Admittedly, I don't know what that last checkbox is for, but if I don't check it, the workaround doesn't work.

I'd be curious to know if this helped you, so let me know!



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Alt - Tab in gnome nobby_trussin Linux - Software 4 08-22-2010 10:38 AM
FC 4. Modify ALT+TAB behaviour to CTRL+TAB xtracto Linux - Software 1 09-22-2005 03:06 PM
Switching window focus (like alt+tab in windows) and Ctrl+Alt+F1 X windows problem... DiZASTiX Linux - Software 3 01-20-2005 05:56 PM
how to Alt + Tab? Moebius Linux - Games 2 08-30-2004 08:08 PM
Alt-Tab and Alt-F4 in Fluxbox? tavilach Linux - Software 2 07-17-2004 05:03 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration