You are not logged in.
I want to auto load archassistant after startup as a superuser in my kdemod4 laptop.
Could someone tell me how to achieve it?
Thanks
Acer Aspire V5-573P Antergos KDE
Offline
put it in /etc/rc.local?
Offline
ok how can i do it?
Acer Aspire V5-573P Antergos KDE
Offline
sudo nano /etc/rc.local
put the command to load it in there
Offline
would it load with sudo privileges then?
I mean would I be able to change rc.conf etc through archassistant without password?
Also isnt rc.local for non X programs? Archassistant needs to start after X loads
Last edited by venky80 (2008-10-23 14:24:02)
Acer Aspire V5-573P Antergos KDE
Offline
could someone explain as to what method should be used to autostart there are way too many places for autostarting stuff...also I want the autostarted application to have sudo permission
Thanks
Acer Aspire V5-573P Antergos KDE
Offline
rc.local won't work because that's boot time and archassistant needs X.
what you do is run
sudo visudo
which will open a vim session. Hit 'i'
Add this to the bottom:
your_user_name_here ALL=(ALL) NOPASSWD: /usr/bin/archassistant
Hit 'ESC' once
Hold 'Shift' and press 'Z' twice to save your changes
Then add "sudo archassistant" in your KDE4 control panel to startup applications. It may be under "Sessions" or something. I don't have KDE4 so I can't tell you exactly.
Offline
Thanks for the information I appreciate it.
Last edited by venky80 (2008-10-26 16:36:29)
Acer Aspire V5-573P Antergos KDE
Offline
Wouldn't archassistant need kdesu?
ARCH|awesome3.0 powered by Pentium M 750 | 512MB DDR2-533 | Radeon X300 M
The journey is the reward.
Offline