Bug#1033390: plasma-desktop: Autostart Applications do not start when XDG_CONFIG_HOME is not $HOME/.config
Package: plasma-desktop
Version: 4:5.27.2-1
Severity: normal
Dear Maintainer,
I boot multiple OS installs with a common /home partition, and have found it
best to maintain separate XDG configuration directories in $HOME, one for
each OS install. This prevents the desktop setting of each OS from interfering
with each other. This is done by setting the value of the XDG_CONFIG_HOME
environmental variable differently for each OS. When this variable is not set,
the default location for XDG configuration is $HOME/.config.
This mostly works with KDE plasma in Testing, but I do find that the autostart
applications are not starting if XDG_CONFIG_HOME is not $HOME/.config. When they
don't start, I can still see them in the Autostart section of plasma's System
Settings, and can add and remove them there.
A workaround I have found, if XDG_CONFIG_HOME is not $HOME/.config, is to put
a symlink in $HOME/.config pointing to $XDG_CONFIG_HOME/autostart. Once this
is done, the applications do start at login.
It seems clear that the startup process is ignoring the value of XDG_CONFIG_HOME
in searching for autostart application; it is instead always looking for
them in $HOME/.config/autostart.
-- System Information:
Debian Release: bookworm/sid
APT prefers testing-security
APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-6-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages plasma-desktop depends on:
ii accountsservice 22.08.8-6
ii breeze 4:5.27.2-1
ii kactivitymanagerd 5.27.2-1
ii kde-cli-tools 4:5.27.2-1
ii kded5 5.103.0-1
ii kio 5.103.0-1
ii kpackagetool5 5.103.0-1
ii layer-shell-qt 5.27.2-1
ii libaccounts-qt5-1 1.16-2
ii libc6 2.36-8
ii libglib2.0-0 2.74.6-1
ii libibus-1.0-5 1.5.27-5
ii libkaccounts2 4:22.12.3-1
ii libkf5activities5 5.103.0-1
ii libkf5activitiesstats1 5.103.0-1
ii libkf5authcore5 5.103.0-1
ii libkf5baloo5 5.103.0-2
ii libkf5bookmarks5 5.103.0-1
ii libkf5codecs5 5.103.0-1
ii libkf5completion5 5.103.0-1
ii libkf5configcore5 5.103.0-1
ii libkf5configgui5 5.103.0-1
ii libkf5configwidgets5 5.103.0-1
ii libkf5coreaddons5 5.103.0-1
ii libkf5crash5 5.103.0-1
ii libkf5dbusaddons5 5.103.0-1
ii libkf5globalaccel-bin 5.103.0-1
ii libkf5globalaccel5 5.103.0-1
ii libkf5guiaddons5 5.103.0-1
ii libkf5i18n5 5.103.0-1
ii libkf5iconthemes5 5.103.0-1
ii libkf5itemviews5 5.103.0-1
ii libkf5jobwidgets5 5.103.0-1
ii libkf5kcmutils5 5.103.0-3
ii libkf5kcmutilscore5 5.103.0-3
ii libkf5kdelibs4support5 5.103.0-1
ii libkf5kiocore5 5.103.0-1
ii libkf5kiofilewidgets5 5.103.0-1
ii libkf5kiogui5 5.103.0-1
ii libkf5kiowidgets5 5.103.0-1
ii libkf5newstuffcore5 5.103.0-1
ii libkf5notifications5 5.103.0-1
ii libkf5notifyconfig5 5.103.0-1
ii libkf5package5 5.103.0-1
ii libkf5plasma5 5.103.0-1
ii libkf5plasmaquick5 5.103.0-1
ii libkf5quickaddons5 5.103.0-1
ii libkf5runner5 5.103.0-1
ii libkf5service-bin 5.103.0-1
ii libkf5service5 5.103.0-1
ii libkf5solid5 5.103.0-1
ii libkf5sonnetcore5 5.103.0-1
ii libkf5sonnetui5 5.103.0-1
ii libkf5widgetsaddons5 5.103.0-1
ii libkf5windowsystem5 5.103.0-1
ii libkf5xmlgui5 5.103.0-1
ii libkworkspace5-5 4:5.27.2-1
ii libnotificationmanager1 4:5.27.2-1
ii libpackagekitqt5-1 1.1.0-1
ii libphonon4qt5-4 4:4.11.1-4
ii libprocesscore9 4:5.27.2-1
ii libqt5concurrent5 5.15.8+dfsg-3
ii libqt5core5a 5.15.8+dfsg-3
ii libqt5dbus5 5.15.8+dfsg-3
ii libqt5gui5 5.15.8+dfsg-3
ii libqt5network5 5.15.8+dfsg-3
ii libqt5qml5 5.15.8+dfsg-3
ii libqt5quick5 5.15.8+dfsg-3
ii libqt5quickwidgets5 5.15.8+dfsg-3
ii libqt5sql5 5.15.8+dfsg-3
ii libqt5waylandclient5 5.15.8-2
ii libqt5widgets5 5.15.8+dfsg-3
ii libqt5x11extras5 5.15.8-2
ii libqt5xml5 5.15.8+dfsg-3
ii libscim8v5 1.4.18+git20211204-0.1
ii libstdc++6 12.2.0-14
ii libtaskmanager6abi1 4:5.27.2-1
ii libwayland-client0 1.21.0-1
ii libx11-6 2:1.8.4-2
ii libx11-xcb1 2:1.8.4-2
ii libxcb-keysyms1 0.4.0-1+b2
ii libxcb-record0 1.15-1
ii libxcb-xkb1 1.15-1
ii libxcb1 1.15-1
ii libxcursor1 1:1.2.1-1
ii libxi6 2:1.8-1+b1
ii libxkbcommon0 1.5.0-1
ii libxkbfile1 1:1.1.0-1
ii oxygen-sounds 4:5.27.2-1
ii phonon4qt5 4:4.11.1-4
ii plasma-desktop-data 4:5.27.2-1
ii plasma-framework 5.103.0-1
ii plasma-integration 5.27.2-1
ii plasma-workspace 4:5.27.2-1
ii polkit-kde-agent-1 4:5.27.2-1
ii qml-module-org-kde-draganddrop 5.103.0-1
ii qml-module-org-kde-kcoreaddons 5.103.0-1
ii qml-module-org-kde-kquickcontrols 5.103.0-1
ii qml-module-org-kde-kquickcontrolsaddons 5.103.0-1
ii qml-module-org-kde-kwindowsystem 5.103.0-1
ii qml-module-org-kde-qqc2desktopstyle 5.103.0-1
ii qml-module-org-kde-solid 5.103.0-1
ii qml-module-qt-labs-folderlistmodel 5.15.8+dfsg-3
ii qml-module-qt-labs-settings 5.15.8+dfsg-3
Versions of packages plasma-desktop recommends:
ii bluedevil 4:5.27.2-1
ii breeze-gtk-theme 5.27.2-1
ii fonts-hack 3.003-3
ii fonts-noto 20201225-1
ii ibus-data 1.5.27-5
pn kde-config-flatpak <none>
ii kde-config-gtk-style 4:5.27.2-1
ii kde-config-screenlocker 5.27.2-1
ii kde-config-sddm 4:5.27.2-1
ii kde-style-oxygen-qt5 4:5.27.2-1
ii kgamma5 5.27.2-1
ii khelpcenter 4:22.12.3-1
ii khotkeys 4:5.27.2-1
ii kinfocenter 4:5.27.2-1
ii kio-extras 4:22.12.3-1
ii kmenuedit 4:5.27.2-1
ii kscreen 4:5.27.2-1
ii ksshaskpass 4:5.27.2-1
ii kwin-wayland [kwin] 4:5.27.2-1
ii kwin-x11 [kwin] 4:5.27.2-1
ii kwrited 4:5.27.2-1
ii libpam-kwallet5 5.27.2-1
ii plasma-browser-integration 5.27.2-1
ii plasma-discover 5.27.2-1
ii plasma-disks 5.27.2-1
pn plasma-firewall <none>
ii plasma-nm 4:5.27.2-1
ii plasma-pa 4:5.27.2-1
ii plasma-systemmonitor 5.27.2-1
ii plasma-thunderbolt 5.27.2-1
ii plasma-vault 5.27.2-1
pn plasma-welcome <none>
ii plasma-workspace-wayland 4:5.27.2-1
ii powerdevil 4:5.27.2-1
ii systemsettings 4:5.27.2-1
ii xdg-desktop-portal-gtk 1.14.1-1
ii xdg-desktop-portal-kde 5.27.2-1
plasma-desktop suggests no packages.
-- no debconf information
Reply to: