KDE env variable

incedis

Member
Joined
Jul 16, 2021
Messages
59
Reaction score
10
Credits
590
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
6,889
Reaction score
5,685
Credits
21,704
@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,141
Reaction score
2,888
Credits
29,893
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!

Staff online

Members online


Top