You are not logged in.

#1 2010-11-03 16:37:50

mikej_96
Member
Registered: 2010-03-19
Posts: 37

[Solved] Keyboard shortcut to focus second X Session ?

Hello,

Does anyone know if there is an X keyboard shortcut that can bring focus to a second X session. I have a multiple monitor setup where I run multiple X sessions. (only way it worked for me).  Rather than having to move the mouse between the two X sessions to be able to Alt+tab to windows, I was wondering if there was a keyboard shortcut for doing this.

Or, maybe there is a way to set up a keyboard shortcut, by calling an X11 routine or something....

Thoughts?

Last edited by mikej_96 (2010-11-04 21:33:33)

Offline

#2 2010-11-03 16:38:39

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,538

Re: [Solved] Keyboard shortcut to focus second X Session ?

I'm not sure if this will work to switch between different X session

man chvt

Last edited by skunktrader (2010-11-03 16:40:04)

Offline

#3 2010-11-03 16:44:39

mikej_96
Member
Registered: 2010-03-19
Posts: 37

Re: [Solved] Keyboard shortcut to focus second X Session ?

I guess I should clarify, I am running both X sessions on the tty7.  chvt will not work.  I am looking for a way to switch between Display 0 and Display 1. (without using the mouse the move beteen the two..).

Sorry for being unclear.

Offline

#4 2010-11-03 17:05:52

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: [Solved] Keyboard shortcut to focus second X Session ?

Google for mouse-switchscreen and mouse-wrapscreen. I used to use them before I decided to use Twinview.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#5 2010-11-03 19:20:56

mikej_96
Member
Registered: 2010-03-19
Posts: 37

Re: [Solved] Keyboard shortcut to focus second X Session ?

That looks like it will work. Googleing lead me to this forum post:

http://ubuntuforums.org/showthread.php?t=1176743

I will try it out when I get a chance.

Offline

#6 2010-11-04 22:00:56

mikej_96
Member
Registered: 2010-03-19
Posts: 37

Re: [Solved] Keyboard shortcut to focus second X Session ?

ngoonee, that was exactly what I was looking for. It works great!

Thanks!

Offline

Board footer

Powered by FluxBB