mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-03-29 22:20:21 +00:00
feat: Add option to install OpenTabletDriver in an arch distrobox
This commit is contained in:
parent
a0c10ff89b
commit
535036819a
14
post_install_files/OpenTabletDriver/opentabletdriver.service
Normal file
14
post_install_files/OpenTabletDriver/opentabletdriver.service
Normal file
@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=OpenTabletDriver Daemon
|
||||
PartOf=graphical-session.target
|
||||
After=graphical-session.target
|
||||
ConditionEnvironment=|WAYLAND_DISPLAY
|
||||
ConditionEnvironment=|DISPLAY
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/distrobox-enter -n arch -- ' /usr/bin/otd-daemon'
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical-session.target
|
@ -86,6 +86,11 @@ screens:
|
||||
default: false
|
||||
packages:
|
||||
- Retrieve Wootility: just --unstable get-wootility
|
||||
OpenTabletDriver:
|
||||
description: Open source, cross-platform, user-mode tablet driver
|
||||
default: false
|
||||
packages:
|
||||
- Install OpenTabletDriver: just --unstable install-opentabletdriver
|
||||
Resilio Sync:
|
||||
description: A file synchronization utility powered by BitTorrent
|
||||
default: false
|
||||
|
@ -106,3 +106,12 @@ install-scrcpy:
|
||||
distrobox enter -n fedora -- bash -c 'sudo dnf copr enable -y zeno/scrcpy && \
|
||||
sudo dnf install -y scrcpy && \
|
||||
distrobox-export --app scrcpy'
|
||||
|
||||
# Install OpenTabletDriver, an open source, cross-platform, user-mode tablet driver
|
||||
install-opentabletdriver:
|
||||
if grep -qvz "arch" <<< $(distrobox list); then \
|
||||
distrobox create --nvidia --image ghcr.io/ublue-os/arch-distrobox:latest -n arch -Y; \
|
||||
fi && \
|
||||
distrobox enter -n arch -- ' paru -S opentabletdriver' && \
|
||||
wget https://raw.githubusercontent.com/ublue-os/bazzite/main/post_install_files/OpenTabletDriver/opentabletdriver.service -O ~/.config/systemd/user/arch-opentabletdriver.service && \
|
||||
systemctl enable --user --now arch-opentabletdriver.service
|
||||
|
@ -47,16 +47,21 @@ screens:
|
||||
packages:
|
||||
- Install Nix Package Support: sudo -A just --unstable install-nix
|
||||
- Install Fleek: just --unstable install-fleek
|
||||
Oversteer:
|
||||
description: Application to control Logitech steering wheels
|
||||
default: false
|
||||
packages:
|
||||
- Install Oversteer: just --unstable install-oversteer
|
||||
OpenRazer:
|
||||
description: Enables additional capabilities for Razer Hardware
|
||||
default: false
|
||||
packages:
|
||||
- Install OpenRazer: just --unstable install-openrazer
|
||||
OpenTabletDriver:
|
||||
description: Open source, cross-platform, user-mode tablet driver
|
||||
default: false
|
||||
packages:
|
||||
- Install OpenTabletDriver: just --unstable install-opentabletdriver
|
||||
Oversteer:
|
||||
description: Application to control Logitech steering wheels
|
||||
default: false
|
||||
packages:
|
||||
- Install Oversteer: just --unstable install-oversteer
|
||||
Solaar:
|
||||
description: Application to control Logitech Mice, Keyboards, and Trackpads
|
||||
default: false
|
||||
|
@ -143,3 +143,12 @@ install-scrcpy:
|
||||
distrobox enter -n fedora -- bash -c 'sudo dnf copr enable -y zeno/scrcpy && \
|
||||
sudo dnf install -y scrcpy && \
|
||||
distrobox-export --app scrcpy'
|
||||
|
||||
# Install OpenTabletDriver, an open source, cross-platform, user-mode tablet driver
|
||||
install-opentabletdriver:
|
||||
if grep -qvz "arch" <<< $(distrobox list); then \
|
||||
distrobox create --nvidia --image ghcr.io/ublue-os/arch-distrobox:latest -n arch -Y; \
|
||||
fi && \
|
||||
distrobox enter -n arch -- ' paru -S opentabletdriver' && \
|
||||
wget https://raw.githubusercontent.com/ublue-os/bazzite/main/post_install_files/OpenTabletDriver/opentabletdriver.service -O ~/.config/systemd/user/arch-opentabletdriver.service && \
|
||||
systemctl enable --user --now arch-opentabletdriver.service
|
||||
|
Loading…
x
Reference in New Issue
Block a user