You are not logged in.

#1 2011-08-15 17:52:19

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 443

desktend - add/remove virtual desktops automatically

Hello everyone,

I created a small utility to dinamically create and destroy virtual desktops (also known as workspaces).

The tool will always create one empty desktop for your. If you put a window on it, the tool will create a new one and the empty desktops will be removed.

The minimum and maximum number of desktops are hardcoded but you can easly change them by editing the source file.

I created it for my openbox desktop but it should work with any EWMH window manager.
Any feedback is welcome. Have fun.

source & readme: https://github.com/ijanos/desktend
AUR packge: http://aur.archlinux.org/packages.php?ID=51559

Offline

#2 2011-08-15 19:57:27

oliver
Member
Registered: 2007-12-12
Posts: 448

Re: desktend - add/remove virtual desktops automatically

nice!  works perfectly with my openbox/tint2 setup.  Thanks for creating/posting

Offline

#3 2011-08-16 07:43:54

ArchArael
Member
Registered: 2005-06-14
Posts: 504

Re: desktend - add/remove virtual desktops automatically

oliver wrote:

nice!  works perfectly with my openbox/tint2 setup.  Thanks for creating/posting

You don't need that script in openbox. Openbox is capable of that natively. This is my config:

<keybind key="W-d">
		<action name="AddDesktopLast"/>
</keybind>
<keybind key="W-r">
		<action name="RemoveDesktopLast"/>
</keybind>

Check here for more info: http://openbox.org/wiki/Help:Actions#AddDesktop

Offline

#4 2011-08-16 08:04:22

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: desktend - add/remove virtual desktops automatically

Or simply use the built-in desktop menu (middle click on an empty desktop space). On the bottom there are entries to add/remove additional desktops.


To know or not to know ...
... the questions remain forever.

Offline

#5 2011-08-16 08:24:34

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 443

Re: desktend - add/remove virtual desktops automatically

You guys are missing the point.

The main purpose of the program is that you dont have to add and remove desktops by clicking in a menu or pressing a keybind. Desktops will be added/removed automatically as you create/close windows on empty desktops.

Offline

#6 2011-08-16 08:38:48

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: desktend - add/remove virtual desktops automatically

You are right. I misunderstood the purpose.
Looks useful for people who like to have a desktop available per task.

Aside: If we only had some tagging capability, openbox could be even more useful.


To know or not to know ...
... the questions remain forever.

Offline

#7 2011-08-16 08:52:53

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 443

Re: desktend - add/remove virtual desktops automatically

bernarcher wrote:

Aside: If we only had some tagging capability, openbox could be even more useful.

What kind of tagging would you like? Openbox can move windows based on their properties to specific desktops. But showing one window on different virtual desktops simultaneusly cannot be done with the EWMH standard.

Offline

Board footer

Powered by FluxBB