forked from herbstluftwm/herbstluftwm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
99 lines (74 loc) · 3.1 KB
/
INSTALL
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
===== HERBSTLUFTWM =====
Copyright 2011-2013 Thorsten Wißmann. All rights reserved.
This software is licensed under the "Simplified BSD License".
See LICENSE for details.
==== Requirements ====
Build dependencies:
- build-environment (gcc/other compiler, make)
- asciidoc (only when building from git, not when building from tarball)
- a posix system with _POSIX_TIMERS and _POSIX_MONOTONIC_CLOCK or a system
with a current mach kernel
Runtime dependencies:
- bash (if you use the default autostart file)
- glib >= 2.14
- libx11
Optional run-time dependencies:
- xsetroot (to set wallpaper color in default autostart)
- xterm (used as the terminal in default autostart)
- dzen2 (used in the default panel.sh, it works best with a new dzen2 which
already supports clicking)
- dmenu (used in some example scripts)
==== Help/Support/Bugs ====
A list of known bugs is listed in BUGS. If you found other bugs or want to
request features then contact the mailing list. (The subscription process is
explained in the HACKING file).
Mailing list: [email protected]
For instant help join the IRC channel: #herbstluftwm on irc.freenode.net
==== Steps with installing ====
If you are using a system with a package manager, then install it via the
package manager of your distribution! If you are not allowed to install
software, then contact your system administrator.
You only need to install it manually if you do not like package managers or if
you are creating a package for your distribution.
The compilation and installation is configured by the following make-variables
in config.mk:
DESTDIR = / # the path to your root-directory
PREFIX = /usr/ # the prefix
SYSCONFDIR = $(DESTDIR)/etc/ # path to etc directory
Normally you should build it with DESTDIR=/ and install it with
DESTDIR=./path/to/fakeroot if you are building a package.
make DESTDIR=/
sudo make DESTDIR=./build/ install
mkdir -p ~/.config/herbstluftwm/
cp /etc/xdg/herbstluftwm/autostart ~/.config/herbstluftwm/autostart
==== First steps without installing ====
1. compile it:
make
2. copy herbstclient to a bin-folder or adjust path in autostart file
3. copy default autostart file to the config-dir:
mkdir -p ~/.config/herbstluftwm
cp share/autostart ~/.config/herbstluftwm/
4. add the share/herbstclient-completion to your /etc/bash_completion.d/ folder
or source it in your bashrc
5. run it in a session that has no windowmanager yet
==== Starting it ====
Start it within a running X-session with:
herbstluftwm --locked
The --locked causes herbstluftwm not to update the screen until you unlock it
with: herbstclient unlock (This is done automatically by the default autostart)
==== Quirks ====
Mac OSX:
Problem: Mod1 is nowhere to be found.
Solution: Set left Command (Apple) key to be Mod1.
edit .Xmodmap
--- snip ---
! Make the Alt/Option key be Alt_L instead of Mode_switch
keycode 63 = Alt_L
! Make Meta_L be a Mod4 and get rid of Mod2
clear mod2
clear mod4
add mod4 = Meta_L
! Make Alt_L be a Mod1
clear mod1
add mod1 = Alt_L
--- snap ---