Configure Plasma Application Launcher to show logout option
This commit is contained in:
parent
a69d1c93b7
commit
e4ca640821
5
adduser
5
adduser
|
@ -70,6 +70,11 @@ os.system('sudo -u ' + username + ' mkdir /home/' + username + '/.config')
|
|||
os.system('sudo -u ' + username + ' flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo --user')
|
||||
os.system('sudo -u ' + username + ' xdg-settings set default-web-browser firefox.desktop')
|
||||
|
||||
# Configure Plasma Application Launcher to show logout option
|
||||
os.system('sudo -u ' + username + ' kwriteconfig5 --file ~/.config/plasma-org.kde.plasma.desktop-appletsrc --group Containments --group 2 --group Applets --group 3 --group Configuration --group General --key primaryActions 1')
|
||||
os.system('sudo -u ' + username + ' kwriteconfig5 --file ~/.config/plasma-org.kde.plasma.desktop-appletsrc --group Containments --group 2 --group Applets --group 3 --group Configuration --group General --key systemFavorites "lock-screen\\,logout\\,save-session\\,switch-user"')
|
||||
|
||||
|
||||
# Set up rootless Podman
|
||||
# https://wiki.archlinux.org/title/Podman#Set_subuid_and_subgid
|
||||
start = str((int(uid) - 999) * 100000)
|
||||
|
|
Loading…
Reference in a new issue