|
|
|
|
123
|
./configure && make
|
123
|
./configure && make
|
124
|
sudo make install
|
124
|
sudo make install
|
125
|
|
125
|
|
126
|
-However the latest development branch requires some extras. Clone the repository and run the `autogen.sh` script. This requires that
|
|
|
127
|
-`automake` and `autoconf` is installed on your system.
|
|
|
|
|
126
|
+However the latest development branch requires some extras. Clone the repository and run the `autogen.sh` script. This requires that `automake` and `autoconf` is installed on your system.
|
128
|
|
127
|
|
129
|
./autogen.sh
|
128
|
./autogen.sh
|
130
|
./configure && make
|
129
|
./configure && make
|
131
|
sudo make install
|
130
|
sudo make install
|
132
|
|
131
|
|
133
|
-The `configure` script and `Makefile.in` files are not part of GIT
|
|
|
134
|
-because they are generated at release time with `make release`.
|
|
|
|
|
132
|
+The `configure` script and `Makefile.in` files are not part of GIT because they are generated at release time with `make release`.
|
135
|
|
133
|
|
136
|
|
134
|
|
137
|
### Permissions
|
135
|
### Permissions
|
138
|
|
136
|
|
139
|
-Optionally, instead of the classic SUID root mode of operation, udev
|
|
|
140
|
-rules can be set up to manage the kernel sysfs permissions. Use the
|
|
|
141
|
-configure script to enable this mode of operation:
|
|
|
|
|
137
|
+Optionally, instead of the classic SUID root mode of operation, udev rules can be set up to manage the kernel sysfs permissions. Use the configure script to enable this mode of operation:
|
142
|
|
138
|
|
143
|
./configure --with-udev && make
|
139
|
./configure --with-udev && make
|
144
|
sudo make install
|
140
|
sudo make install
|
|
|
|
|
146
|
This installs the `90-backlight.rules` into `/usr/lib/udev/rules.d/`.
|
142
|
This installs the `90-backlight.rules` into `/usr/lib/udev/rules.d/`.
|
147
|
If your udev rules are located elsewhere, use `--with-udev=PATH`.
|
143
|
If your udev rules are located elsewhere, use `--with-udev=PATH`.
|
148
|
|
144
|
|
149
|
-Note, in this mode `light` runs unpriviliged, so the `/etc/light`
|
|
|
|
|
145
|
+**Note:** make sure that your user is part of the `video` group, otherwise you will not get access to the devices.
|
|
|
146
|
+
|
|
|
147
|
+**Note:** in this mode `light` runs unpriviliged, so the `/etc/light`
|
150
|
directory (for cached settings) is not used, instead the per-user
|
148
|
directory (for cached settings) is not used, instead the per-user
|
151
|
specific `~/.cache/light` is used.
|
149
|
specific `~/.cache/light` is used.
|
152
|
|
150
|
|