KDE env variable

incedis

Member
Joined
Jul 16, 2021
Messages
79
Reaction score
13
Credits
801
I need to have a script start when KDE start. Reading, I found out that the best practice is to put the script where env variable KDE are.
Code:
~/.config/plasma-workspace/env/
kde env
Did I interpret that correctly ?
I made the script executable
Code:
# chmod u+x script.sh
The script has user permission and NOT root. Is that correct ?
 


@incedis , G'day.

I'm moving this to Command Line, where scripting inquiries are also handled.

Good luck

Chris Turner
wizardfromoz
 
The script has user permission and NOT root. Is that correct ?
That is correct, it should be owned by your user because it's executed for your user's graphical environment but it can be owned by root and will work as long as it as execute permissions (ie: chmod 755 filename or chmod +x filename).
 
Last edited:

Members online


Latest posts

Top