-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switches to systemd launching plasma session
- Loading branch information
1 parent
635a174
commit cbc46b3
Showing
10 changed files
with
147 additions
and
2 deletions.
There are no files selected for viewing
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,9 @@ | ||
#%PAM-1.0 | ||
|
||
auth include system-login | ||
|
||
account include system-login | ||
|
||
password include system-login | ||
|
||
session include system-login |
55 changes: 55 additions & 0 deletions
55
distro-files/layout/etc/systemd/system/plasma-desktop.service
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,55 @@ | ||
[Unit] | ||
Description=Plasma Mobile shell | ||
|
||
# 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 | ||
|
||
# D-Bus is necessary for contacting logind. Logind is required. | ||
Wants=dbus.socket | ||
After=dbus.socket | ||
|
||
# This scope is created by pam_systemd when logging in as the user. | ||
# This directive is a workaround to a systemd bug, where the setup of the | ||
# user session by PAM has some race condition, possibly leading to a failure. | ||
# See README for more details. | ||
After=session-c1.scope | ||
|
||
# Since we are part of the graphical session, make sure we are started before | ||
# it is complete. | ||
Before=graphical.target | ||
|
||
# Prevent starting on systems without virtual consoles | ||
ConditionPathExists=/dev/tty0 | ||
|
||
# Restart a maximum of 5 times in 30 seconds | ||
StartLimitBurst=5 | ||
StartLimitIntervalSec=30 | ||
|
||
[Service] | ||
ExecStart=dbus-run-session /opt/kde/usr/lib/libexec/plasma-dbus-run-session-if-needed /opt/kde/usr/lib/libexec/startplasma-dev.sh -wayland | ||
TimeoutStartSec=30 | ||
User=1000 | ||
PAMName=login | ||
WorkingDirectory=~ | ||
Restart=on-failure | ||
RestartSec=5s | ||
|
||
# A virtual terminal is needed. | ||
TTYPath=/dev/tty7 | ||
TTYReset=yes | ||
TTYVHangup=yes | ||
TTYVTDisallocate=yes | ||
|
||
# Fail to start if not controlling the tty. | ||
StandardInput=tty-fail | ||
StandardOutput=journal | ||
StandardError=journal | ||
|
||
# Log this user with utmp, letting it show up with commands 'w' and 'who'. | ||
UtmpIdentifier=tty7 | ||
UtmpMode=user | ||
|
||
[Install] | ||
WantedBy=graphical.target |
55 changes: 55 additions & 0 deletions
55
distro-files/layout/etc/systemd/system/plasma-mobile.service
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,55 @@ | ||
[Unit] | ||
Description=Plasma Mobile shell | ||
|
||
# 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 | ||
|
||
# D-Bus is necessary for contacting logind. Logind is required. | ||
Wants=dbus.socket | ||
After=dbus.socket | ||
|
||
# This scope is created by pam_systemd when logging in as the user. | ||
# This directive is a workaround to a systemd bug, where the setup of the | ||
# user session by PAM has some race condition, possibly leading to a failure. | ||
# See README for more details. | ||
After=session-c1.scope | ||
|
||
# Since we are part of the graphical session, make sure we are started before | ||
# it is complete. | ||
Before=graphical.target | ||
|
||
# Prevent starting on systems without virtual consoles | ||
ConditionPathExists=/dev/tty0 | ||
|
||
# Restart a maximum of 5 times in 30 seconds | ||
StartLimitBurst=5 | ||
StartLimitIntervalSec=30 | ||
|
||
[Service] | ||
ExecStart=dbus-run-session /opt/kde/usr/lib/libexec/plasma-dbus-run-session-if-needed /opt/kde/usr/lib/libexec/startplasmamobile-dev.sh | ||
TimeoutStartSec=30 | ||
User=1000 | ||
PAMName=login | ||
WorkingDirectory=~ | ||
Restart=on-failure | ||
RestartSec=5s | ||
|
||
# A virtual terminal is needed. | ||
TTYPath=/dev/tty7 | ||
TTYReset=yes | ||
TTYVHangup=yes | ||
TTYVTDisallocate=yes | ||
|
||
# Fail to start if not controlling the tty. | ||
StandardInput=tty-fail | ||
StandardOutput=journal | ||
StandardError=journal | ||
|
||
# Log this user with utmp, letting it show up with commands 'w' and 'who'. | ||
UtmpIdentifier=tty7 | ||
UtmpMode=user | ||
|
||
[Install] | ||
WantedBy=graphical.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# SPDX-FileCopyrightText: None | ||
# SPDX-License-Identifier: CC0-1.0 | ||
|
||
[Applications] | ||
blacklist=cuttlefish,org.kde.plasma.themeexplorer,org.kde.klipper,ciborium,syncmonitorhelper,org.kde.okular,wordview,assistant,assistant-qt5,designer,designer-qt5,linguist,linguist-qt5,org.kde.perusecreator,UserFeedbackConsole,org.kde.kuserfeedback-console,avahi-discover,bssh,bvnc,ktelnetservice5,qv4l2,qvidcap |
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,5 @@ | ||
# SPDX-FileCopyrightText: None | ||
# SPDX-License-Identifier: CC0-1.0 | ||
|
||
[General] | ||
BrowserApplication[$e]=!angelfish |
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,5 @@ | ||
# SPDX-FileCopyrightText: None | ||
# SPDX-License-Identifier: CC0-1.0 | ||
|
||
[Daemon] | ||
LockOnStart=true |
Submodule ocs2-prolinuxd
updated
7 files
+38 −27 | cli-src/pl2/updater/updatercli.ts | |
+18 −115 | cli-src/plctl.ts | |
+40 −1 | src/constants.ts | |
+2 −1 | src/helpers/getProLinuxInfo.ts | |
+102 −20 | src/index.ts | |
+0 −6 | src/modules/plasma-mobile-nightly/README.md | |
+0 −38 | src/modules/plasma-mobile-nightly/index.ts |
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
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