Bug 478662 - Login scripts do not work if they are in a hidden directory or are a hidden file themselves
Summary: Login scripts do not work if they are in a hidden directory or are a hidden f...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Startup process (show other bugs)
Version: 5.27.10
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-17 19:26 UTC by Rune
Modified: 2025-04-18 06:02 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rune 2023-12-17 19:26:43 UTC
Login scripts do not work if they are in a hidden directory or are a hidden file themselves. If such a file is added as a login script in settings, it does not appear there the next time settings are opened and the script is not executed upon login. 
The corresponding .desktop file in .config/autostart/ exists.

STEPS TO REPRODUCE
1. Set a hidden file or a file in a hidden directory as a login script
2. Log in

OBSERVED RESULT
The script is not executed and the settings do not show it in the autostart section.

EXPECTED RESULT
The script is executed and can be seen in the autostart section of the settings.

SOFTWARE/OS VERSIONS
Linux:  6.6.7-arch1-1 (64-bit)
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.11
Comment 1 Rune 2023-12-17 19:28:54 UTC
Edit: If the script is in a hidden directory, it is correctly shown in system settings, but does not work.
Comment 2 Justin Zobel 2024-09-11 13:13:21 UTC
Confirmed on git master

Hidden file e.g .test.sh does not run and does not show up after reopening settings
A file e.g test.sh in a hidden folder e.g ~/.test/ does work and does show up for me.