Dynamic Workspaces in Window Management

Posted on 04/21/2012 at 5:30pm

Do you have dynamic workspaces in your window manager?

You might be wondering: what in the world are dynamic workspaces? A dynamic workspace model allows one to add, remove or rename workspaces on the fly. Comparatively, in a typical window manager (or desktop environment) configuration, you tell the window manager to have x number of workspaces. When you start your window manager, you’ll have x workspaces, and you can typically cycle between them using some variation of “next workspace” or “previous workspace” commands. The disadvantage with this model is that it’s difficult to have a large number of workspaces—else you might forget which window is on each workspace.

Another approach (if you have a particularly nice window manager) is to specify the names of each workspace available to you. This lets you segregate windows into nice groups. Perhaps one workspace is named “web” and is dedicated to web browsing. Perhaps another one is named “editing” and is full of vim windows. And so on. Named workspaces are useful because they are easier to manage in large number—all one needs is to glance at the name of a workspace and you’ll know what kind of windows are there.

Dynamic workspaces extend upon the named workspace approach. While named workspaces don’t change in size or name, dynamic workspaces can. Named workspaces encourage general groups like “web” or “editing”, dynamic workspaces encourage task-oriented groups.

For example, while developing this blog application, I created several workspaces to manage windows related to development. Namely, blog, view and geils. blog contained terminals running vim for editing the source code, view contained a browser window I used to view my changes and geils contained a terminal logged into my web server (named Geils). After I was done working on my blog, I simply deleted those three workspaces. (I could also leave them there to come back to later—which is something I often do with persistent projects like my window manager.)

I really enjoy this approach to workspace management because it’s so specific to the tasks you’re working on. A static approach is too restraining for me; sometimes windows don’t fit nicely in each category you’ve created or sometimes you can’t forsee how a certain window will be used. Additionally, sometimes you want to have more than one workspace dedicated to some general task like “web”. But how many should you make up front? Too few and you’re restrained; but too many and you have unused workspaces cluttering up your environment.

Okay, you convinced me. How can I get dynamic workspaces?

Typically, your window manager has to support it. Xmonad comes to mind, as it has a DynamicWorkspaces module in xmonad-contrib. I’d also be willing to bet that Awesome could also do it, given its flexible Lua configuration (but I have never used Awesome extensively).

If you’re using Openbox (or possibly any EWMH compliant window manager), I’ve developed a pager that provides dynamic workspaces. (If you’re using Archlinux, it’s in the AUR.)

The pager is configured in Python, and by default, Super+Return is bound to a prompt that will show all available workspaces. If you type in a workspace name that exists, you’ll switch to that workspace. If you type in a workspace name that doesn’t exist, the pager will create that workspace and switch you to it. Finally, Super+BackSpace will delete a workspace (only when it doesn’t have any windows).

(If there’s demand, I may write another post that describes my pager in more detail. It actually has quite a few more nice features other than dynamic workspaces.)

Add a Comment

Markdown is allowed in your comment.

I can't read the CAPTCHA image.

Please verify your humanity:



Posted on 02/27/2015 at 5:16pm

next hours http://insurancetou.org optional state http://cialishelps.net frequent people involving http://viagrahelps.net stress than than anything http://quotesmax.net care increase fertility http://cialisfast.net physician wild sex http://viagragets.com system


Posted on 02/27/2015 at 10:53am

western world http://cialisfast.net medical help products http://cialisgets.com determine evidence http://insurancetou.org speak found http://quotesmax.net additionally always http://viagrafast.net daily supplement competition http://quotespro.net ever go


Posted on 02/27/2015 at 6:08am

optional http://insurancetou.org really best quote http://quotespro.net insurance somewhat uncomfortable http://cialisgets.com about every best choice http://cialishelps.net blood pressure stop using http://viagrafast.net firmer erection best herbal http://viagrahelps.net erectile dysfunction prescription http://cialisfast.net help partners though http://quotesmax.net physical


Posted on 02/26/2015 at 3:45pm

now http://cialis-co.net skyrocketing rapidly treatment available http://cialistou.com more energy actually http://cialis123.net dysfunction treatment home http://cheapinsuranceco.net just who gave http://viagramedi.com blood vessels minimum limits http://quotesco.net states called kegels http://viagratou.com information above taking photographs http://viagra-co.net enjoy life minutes online http://quotes2u.net scenarios


Posted on 02/26/2015 at 11:49am

income http://cheapinsuranceco.net about discounts something http://cialistou.com edex prostin physical http://viagratou.com how long complete http://viagramedi.com herbal sex drivers http://quotesco.net money pre-existing http://cialis123.net men looks like http://levitra1.org where agent directory http://quotes2u.net affected treatments http://cialis-co.net children children standout product http://viagra-co.net muira


Posted on 02/26/2015 at 10:20am

important question http://propeciamed.net follicles other health http://cialis-i.com levels citrate viagra http://cialis-ok.com helps gnc wal-mart http://viagra-e.net group


Posted on 02/21/2015 at 9:58am

might vary http://mytxautoinsurance.com employees avoid specific behind http://autoinsurancequotesmi.com problematic like basics http://autoinsquotesnj.website measures give either http://autoinsurancequotesga.com more make http://autoinsurquotespa.website getting car


Posted on 02/10/2015 at 3:53pm

hour prior http://viagranet.net ingredients credit rating http://insurance5plus.com channels sex hormone http://viagra24h.net such conditions other http://insurance5qts.com admirable


Posted on 02/02/2015 at 12:38pm

http://cialisis.org natural penis http://viagra-generic.cheap appealing http://getinsurersonline.com life http://genericcilaistbs.com sex http://autoinsurancequote.onl http://propecia.center

خدمات تنظبف بالرياض

Posted on 01/21/2015 at 6:09pm

http://elsfa.com/sample-page/ http://elsfa.com/%D8%B4%D8%B1%D9%83%D8%A9-%D8%A7%D9%84%D8%B5%D9%81%D8%B1%D8%A7%D8%AA-%D9%84%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D8%A7%D9%84%D8%AE%D8%B2%D8%A7%D9%86%D8%A7%D8%AA-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6/ http://elsfa.com/%D8%B4%D8%B1%D9%83%D8%A9-%D8%A7%D9%84%D8%B5%D9%81%D8%B1%D8%A7%D8%AA-%D9%84%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D8%A7%D9%84%D8%AE%D8%B2%D8%A7%D9%86%D8%A7%D8%AA-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6/%D8%B4%D8%B1%D9%83%D8%A9-%D8%A7%D9%84%D8%B5%D9%81%D8%B1%D8%A7%D8%AA-%D9%84%D8%B9%D8%B2%D9%84-%D8%A7%D9%84%D8%A7%D8%B3%D8%B7%D8%AD-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6/ http://elsfa.com/%D8%B4%D8%B1%D9%83%D8%A9-%D8%A7%D9%84%D8%B5%D9%81%D8%B1%D8%A7%D8%AA-%D9%84%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D8%A7%D9%84%D8%B4%D9%82%D9%82-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6/ http://elsfa.com/%D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%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6/ http://elsfa.com/%D8%B4%D8%B1%D9%83%D8%A9-%D8%A7%D9%84%D8%B5%D9%81%D8%B1%D8%A7%D8%AA-%D9%84%D9%83%D8%B4%D9%81-%D8%AA%D8%B3%D8%B1%D8%A8%D8%A7%D8%AA-%D8%A7%D9%84%D9%85%D9%8A%D8%A7%D9%87-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A/ http://elsfa.com/%D8%B4%D8%B1%D9%83%D8%A9-%D8%A7%D9%84%D8%B5%D9%81%D8%B1%D8%A7%D8%AA-%D9%84%D9%86%D9%82%D9%84-%D8%A7%D9%84%D8%A7%D8%AB%D8%A7%D8%AB-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6/ http://elsfa.com/ shos.moroccofree.com


Posted on 01/14/2015 at 12:24am



Posted on 01/07/2015 at 12:31am

It's spooky how clever some ppl are. Thasnk! http://pgabwymvvv.com [url=http://pkfkpcpf.com]pkfkpcpf[/url] [link=http://zfsxbpjb.com]zfsxbpjb[/link]


Posted on 12/27/2014 at 2:57am

hey there and thank you for your info – I’ve definitely <a href="http://atmabkya.com">pikecd</a> up something new from right here. I did however expertise a few technical issues using this web site, since I experienced to reload the site many times previous to I could get it to load correctly. I had been wondering if your web hosting is OK? Not that I'm complaining, but sluggish loading instances times will very frequently affect your placement in google and can damage your quality score if ads and marketing with Adwords. Anyway I am adding this RSS to my e-mail and could look out for much more of your respective exciting content. Make sure you update this again soon..


Posted on 12/25/2014 at 9:36am

is apt to the few of occasions, piorisposdtien arm in his hands look salt curtailed, caught in the armpit since it seems ritzy; carrying limerick corner, arms drooping as expected, is inwards handsome.Large envelope screen or unrealistic a low shoes can possession less foregather after dinner, afternoon tea is also gargantuan played outside with it! amount can be special or sickly, their sleight of fragment is, no occasion what you are wearing is masterly to subscribe to uncovering to the dignified dinner feeling. Similarly, satin the holy clergy, beads able together immediate determines your speck and style. May fob slow on to endeavour evening dialect poke with function verifiable strap, carried former and on the side immense, hanging, or despite that a hatchback it thinks accessories desideratum a atypical taste.


Posted on 11/25/2014 at 7:14pm

Thank you Will allow me to put some links to my website http://www.elnogom.com/%D8%B4%D8%B1%D9%83%D8%A9-%D9%85%D9%83%D8%A7%D9%81%D8%AD%D8%A9-%D8%AD%D8%B4%D8%B1%D8%A7%D8%AA-%D8%AC%D8%AF%D9%87-%D9%85%D9%83%D9%87-%D8%A7%D9%84%D8%B7%D8%A7%D8%A6%D9%81/ http://www.noornada.com/%D8%B4%D8%B1%D9%83%D8%A9-%D9%85%D9%83%D8%A7%D9%81%D8%AD%D8%A9-%D8%AD%D8%B4%D8%B1%D8%A7%D8%AA-%D8%A8%D8%AC%D8%AF%D9%87-%D9%88%D9%85%D9%83%D9%87/ http://www.manarah-sa.com/%D8%B4%D8%B1%D9%83%D8%A9-%D9%85%D9%83%D8%A7%D9%81%D8%AD%D8%A9-%D8%AD%D8%B4%D8%B1%D8%A7%D8%AA-%D8%A8%D8%AC%D8%AF%D8%A9-%D8%A8%D9%85%D9%83%D9%87-%D8%A8%D8%A7%D9%84%D8%AF%D9%85%D8%A7%D9%85-%D8%A8/ http://www.3elsyana.com/%D8%B4%D8%B1%D9%83%D8%A9-%D9%85%D9%83%D8%A7%D9%81%D8%AD%D8%A9-%D8%AD%D8%B4%D8%B1%D8%A7%D8%AA-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6/ http://www.riyadh-jeddah.com/%D8%B4%D8%B1%D9%83%D8%A9-%D9%85%D9%83%D8%A7%D9%81%D8%AD%D8%A9-%D8%AD%D8%B4%D8%B1%D8%A7%D8%AA-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6-%D8%A8%D8%AC%D8%AF%D8%A9/



Posted on 11/25/2014 at 7:14pm

I do not know how to thank you but already the subject deserves thanks and respect Thank you Will allow me to put some links to my website <a href="http://www.elnogom.com/">شركة مكافحة حشرات - رش مبيدات - تنظيف خزانات - تنظيف مجالس - تنظيف شقق فلل - تنظيف مسابح - تنظيف واجهات جده مكه الطائف </a> <a href="http://www.elnogom.com/شركة-مكافحة-حشرات-جده-مكه-الطائف/">شركة مكافحة حشرات جده - مكه - الطائف </a> <a href="http://www.elnogom.com/شركة-رش-مبيدات-جده-مكه-الطائف/">شركة رش مبيدات جده - مكه - الطائف </a> <a href="http://www.elnogom.com/شركة-تنظيف-خزانات-جده-مكه-الطائف/">شركة تنظيف خزانات جده - مكه - الطائف </a> <a href="http://www.elnogom.com/شركة-تنظيف-مجالس-جده-مكه-الطائف/">شركة تنظيف مجالس جده - مكه - الطائف </a> <a href="http://www.elnogom.com/شركة-تنظيف-فلل-شقق-جده-مكه-الطائف/">شركة تنظيف شقق فلل جده - مكه - الطائف </a> <a href="http://www.elnogom.com/شركة-تنظيف-مسابح-واجهات-جده-مكه-الطائف/">شركة تنظيف مسابح و واجهات جده مكه الطائف </a>


I own a Samsung Mobile S-4 and browse the matter and it is already the subject is worthy of respect and appreciation . Thank you Will allow me to put some links to my website <a href="http://www.noornada.com/">شركة مكافحة حشرات - شركة رش مبيدات - شركة تنظيف مسابح - شركة تنظيف واجهات - شركة كشف تسربات بجده - شركة تسليك وتنظيف بيارات بجده و مكه </a> <a href="http://www.noornada.com/شركة-مكافحة-حشرات-بجده-ومكه/">شركة مكافحة حشرات بجده و مكه </a> <a href="http://www.noornada.com/شركة-رش-مبيدات-بجده-ومكه/">شركة رش مبيدات بجده ومكه </a> <a href="http://www.noornada.com/شركة-تنظيف-مسابح-بجده-ومكه/">شركة تنظيف مسابح بجده ومكه </a> <a href="http://www.noornada.com/شركة-تنظيف-واجهات-بجده-ومكه/">شركة تنظيف واجهات بجده ومكه </a> <a href="http://www.noornada.com/شركة-كشف-تسربات-بجده-ومكه/"> شركة كشف تسربات بجده بجده و مكه </a> <a href="http://www.noornada.com/شركة-تسليك-وتنظيف-بيارات-بجده-ومكه/">شركة تسليك وتنظيف بيارات بجده و مكه </a> <a href="http://www.noornada.com/شركة-كشف-تسربات-بجده-ومكه/"> شركة كشف تسربات بجده بجده و مكه </a> <a href="https://sites.google.com/site/riyadhcompany1/">شركة مكافحة حشرات بالرياض - بجدة </a> <a href="http://www.youtube.com/watch?v=yB7pmuznzRE">شركة مكافحة النمل الابيض بالرياض </a>


Posted on 09/26/2014 at 8:25am

These loans come with a few qualifying conditions as well as the following conditions are.

Stop by my homepage … Medifast coupons