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:

Comments

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

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/%D8%B4%D8%B1%D9%83%D8%A9-%D8%A7%D9%84%D8%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8%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

5uh4J4PoFug

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

http://genericviagra.onl

CBN5tLhuQx

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]

llat67lKq6

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..

0bz1zcT9d9BN

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.

yaser

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/


[URL="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/"].[/URL][URL="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/"].[/URL][URL="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/"].[/URL][URL="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/"].[/URL][URL="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/"].[/URL]

yaser

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>

Karolyn

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