https://bugs.kde.org/show_bug.cgi?id=472454
Bug ID: 472454
Summary: AutoStart Fails To Run Non FlatPak/Snap Applications
and Login/Logout Scripts
Classification: Applications
Product: systemsettings
Version: 5.27.6
Platform: Neon
OS: Linux
Status: REPORTED
Severity: major
Priority: NOR
Component: kcm_autostart
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
SUMMARY
AutoStart will not start bash scripts or non Flatpak/Snap based installed
applications.
STEPS TO REPRODUCE
1. Create a bash script which attempts to start another application, calls a
python script, etc...
2. Add this script to AutoStart as a login script
3. Reboot and see if it runs
or
1. Add an AutoStart entry for an application that is not a Flatpak or Snap
application (something installed via .deb or APT)
2. Reboot and see if it runs
OBSERVED RESULT
It doesn't start the application on login unless it is installed via Flatpak or
Snap. Scripts don't seem to execute either.
EXPECTED RESULT
It starts the script or application on login.
SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Kernel Version: 5.19.0-46-generic (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 5600G with Radeon Graphics
Memory: 16.0 GiB of RAM
Graphics Processor: AMD Radeon RX 5500
ADDITIONAL INFORMATION
This shortcut was created through the AutoStart GUI, marked executable, and
placed in the ~/.config/autostart directory.
[Desktop Entry]
Comment[en_US]=
Comment=
Exec=/home/abystus/Documents/startup.sh
GenericName[en_US]=
GenericName=
Icon=dialog-scripts
MimeType=
Name[en_US]=startup.sh
Name=startup.sh
Path=/home/abystus/Documents/
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-KDE-AutostartScript=true
X-KDE-SubstituteUID=false
X-KDE-Username=
Script: (marked executable, at location /home/abystus/Documents/):
#!/bin/bash
/usr/bin/python /home/abystus/Dropbox/Source/Python/setmicvolumeteams.py
Do note that script could be performing any action creating a new file,
starting an application, etc... For some odd reason it will not execute on
login, and I've even tried creating my own .desktop file to no avail with and
without Terminal=true. The python script runs fine if ran from a terminal, so I
know it works.
--
You are receiving this mail because:
You are watching all bug changes.