[systemsettings] [Bug 462099] Autostart of a shell script does not work anymore since the upgrade to 22.04
https://bugs.kde.org/show_bug.cgi?id=462099 --- Comment #20 from Nate Graham --- This bug was filed against Neon, which uses Ubuntu 22.04 as a base. It's not that old, so it's unfortunate that they don't ship the version of systemd with this bug fixed. What systemd version is the fix in? -- You are receiving this mail because: You are watching all bug changes.
[systemsettings] [Bug 462099] Autostart of a shell script does not work anymore since the upgrade to 22.04
https://bugs.kde.org/show_bug.cgi?id=462099 --- Comment #19 from David Edmundson --- As a workaround, wrapping in a shell script would work as then the topmost process will stay alive -- You are receiving this mail because: You are watching all bug changes.
[systemsettings] [Bug 462099] Autostart of a shell script does not work anymore since the upgrade to 22.04
https://bugs.kde.org/show_bug.cgi?id=462099 David Edmundson changed: What|Removed |Added Resolution|--- |UPSTREAM Status|REPORTED|RESOLVED --- Comment #18 from David Edmundson --- We're missing `ExitType=cgroup` Newer systemd will fix it. -- You are receiving this mail because: You are watching all bug changes.
[systemsettings] [Bug 462099] Autostart of a shell script does not work anymore since the upgrade to 22.04
https://bugs.kde.org/show_bug.cgi?id=462099 Nate Graham changed: What|Removed |Added Status|NEEDSINFO |REPORTED Resolution|WAITINGFORINFO |--- --- Comment #17 from Nate Graham --- That's odd. It definitely looks like it's running. Maybe it runs and then immediately dies for some reason? This is getting beyond my debugging abilities. -- You are receiving this mail because: You are watching all bug changes.
[systemsettings] [Bug 462099] Autostart of a shell script does not work anymore since the upgrade to 22.04
https://bugs.kde.org/show_bug.cgi?id=462099 --- Comment #16 from bluelupo --- Hello Nate, no xbindkeys does not run in the process list. $ ps -ef|grep -i xbindkeys michael 81968164 0 07:18 pts/100:00:00 grep --color=auto -i xbindkeys $ systemctl status --user app-xbindkeys@autostart.service ○ app-xbindkeys@autostart.service - xbindkeys Loaded: loaded (/etc/xdg/autostart/xbindkeys.desktop; generated) Active: inactive (dead) since Thu 2022-12-15 06:51:53 CET; 32min ago Docs: man:systemd-xdg-autostart-generator(8) Process: 3110 ExecStart=/usr/bin/xbindkeys_autostart (code=exited, status=0/SUCCESS) Main PID: 3110 (code=exited, status=0/SUCCESS) CPU: 28ms Dez 15 06:51:53 neonlight systemd[2514]: Starting xbindkeys... Dez 15 06:51:53 neonlight systemd[2514]: Started xbindkeys. -- You are receiving this mail because: You are watching all bug changes.
[systemsettings] [Bug 462099] Autostart of a shell script does not work anymore since the upgrade to 22.04
https://bugs.kde.org/show_bug.cgi?id=462099 Nate Graham changed: What|Removed |Added See Also||https://bugs.kde.org/show_b ||ug.cgi?id=461758 -- You are receiving this mail because: You are watching all bug changes.
[systemsettings] [Bug 462099] Autostart of a shell script does not work anymore since the upgrade to 22.04
https://bugs.kde.org/show_bug.cgi?id=462099 Nate Graham changed: What|Removed |Added Resolution|--- |WAITINGFORINFO Status|REPORTED|NEEDSINFO --- Comment #15 from Nate Graham --- Looks like it worked. So despite that output, `xbindkeys` is not running? You can confirm with `ps -e | grep -i xbindkeys`? -- You are receiving this mail because: You are watching all bug changes.
[systemsettings] [Bug 462099] Autostart of a shell script does not work anymore since the upgrade to 22.04
https://bugs.kde.org/show_bug.cgi?id=462099 --- Comment #14 from bluelupo --- $ systemctl cat --user app-xbindkeys@autostart.service # /run/user/1000/systemd/generator.late/app-xbindkeys@autostart.service # Automatically generated by systemd-xdg-autostart-generator [Unit] Documentation=man:systemd-xdg-autostart-generator(8) SourcePath=/etc/xdg/autostart/xbindkeys.desktop PartOf=graphical-session.target Description=xbindkeys After=graphical-session.target [Service] Type=exec ExecStart=:/usr/bin/xbindkeys_autostart Restart=no TimeoutSec=5s Slice=app.slice -- You are receiving this mail because: You are watching all bug changes.
[systemsettings] [Bug 462099] Autostart of a shell script does not work anymore since the upgrade to 22.04
https://bugs.kde.org/show_bug.cgi?id=462099 --- Comment #13 from bluelupo --- Output of the command $ systemctl status --user app-xbindkeys@autostart.service ○ app-xbindkeys@autostart.service - xbindkeys Loaded: loaded (/etc/xdg/autostart/xbindkeys.desktop; generated) Active: inactive (dead) since Tue 2022-12-13 06:57:21 CET; 2h 49min ago Docs: man:systemd-xdg-autostart-generator(8) Process: 3105 ExecStart=/usr/bin/xbindkeys_autostart (code=exited, status=0/SUCCESS) Main PID: 3105 (code=exited, status=0/SUCCESS) CPU: 31ms Dez 13 06:57:20 neonlight systemd[2614]: Starting xbindkeys... Dez 13 06:57:20 neonlight systemd[2614]: Started xbindkeys. -- You are receiving this mail because: You are watching all bug changes.
[systemsettings] [Bug 462099] Autostart of a shell script does not work anymore since the upgrade to 22.04
https://bugs.kde.org/show_bug.cgi?id=462099 --- Comment #12 from thenujan --- (In reply to bluelupo from comment #11) > Hi thenujan, > > there is no autostart unit > > $ systemctl status --user start_xbindkeys.sh > Unit start_xbindkeys.sh.service could not be found. You wouldn't have the autostart unit in the same name. you need to look for the generated unit inside the directory I mentioned ($XDG_RUNTIME_DIR/systemd/generator.late). It would start with "app-". It would contain the name start_xbindkeys the underscore might be replaced with something else -- You are receiving this mail because: You are watching all bug changes.
[systemsettings] [Bug 462099] Autostart of a shell script does not work anymore since the upgrade to 22.04
https://bugs.kde.org/show_bug.cgi?id=462099 --- Comment #11 from bluelupo --- Hi thenujan, there is no autostart unit $ systemctl status --user start_xbindkeys.sh Unit start_xbindkeys.sh.service could not be found. -- You are receiving this mail because: You are watching all bug changes.
[systemsettings] [Bug 462099] Autostart of a shell script does not work anymore since the upgrade to 22.04
https://bugs.kde.org/show_bug.cgi?id=462099 thenujan changed: What|Removed |Added CC||sthenujan2...@gmail.com --- Comment #10 from thenujan --- Can you check the logs of the generated autostart unit? to do so, cd $XDG_RUNTIME_DIR/systemd/generator.late You should find the unit generated for your script then find the logs by systemctl status --user "scriptname" -- You are receiving this mail because: You are watching all bug changes.
[systemsettings] [Bug 462099] Autostart of a shell script does not work anymore since the upgrade to 22.04
https://bugs.kde.org/show_bug.cgi?id=462099 kskot <288pat0...@mailcatch.com> changed: What|Removed |Added CC||288pat0...@mailcatch.com --- Comment #9 from kskot <288pat0...@mailcatch.com> --- Might be this bug, which is resolved upstream in systemd 250. Neon is on 249 :( https://bugs.kde.org/show_bug.cgi?id=433299 -- You are receiving this mail because: You are watching all bug changes.
[systemsettings] [Bug 462099] Autostart of a shell script does not work anymore since the upgrade to 22.04
https://bugs.kde.org/show_bug.cgi?id=462099 Nate Graham changed: What|Removed |Added Status|NEEDSINFO |REPORTED CC||k...@davidedmundson.co.uk Resolution|WAITINGFORINFO |--- --- Comment #8 from Nate Graham --- It turns off Systemd boot. Systemd boot is stricter about what's allowed to autostart, and it sounds like this thing is triggering its strictness. You can use that workaround for now, but for further debugging, please disable it by running `kwriteconfig5 --file startkderc --group General --key systemdBoot true`. David, any ideas? -- You are receiving this mail because: You are watching all bug changes.
[systemsettings] [Bug 462099] Autostart of a shell script does not work anymore since the upgrade to 22.04
https://bugs.kde.org/show_bug.cgi?id=462099 --- Comment #7 from bluelupo --- The command line command they mentioned solved the problem. The start_xbindkeys autostart script is now executed when the KDE desktop is started. Thus the additional key bindings for the mouse are initiated in the script start_xbindkeys . I still have one question, what exactly does the command do? -- You are receiving this mail because: You are watching all bug changes.
[systemsettings] [Bug 462099] Autostart of a shell script does not work anymore since the upgrade to 22.04
https://bugs.kde.org/show_bug.cgi?id=462099 --- Comment #6 from Nate Graham --- Thanks. If you run `kwriteconfig5 --file startkderc --group General --key systemdBoot false` in a terminal window and reboot, does it start working again? -- You are receiving this mail because: You are watching all bug changes.
[systemsettings] [Bug 462099] Autostart of a shell script does not work anymore since the upgrade to 22.04
https://bugs.kde.org/show_bug.cgi?id=462099 --- Comment #5 from bluelupo --- the shellccript is executable, I already paid attention to that. -rwx-- 1 michael michael 24 Feb 10 2015 /home/michael/userscripts/start_xbindkeys -- You are receiving this mail because: You are watching all bug changes.
[systemsettings] [Bug 462099] Autostart of a shell script does not work anymore since the upgrade to 22.04
https://bugs.kde.org/show_bug.cgi?id=462099 --- Comment #4 from Nate Graham --- The script appears to not be executable. Does it start working if you make it executable? -- You are receiving this mail because: You are watching all bug changes.
[systemsettings] [Bug 462099] Autostart of a shell script does not work anymore since the upgrade to 22.04
https://bugs.kde.org/show_bug.cgi?id=462099 --- Comment #3 from bluelupo --- Created attachment 154160 --> https://bugs.kde.org/attachment.cgi?id=154160=edit Autostart shellscript Here is my shellscript in the file attachment -- You are receiving this mail because: You are watching all bug changes.
[systemsettings] [Bug 462099] Autostart of a shell script does not work anymore since the upgrade to 22.04
https://bugs.kde.org/show_bug.cgi?id=462099 Nate Graham changed: What|Removed |Added Assignee|unassigned-b...@kde.org |nicolas.fe...@gmx.de CC||n...@kde.org, ||plasma-b...@kde.org Component|general |kcm_autostart Status|REPORTED|NEEDSINFO Version|unspecified |5.26.0 Product|kde |systemsettings Resolution|--- |WAITINGFORINFO --- Comment #2 from Nate Graham --- Can you attach the script file? -- You are receiving this mail because: You are watching all bug changes.