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

            Bug ID: 456667
           Summary: Autostart scripts (commands) not executing
           Product: systemsettings
           Version: 5.25.3
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kcm_autostart
          Assignee: nicolas.fe...@gmx.de
          Reporter: s...@gmx.de
                CC: plasma-b...@kde.org
  Target Milestone: ---

SUMMARY
When trying to execute a bash script or a command line program directly nothing
happens, the script/command is not executed when the computer starts. As far as
I can tell this happens since plasma 5.25 and the introduction systemd startup.


STEPS TO REPRODUCE
program:
1. Add a new autostart entry "Application".
2. Add this command "amixer -c 0 sset Front unmute" as the "Command" in the
"Application" tab.
3. Restart your computer.

script:
0. Create a new bash script with the same command: 
#!/usr/bin/env bash 
amixer -c 0 sset Front unmute
1. Save it as autostarter and make it executable.
2. Execute the script once to test if it works.
3. Add a new autostart entry "Login script".
4. Select the autostarter script .
5. Restart your computer.

OBSERVED RESULT
The command is not executed.
No visible results or logs I can find. Happy to help to debug this.

EXPECTED RESULT
The script should be executed.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
Linux main 5.18.10-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 07 Jul 2022 17:18:13
+0000 x86_64 GNU/Linux
KDE Plasma Version: 
5.25.3
KDE Frameworks Version: 
5.96.0
Qt Version: 
5.15.5

ADDITIONAL INFORMATION
Using 

kwriteconfig5 --file startkderc --group General --key systemdBoot false 

fixes it for now since it disables systemd startup completely.

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

Reply via email to