KDE env variable

incedis

Member
Joined
Jul 16, 2021
Messages
67
Reaction score
12
Credits
675
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 ?
 


wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
7,117
Reaction score
5,994
Credits
23,565
@incedis , G'day.

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

Good luck

Chris Turner
wizardfromoz
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
4,472
Reaction score
3,178
Credits
32,453
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:
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online

No members online now.

Top