|
137 | 137 | <h4>Wayland <small class="text-muted">(systemd)</small></h4> |
138 | 138 | <div class="mx-3"> |
139 | 139 | <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> |
155 | 163 | </ol> |
156 | 164 | </div> |
157 | 165 | </div> |
|
0 commit comments