File: README

package info (click to toggle)
vdesk 1.2-3.1
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 732 kB
  • ctags: 35
  • sloc: sh: 869; ansic: 162; makefile: 53
file content (49 lines) | stat: -rw-r--r-- 1,811 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
vdesk: virtual desktops for any window manager
Adam Sampson <azz@us-lot.org>

This tool provides portable (albeit non-standard) virtual desktop
support; it's especially useful with lightweight window managers such as
aewm.

-- Using vdesk --

To switch desktops, invoke vdesk as:
	vdesk DESKTOP
e.g.
	vdesk 2
It is useful to bind keys to switch desktops using a keygrabbing tool.

To move a window to a new desktop, invoke vdesk as:
	vdesk DESKTOP WINDOW-ID
where the window ID is specified in hex, e.g.
	vdesk 1 0x80a4bb

To make a window "sticky" (visible on all desktops), move it to desktop
number 0.

The window ID can be found using a tool like "window" or "xwininfo".
It'll be different for each instance of a window -- if you want to make
the gkrellm window sticky on startup, you can do something like:
	vdesk 0 `window -list | grep gkrellm | awk '{print $1}'`

-- How it works --

vdesk works by mapping and unmapping (i.e. showing and hiding) windows
when you change desktop, depending on the contents of the property
VDESK_DESKTOP. The VDESK_DESKTOP property on the root window is used to
store the number of the current desktop; when switching desktops, vdesk
looks for visible windows that don't have that property and labels them
with the current desktop number, then unmaps any windows that are
visible and not sticky, then maps any windows that are visible on the
new desktop. vdesk is, as far as I'm aware, the only tool that
understands the VDESK_DESKTOP atom; it won't interact correctly with a
window manager that provides "proper" virtual desktops.

Some of the code was originally based on Decklin Foster's excellent aewm
window manager, so I've kept the (MIT-style) aewm license.

-- Bugs --

Please report any problems you have with vdesk to me at the address at
the top of this file.