Switch workspace

wmctrl -o 100,0
For a demo try wmctrl -o 100,0; sleep 3; wmctrl -o 1500,0; sleep 3; wmctrl -o 3000,0; sleep 3; wmctrl -o 4500,0; Actually wmctrl -o <width x Number>,0; to switch to that workspace

By: totti
2012-01-19 14:36:20

What Others Think

I don't have 100, 1500, 3000, or 4500 workspaces!
Fudo · 540 weeks ago
Width in pixel. Eg: 1-> 1366 [from 1366x768 ] 2-> 2732 and so on upto N work space.
totti · 539 weeks and 6 days ago
Isn't "workspace" the Gnome name for "desktop"? I'm a KDE guy but I have four desktops configured and each one has its own windows open. If I click on another desktop (on my taskbar) those windows go away and the windows on the new desktop appear. If that's the same as workspaces, can't you just use the -s parameter on wmctrl and avoid multiplying by the screen width? If not, what's a workspace?
splante · 536 weeks and 6 days ago
I do like the wmctrl command though. I didn't have it installed and wasn't aware of it. Now I do and am. Thanks.
splante · 536 weeks and 6 days ago
Online journals all through the world are being utilized for altogether surprising reasons, from interfacing with the others to increasing some cash. You can visit www.copyrightchecker.net to read more details. Writing for a blog from now on has become an important establishment of business, data, and social correspondence.
anonymous00 · 82 weeks and 1 day ago
Most of the energetic individuals have made a cutoff among religion and themselves. Once visit DuplicateChecker.net for further ideas. This thing is pulverizing the adjustment of our overall population.
anonymous00 · 82 weeks and 1 day ago
Those individuals who are using the previous type of this update, are defying this issue. Click http://www.prepositionchecker.com/">http://www.prepositionchecker.com/ to read wonderful ideas. They should get the latest update.
anonymous00 · 82 weeks and 1 day ago
The most phenomenal thing in the whole web recording is the presence of Waking Me Softly. Check this homepage for more knowledge. Looking at this tune in this time length has filled my heart with fulfillment.
Ahmed74 · 78 weeks and 3 days ago
Displaying energy for what you study and having protests can help in keeping you empowered. Visit https://www.sentencecorrector.biz/ to read more ideas. Also, these properties will help you in performing marvelously in your enlightening errands.
Ahmed74 · 78 weeks and 3 days ago
Missouri is a state in the Midwestern United States. With over six million residents, it is the 18th-most populous state of the Union. While MaxRemind top rank medical billing company of USA offers Medical Billing Services in Missouri, we also offer medical credentialing services in Missouri.
stevematt · 70 weeks and 1 day ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: