mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 06:13:09 +00:00
systemd: default kde-plasma service to tty1
getty@.service starts on tty1 by default, causing tty1 to briefly flash
during boot on postmarketOS:
595d88cdc8/units/getty%40.service.in (L65)
Use tty1 for the kde-plasma service to avoid this.
This commit is contained in:
parent
7119dc4948
commit
a30f1d4331
1 changed files with 6 additions and 6 deletions
|
|
@ -3,14 +3,14 @@ Description=Open-source user interface for phones, based on Plasma technologies
|
|||
Documentation=https://invent.kde.org/plasma-mobile
|
||||
|
||||
# replaces the getty
|
||||
Conflicts=getty@tty7.service
|
||||
After=getty@tty7.service
|
||||
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@tty7.service
|
||||
OnFailure=getty@tty1.service
|
||||
|
||||
# D-Bus is necessary for contacting logind. Logind is required.
|
||||
Wants=dbus.socket
|
||||
|
|
@ -31,7 +31,7 @@ ConditionPathExists=/dev/tty0
|
|||
[Service]
|
||||
Environment=LANG=C.UTF-8
|
||||
Environment=XDG_SEAT=seat0
|
||||
Environment=XDG_VTNR=tty7
|
||||
Environment=XDG_VTNR=tty1
|
||||
ExecStart=/usr/bin/startplasmamobile
|
||||
TimeoutStartSec=30
|
||||
User=1000
|
||||
|
|
@ -41,7 +41,7 @@ Restart=always
|
|||
RestartSec=5s
|
||||
|
||||
# A virtual terminal is needed.
|
||||
TTYPath=/dev/tty7
|
||||
TTYPath=/dev/tty1
|
||||
TTYReset=yes
|
||||
TTYVHangup=yes
|
||||
TTYVTDisallocate=yes
|
||||
|
|
@ -52,7 +52,7 @@ StandardOutput=journal
|
|||
StandardError=journal
|
||||
|
||||
# Log this user with utmp, letting it show up with commands 'w' and 'who'.
|
||||
UtmpIdentifier=tty7
|
||||
UtmpIdentifier=tty1
|
||||
UtmpMode=user
|
||||
|
||||
[Install]
|
||||
|
|
|
|||
Loading…
Reference in a new issue