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

Fix incorrect wayland session detection faq #64

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion OpenTabletDriver.Web/Views/Wiki/FAQ/Linux.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@
Add this block below the first 2 lines of the file, then save and exit
<codeblock class="mt-2" language="ini">
[Service]
Environment=WAYLAND_DISPLAY=:0
ExecStart=
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason for this empty extra ExecStart?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The empty ExecStart is to clear the value. Otherwise when you run it, it will run both the default start command and the custom one which makes it throw an error.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's pretty weird behavior, makes me wonder if that's what it's supposed to do.

ExecStart=/usr/bin/env sh -c otd
</codeblock>
</li>
<li>
Expand Down