• We did not send an email asking for donations - please read this post.

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 ?
 


wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
7,799
Reaction score
6,627
Credits
28,757
@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,994
Reaction score
3,640
Credits
36,403
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!

Linux.org Hosting Donations
Consider making a donation

Members online


Top