[CentOS] question on virtual desktops

Kwan Lowe kwan.lowe at gmail.com
Thu Jan 28 15:06:12 UTC 2010


On Thu, Jan 28, 2010 at 9:54 AM, Jerry Geis <geisj at pagestation.com> wrote:
> centos has the 4 virtual desktops by default.
> if I have a terminal window open in desktop 1
> is there a command I can execute (type in) to switch to desktop 2?
>
> The mouse will not be attached at this point and I want to switch views
> using a command line. How do I do that?

Two approaches:
Use the shortcut key for your WM. For example, CTL-ALT-Left or CTL-ALT-Right..

Or

Install the wmctrl package from rpmforge and do:
wmctrl -s 1
wmctrl -s 2

That's if you want to do it from a script..


More information about the CentOS mailing list