Skip to content
This repository was archived by the owner on Dec 21, 2023. It is now read-only.

Commit 3d3bc7c

Browse files
committed
Fix formatting in Linux FAQ
1 parent 87232a8 commit 3d3bc7c

1 file changed

Lines changed: 23 additions & 15 deletions

File tree

OpenTabletDriver.Web/Views/Wiki/FAQ/Linux.cshtml

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -137,21 +137,29 @@
137137
<h4>Wayland <small class="text-muted">(systemd)</small></h4>
138138
<div class="mx-3">
139139
<ol>
140-
<li>Create an override file</li>
141-
<codeblock class="mt-2" language="sh">
142-
# Opens with whatever program is set to $EDITOR
143-
systemctl --user edit opentabletdriver.service
144-
</codeblock>
145-
<li>Add this block below the first 2 lines of the file, then save and exit</li>
146-
<codeblock class="mt-2">
147-
[Service]
148-
Environment=WAYLAND_DISPLAY=:0
149-
</codeblock>
150-
<li>Finally, run the following commands</li>
151-
<codeblock class="mt-2">
152-
systemctl --user daemon-reload
153-
systemctl --user restart opentabletdriver.service
154-
</codeblock>
140+
<li>
141+
Create an override file
142+
<codeblock class="mt-2" language="sh">
143+
# Opens with whatever program is set to $EDITOR
144+
systemctl --user edit opentabletdriver.service
145+
</codeblock>
146+
</li>
147+
<li>
148+
Add this block below the first 2 lines of the file, then save and exit
149+
<codeblock class="mt-2" language="ini">
150+
[Service]
151+
Environment=WAYLAND_DISPLAY=:0
152+
</codeblock>
153+
</li>
154+
<li>
155+
Finally, run the following commands
156+
<codeblock class="mt-2" language="sh">
157+
# Reload the systemd user daemon
158+
systemctl --user daemon-reload
159+
# Start the OpenTabletDriver daemon service (restarts if already running)
160+
systemctl --user restart opentabletdriver.service
161+
</codeblock>
162+
</li>
155163
</ol>
156164
</div>
157165
</div>

0 commit comments

Comments
 (0)