summaryrefslogtreecommitdiff
path: root/mcwm.man
blob: ca125d4f7de70490172dbb3f3881a6fb20cc7afa (plain)
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
.TH mcwm 1 "Jun 24, 2010" "" ""
.SH NAME
mcwm \- MC's Window Manager for X11.
.SH SYNOPSIS
.B mcwm
[ 
.B \-b 
]
[ 
.B \-t 
.I terminal-program
] [ 
.B \-f 
.I colour
] [ 
.B \-u 
.I colour
]

.SH DESCRIPTION
.B mcwm\fP is a window manager for the X Window System.

.SH OPTIONS
.TP
\-b means draw no window borders.
.TP
\-t urxvt will start urxvt when MODKEY + Return is pressed.
.TP
\-f colour sets colour for focused window borders to a named colour.
.TP
\-u colour sets colour for unfocused window borders.

.SH USE
With the the default configuration, use mcwm like this.
.PP
Mod1 + mouse buttons:
.RS
.IP \(bu 2
.B 1 
move
.IP \(bu 2
.B 2 
raise
.IP \(bu 2
.B 3 
resize
.RE
.PP
Mod2 + key:
.PP
.RS
.IP \(bu 2
.B r 
raise or lower (toggles)
.IP \(bu 2
.B x 
maximize
.IP \(bu 2
.B m 
maximize vertically
.IP \(bu 2
.B h 
move left
.IP \(bu 2
.B j 
move down
.IP \(bu 2
.B k 
move up
.IP \(bu 2
.B l 
move right
.IP \(bu 2
.B H 
resize left
.IP \(bu 2
.B J 
resize down
.IP \(bu 2
.B K 
resize up
.IP \(bu 2
.B L
resize right
.IP \(bu 2
.B Return
start terminal
.IP \(bu 2
.B Tab
go to next visible window.
.IP \(bu 2
.B f
fix window so it is visible on all workspaces.
.IP \(bu 2
.B 0\-9
go to workspace n, 0-9.
.RE
.PP
If you don't like the default key bindings, border width, et cetera,
look in the config.h file, change and recompile.
.PP
.SH STARTING
Typically the window manager is started from a script, either run by
.B startx(1) 
or a login manager such as 
.B xdm(1).
.PP
If you start from the console, you need an .xinitrc file. Here's a
complete example:
.sp
.in +4
.nf
\&#! /bin/sh

# Set nice background.
xsetroot \-mod 16 16 \-fg rgb:54/6/6 \-bg grey20

# Set nice pointer cursor.
xsetroot \-cursor_name plus \-fg white \-bg black

# Load resources.
xrdb \-load ~/.Xresources

# Start window manager in the background. If it dies, X still lives.
mcwm &

# Start a terminal in the foreground. If this dies, X dies.
urxvt
.fi
.in -4
.sp
.SH AUTHOR
Michael Cardell Widerkrantz <mc@hack.org>.