https://bugs.kde.org/show_bug.cgi?id=433295

            Bug ID: 433295
           Summary: [systemd] Applications meant to autostart do not start
                    after switching to systemd
           Product: systemsettings
           Version: 5.21.0
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kcm_autostart
          Assignee: nicolas.fe...@gmx.de
          Reporter: szots...@gmail.com
                CC: plasma-b...@kde.org
  Target Milestone: ---

SUMMARY

I have some applications which I configured to automatically start during
login. The configuration has been done by the KCM, no manual work was involved
here.

Now, after switching to systemd many of these applications don't start anymore.

In the logs I can see (messages from one startup):

febr 20 08:42:09 openSUSE systemd[1516]:
/run/user/1000/systemd/generator.late/app-xhost-autostart.service:17:
WorkingDirectory= path is not absolute, ignoring: 
febr 20 08:42:09 openSUSE systemd[1516]:
/run/user/1000/systemd/generator.late/app-xbindkeys-autostart.service:17:
WorkingDirectory= path is not absolute, ignoring: 
febr 20 08:42:09 openSUSE systemd[1516]:
/run/user/1000/systemd/generator.late/app-redshift-autostart.service:17:
WorkingDirectory= path is not absolute, ignoring: 
febr 20 08:42:09 openSUSE systemd[1516]:
/run/user/1000/systemd/generator.late/app-org.kde.yakuake-autostart.service:17:
WorkingDirectory= path is not absolute, ignoring: 
febr 20 08:42:09 openSUSE systemd[1516]:
/run/user/1000/systemd/generator.late/app-org.kde.kontact-autostart.service:17:
WorkingDirectory= path is not absolute, ignoring: 
febr 20 08:42:09 openSUSE systemd[1516]:
/run/user/1000/systemd/generator.late/app-keepass-autostart.service:17:
WorkingDirectory= path is not absolute, ignoring: 
febr 20 08:42:09 openSUSE systemd[1516]:
/run/user/1000/systemd/generator.late/app-xhost-autostart.service:17:
WorkingDirectory= path is not absolute, ignoring: 
febr 20 08:42:09 openSUSE systemd[1516]:
/run/user/1000/systemd/generator.late/app-xbindkeys-autostart.service:17:
WorkingDirectory= path is not absolute, ignoring: 
febr 20 08:42:09 openSUSE systemd[1516]:
/run/user/1000/systemd/generator.late/app-redshift-autostart.service:17:
WorkingDirectory= path is not absolute, ignoring: 
febr 20 08:42:09 openSUSE systemd[1516]:
/run/user/1000/systemd/generator.late/app-org.kde.yakuake-autostart.service:17:
WorkingDirectory= path is not absolute, ignoring: 
febr 20 08:42:09 openSUSE systemd[1516]:
/run/user/1000/systemd/generator.late/app-org.kde.kontact-autostart.service:17:
WorkingDirectory= path is not absolute, ignoring: 
febr 20 08:42:09 openSUSE systemd[1516]:
/run/user/1000/systemd/generator.late/app-keepass-autostart.service:17:
WorkingDirectory= path is not absolute, ignoring: 
febr 20 08:42:09 openSUSE systemd[1516]:
/run/user/1000/systemd/generator.late/app-xhost-autostart.service:17:
WorkingDirectory= path is not absolute, ignoring: 
febr 20 08:42:09 openSUSE systemd[1516]:
/run/user/1000/systemd/generator.late/app-xbindkeys-autostart.service:17:
WorkingDirectory= path is not absolute, ignoring: 
febr 20 08:42:09 openSUSE systemd[1516]:
/run/user/1000/systemd/generator.late/app-redshift-autostart.service:17:
WorkingDirectory= path is not absolute, ignoring: 
febr 20 08:42:09 openSUSE systemd[1516]:
/run/user/1000/systemd/generator.late/app-org.kde.yakuake-autostart.service:17:
WorkingDirectory= path is not absolute, ignoring: 
febr 20 08:42:09 openSUSE systemd[1516]:
/run/user/1000/systemd/generator.late/app-org.kde.kontact-autostart.service:17:
WorkingDirectory= path is not absolute, ignoring: 
febr 20 08:42:09 openSUSE systemd[1516]:
/run/user/1000/systemd/generator.late/app-keepass-autostart.service:17:
WorkingDirectory= path is not absolute, ignoring: 

I additionally see the following warnings (which probably not affect whether
the application can be launched but may have other negative consequences down
the road):

febr 20 08:42:08 openSUSE systemd-xdg-autostart-generator[1522]:
/home/aki/.config/autostart/keepass.desktop:15: Unknown key name
'TerminalOptions' in section 'Desktop Entry', ignoring.
febr 20 08:42:08 openSUSE systemd-xdg-autostart-generator[1522]:
/home/aki/.config/autostart/xhost.desktop:14: Unknown key name
'TerminalOptions' in section 'Desktop Entry', ignoring.
febr 20 08:42:08 openSUSE systemd-xdg-autostart-generator[1522]:
/home/aki/.config/autostart/org.kde.kontact.desktop:15: Unknown key name
'TerminalOptions' in section 'Desktop Entry', ignoring.
febr 20 08:42:08 openSUSE systemd-xdg-autostart-generator[1522]: Configuration
file /home/aki/.config/autostart/org.kde.yakuake.desktop is marked executable.
Please remove executable permission bits. Proceeding an>
febr 20 08:42:08 openSUSE systemd-xdg-autostart-generator[1522]:
/home/aki/.config/autostart/org.kde.yakuake.desktop:119: Unknown key name
'TerminalOptions' in section 'Desktop Entry', ignoring.
febr 20 08:42:08 openSUSE systemd-xdg-autostart-generator[1522]:
/home/aki/.config/autostart/redshift.desktop:15: Unknown key name
'TerminalOptions' in section 'Desktop Entry', ignoring.
febr 20 08:42:08 openSUSE systemd-xdg-autostart-generator[1522]:
/home/aki/.config/autostart/xbindkeys.desktop:14: Unknown key name
'TerminalOptions' in section 'Desktop Entry', ignoring.

An example .desktop file which failed to start is:

$> cat ~/.config/autostart/keepass.desktop
[Desktop Entry]
Categories=Utility;Security;
Comment[hu_HU]=Secure Password Management System
Comment=Secure Password Management System
Exec=keepass
GenericName[hu_HU]=Password Manager
GenericName=Password Manager
Icon=keepass
MimeType=
Name[hu_HU]=KeePass
Name=KeePass
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
TryExec=/usr/bin/keepass
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=
X-SuSE-translate=false


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20210217
KDE Plasma Version: 5.21.0
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.10.16-1-default
OS Type: 64-bit
Graphics Platform: X11

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to