You are not logged in.
Pages: 1
System: Arch, Plasma (obviously), Wayland
I have a bash script that I want to run at startup to mount external drives. I have created a script that resides in ~/bin and a desktop file that resides in ~/.config/autostart. The script is supposed to open a instance of Konsole, display a message, accept a user choice and execute a series of commands displaying the progress, and finally wait for a keypress to exit.
If I open Dolphin, go to ~.config/autostart and execute the .desktop file, it works as it should. But when I log in, the script executes without opening Konsole or waiting for input. I know this by going to Settings - Autostart and viewing the text in the file.
The .desktop file has a line terminal=true and, while it works when manually run, it doesn’t work at autorun. Is there something else I need?
I'm willing to post the files in that will help
Last edited by mt_arch_user (2025-08-09 04:23:40)
Offline
DUH! In the exec line of the .desktop file, I forgot to add the call to konsole -e before the call to the script. All is well now.
Offline
Pages: 1