Updated for phosh
This commit is contained in:
8
gui-wm/phosh/files/osk-wayland
Normal file
8
gui-wm/phosh/files/osk-wayland
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
OSK=/usr/bin/virtboard
|
||||
|
||||
if [ -x /usr/bin/squeekboard ]; then
|
||||
OSK=/usr/bin/squeekboard
|
||||
fi
|
||||
exec $OSK
|
||||
@@ -2,10 +2,15 @@
|
||||
Description=Phosh, a shell for mobile phones
|
||||
Documentation=https://gitlab.gnome.org/World/Phosh/phosh
|
||||
|
||||
# Make sure we are started after logins are permitted.
|
||||
After=systemd-user-sessions.service
|
||||
# If Plymouth is used, we want to start when it is on its way out.
|
||||
After=plymouth-quit-wait.service
|
||||
# replaces the getty
|
||||
Conflicts=getty@tty1.service
|
||||
After=getty@tty1.service
|
||||
|
||||
# Needs all the dependencies of the services it's replacing
|
||||
# (currently getty@tty1.service):
|
||||
After=rc-local.service plymouth-quit-wait.service systemd-user-sessions.service
|
||||
|
||||
OnFailure=getty@tty1.service
|
||||
|
||||
# D-Bus is necessary for contacting logind. Logind is required.
|
||||
Wants=dbus.socket
|
||||
@@ -26,7 +31,7 @@ ConditionPathExists=/dev/tty0
|
||||
|
||||
[Service]
|
||||
Environment=LANG=C.UTF-8
|
||||
Environment=XDG_CURRENT_DESKTOP=GNOME:Phosh
|
||||
Environment=XDG_CURRENT_DESKTOP=Phosh:GNOME
|
||||
Environment=XDG_SESSION_DESKTOP=phosh
|
||||
Environment=XDG_SESSION_TYPE=wayland
|
||||
ExecStart=/usr/bin/phosh
|
||||
|
||||
Reference in New Issue
Block a user