Summary: | Autostart Not Working For Kali Linux 2020.4 & Garuda Linux using KDE | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Matt <pinglh> |
Component: | kcm_autostart | Assignee: | Nicolas Fella <nicolas.fella> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | plasma-bugs-null |
Priority: | NOR | ||
Version First Reported In: | 5.19.5 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Matt
2020-12-20 05:59:52 UTC
Trying a work around for .desktop could not get working. I have added KDE to PopOS same issue. The scripts need to have an appropriate shebang (e.g. #!/usr/bin/env sh), otherwise it won't because Plasma doesn't assume any particular shell. Does your script have that? I got the script to work with #!/bin/sh Could you tell me why my script without #!/bin/sh would work in xfce for start up? I thought "#" would just comment out the #!/bin/sh, as long as the file type is .sh and you set it to execute with an sh. It would just work. P.S. were would I post for a feature request for KDE? I would like to add sounds when closing and opening windows. Thank you for all your help. (In reply to Matt from comment #4) > I got the script to work with #!/bin/sh > > Could you tell me why my script without #!/bin/sh would work in xfce for > start up? I don't know how XFCE does it exactly, but it could be that they just run every script using sh, which would be wrong if that script is something like python or perl. > I thought "#" would just comment out the #!/bin/sh, as long as the file type > is .sh and you set it to execute with an sh. It would just work. # indeed is usually a comment, but #! makes it special. Strictly speaking the extension is just a name and has no further meaning. Although it would be weird it would technically be valid to have a file named foo.sh to be a python script under the hood by having #!/usr/bin/env python > P.S. were would I post for a feature request for KDE? I would like to add > sounds when closing and opening windows. Here on bugs.kde.org for the kwin product, but the answer to that will probably be something like "You can write a custom KWin script that does that" Do you happen to what is a good resource for kwin scripting? Thank you for your help. You can close the ticket. |