On Tue, 2007-09-04 at 21:40 -0400, Jerry Geis wrote:
When the you select an X11 virtual screen (1 of 4) with the mouse on default centos 5 what command gets executed to show screen 1, screen 2 etc...
Basically, I want to have a command or know the command to execute to show the desired virtual X11 screen.
I'm not knowledgeable about this specific topic, but the last X question I saw got no response for over a week, so I thought I would jump in. That resulted in an immediate response by one who seems knowledgeable. Som *my* level of knowledge is not significant in that scenario and may have value as an irritant. :-)
Regardless, it may be that question is so X-centric and CentOS-remote that few want to pursue it. Other lists/resources may be best.
Anyway, so, ...
It would surprise me if a "command to execute" exists. *Usually* these sort of things are internal responses to external asynchronous events by the software that manages these resources. E.g., my mouse transitions from an active pane in X and enters a new one. Focus shifts from the one being exited to the one being entered. Double-click the title bar and the application's pane is "rolled up" or "unrolled", etc.
For the specific task you mention, IIUC what you are asking, a <CTL>- <ALT>-<RIGHT|LEFT> is an event that also causes the switch to another screen. <CTL>-<ALT>-<TAB> rotates among desktop and panel focus, and <SHIFT>-<TAB> rotates focus through apps in a virtual desktop. IIUC, none of these things cause the loading or execution of some external program or command that can be invoked in a stand-alone mode.
Given all that, if it is valid, your task would be to write a small app for X that provides an "event" to which the existing management software would respond. I hear that qt makes this easy... LOL! I'm guessing that you want some automated way to cycle through screens? Maybe that already exists and is locatable in google-land?
Thanks,
Jerry
<snip sig stuff>
HTH -- Bill