8
8
1 . [ Server Side Decoration] ( #server-side-decoration )
9
9
3 . [ Mouse and Trackpads] ( #mouse-and-trackpads )
10
10
1 . [ Libinput] ( #libinput )
11
+ 2 . [ Mousebinds] ( #mousebinds )
12
+ 3 . [ Cursor] ( #cursor )
11
13
4 . [ XML] ( #xml )
12
14
1 . [ XML Nodenames] ( #xml-nodenames )
13
15
5 . [ Scripting] ( #scripting )
14
16
1 . [ Run or Raise] ( #run-or-raise )
15
17
6 . [ Environment Variables] ( #environment-variables )
16
18
7 . [ Nested XWayland] ( #nested-xwayland )
19
+ 8 . [ Hardware] ( #hardware )
20
+ 1 . [ Nvidia] ( #nvidia )
21
+ 2 . [ Laptop Lid] ( #laptop-lid )
17
22
18
23
# 1. Keybinds {#keybinds}
19
24
@@ -135,7 +140,7 @@ window.inactive.button.menu.unpressed.image.color: #000000 0
135
140
136
141
Not yet implemented.
137
142
138
- ## 3.2 Mousebinds
143
+ ## 3.2 Mousebinds {#mousebinds}
139
144
140
145
### Q: I'm used to MS Windows and would like all window to unfocus when I click the desktop. How can this be achieved?
141
146
@@ -150,6 +155,19 @@ Not yet implemented.
150
155
</mouse>
151
156
```
152
157
158
+ ## 3.3 Cursor {#cursor}
159
+
160
+ ### Q: I cannot see a cursor. What should I do?
161
+
162
+ If no cursor is showing (sometimes reported by people running vwmare), try
163
+ adding ` WLR_NO_HARDWARE_CURSORS=1 ` to ` ~/.config/labwc/environment ` .
164
+
165
+ If cursors do not update as expected, try installing a cursor theme (for
166
+ example ` Adwaita ` ) and set ` XCURSOR_THEME ` in ` ~/.config/labwc/environment `
167
+ accordingly (for example ` XCURSOR_THEME=Adwaita ` ). ` labwc ` handles missing
168
+ cursor themes by falling back on builtin old X11 cursors, but some applications
169
+ do not resulting in the wrong or no cursor being set.
170
+
153
171
# 4. XML {#xml}
154
172
155
173
## 4.1 XML Nodenames {#xml-nodenames}
@@ -206,7 +224,7 @@ See [labwc-config(5)-syntax] for more details.
206
224
207
225
# 5. Scripting {#scripting}
208
226
209
- ## 5.2 Run or Raise {#run-or-raise}
227
+ ## 5.1 Run or Raise {#run-or-raise}
210
228
211
229
The [ wlr-foreign-toplevel-management] protocol provides clients with a list of
212
230
opened applications and lets them request certain actions on them, like
@@ -277,5 +295,27 @@ DISPLAY=:55 dbus-run-session openbox-session
277
295
278
296
```
279
297
280
-
298
+ # 8. [ Hardware] {#hardware}
299
+
300
+ ## 8.1 [ Nvidia] {#nvidia}
301
+
302
+ If Electron clients are glitchy or lagging try setting these environment
303
+ variables:
304
+
305
+ ```
306
+ GBM_BACKEND=nvidia-drm
307
+ __GLX_VENDOR_LIBRARY_NAME=nvidia
308
+ ```
309
+
310
+ ## 8.2 [ Laptop Lid] {#laptop-lid}
311
+
312
+ When using a laptop with an external monitor and the built-in monitor is closed,
313
+ the system may go into hibernation when disconnecting. To avoid this, edit the
314
+ configuration file `etc/systemd/logind.conf' and set following to ignore (see
315
+ logind.conf(5) manual for more info):
316
+
317
+ ```
318
+ HandleLidSwitch=ignore
319
+ HandleLidSwitchExternalPower=ignore
320
+ ```
281
321
0 commit comments