-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
opentabletdriver: Enable service by default
**Summary** This update will enable the opentabletdriver.service by default. **Test Plan** - check service status is enabled and running - check OpenTabletDriver opens and maps tablet keys
- Loading branch information
Showing
3 changed files
with
42 additions
and
18 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
packages/o/opentabletdriver/files/attach-to-default-target.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
diff --git a/eng/linux/Generic/usr/lib/systemd/user/opentabletdriver.service b/eng/linux/Generic/usr/lib/systemd/user/opentabletdriver.service | ||
index 06b69dd7..3960c968 100644 | ||
--- a/eng/linux/Generic/usr/lib/systemd/user/opentabletdriver.service | ||
+++ b/eng/linux/Generic/usr/lib/systemd/user/opentabletdriver.service | ||
@@ -1,7 +1,7 @@ | ||
[Unit] | ||
Description=OpenTabletDriver Daemon | ||
-PartOf=graphical-session.target | ||
-After=graphical-session.target | ||
+PartOf=sockets.target | ||
+After=sockets.target | ||
ConditionEnvironment=|WAYLAND_DISPLAY | ||
ConditionEnvironment=|DISPLAY | ||
|
||
@@ -11,4 +11,4 @@ Restart=always | ||
RestartSec=3 | ||
|
||
[Install] | ||
-WantedBy=graphical-session.target | ||
+WantedBy=sockets.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,8 @@ | |
<Name>opentabletdriver</Name> | ||
<Homepage>https://opentabletdriver.net/</Homepage> | ||
<Packager> | ||
<Name>Troy Harvey</Name> | ||
<Email>[email protected]</Email> | ||
<Name>nelson truran</Name> | ||
<Email>[email protected]</Email> | ||
</Packager> | ||
<License>LGPL-3.0-only</License> | ||
<PartOf>multimedia.graphics</PartOf> | ||
|
@@ -23,25 +23,26 @@ | |
<Path fileType="executable">/usr/bin/otd</Path> | ||
<Path fileType="executable">/usr/bin/otd-daemon</Path> | ||
<Path fileType="executable">/usr/bin/otd-gui</Path> | ||
<Path fileType="library">/usr/lib/modprobe.d/99-opentabletdriver.conf</Path> | ||
<Path fileType="library">/usr/lib/modules-load.d/opentabletdriver.conf</Path> | ||
<Path fileType="library">/usr/lib/opentabletdriver/OpenTabletDriver.Console</Path> | ||
<Path fileType="library">/usr/lib/opentabletdriver/OpenTabletDriver.Daemon</Path> | ||
<Path fileType="library">/usr/lib/opentabletdriver/OpenTabletDriver.UX.Gtk</Path> | ||
<Path fileType="library">/usr/lib/systemd/user/opentabletdriver.service</Path> | ||
<Path fileType="library">/usr/lib/udev/rules.d/70-opentabletdriver.rules</Path> | ||
<Path fileType="library">/usr/lib64/modprobe.d/99-opentabletdriver.conf</Path> | ||
<Path fileType="library">/usr/lib64/modules-load.d/opentabletdriver.conf</Path> | ||
<Path fileType="library">/usr/lib64/opentabletdriver/OpenTabletDriver.Console</Path> | ||
<Path fileType="library">/usr/lib64/opentabletdriver/OpenTabletDriver.Daemon</Path> | ||
<Path fileType="library">/usr/lib64/opentabletdriver/OpenTabletDriver.UX.Gtk</Path> | ||
<Path fileType="library">/usr/lib64/systemd/user/opentabletdriver.service</Path> | ||
<Path fileType="library">/usr/lib64/systemd/user/sockets.target.wants/opentabletdriver.service</Path> | ||
<Path fileType="library">/usr/lib64/udev/rules.d/70-opentabletdriver.rules</Path> | ||
<Path fileType="data">/usr/share/applications/opentabletdriver.desktop</Path> | ||
<Path fileType="man">/usr/share/man/man8/opentabletdriver.8</Path> | ||
<Path fileType="data">/usr/share/pixmaps/otd.png</Path> | ||
</Files> | ||
</Package> | ||
<History> | ||
<Update release="3"> | ||
<Update release="4"> | ||
<Date>2024-06-21</Date> | ||
<Version>0.6.4.0</Version> | ||
<Comment>Packaging update</Comment> | ||
<Name>Troy Harvey</Name> | ||
<Email>[email protected]</Email> | ||
<Name>nelson truran</Name> | ||
<Email>[email protected]</Email> | ||
</Update> | ||
</History> | ||
</PISI> |