Startup programs in KDE
Hi, I am using Mandrake 10.0 with KDE 3.2.
This is just a quick question. I have a small program that I want to automatically startup after KDE boots up. Is there a way to to this? Thanks in advance! |
Assuming that the KDE didn't dump this feature
in 3.2... Yes, there is ... open a Konsole cd ~/.kde/Autostart put the programs name there and voila! :) Cheers, Tink |
Now it works! Thankfully, KDE didn't get rid of this feature. Thanks, Tinkster!
|
Most welcome! :)
Cheers, Tink |
how would i do this for a program which requires root permission... (ie )firestarter to load automatically without the user having to enter root password...
|
AFAIK, you would add a similar line to one of the startup scripts which live in /etc/rc.d.
Someone else may like to shed further light... |
not too sure about this but maybe if you change the permissions to the program and set the suid bit. or just make it executable to all users (unless it's trying to access other files which require it to be executed by root). the SUID bit should let you do that though...
|
tried it but as firestarter requires X to be up and running.... entering in /etc/rc.d/rc.local doesnt work as it tries to start firestarter in console mode...
|
I don't know my way around Slackware too well, but could you not append the necessary lines to the script which starts X?
|
could you please give me the names of the scripts...
thanks in advance... |
Um, isn't Firestarter just a GUI frontend for iptables? You could certainly start iptables from rc.d...
|
yeah... but is there a way in linux for programs to automatically load as root in GUI mode...
say for an example in WinNT the system admin can automatically make programs load after logon... which normal users cant disable... i just wanna do the same... thanks... |
No idea, doesn't sound very secure.
Anyway - in slackware, you'll want to check out xinitrc (I think). I can't remember where it is, but you can do a "locate xinitrc" if you've ever initialized/updated the "locate" database (which is the "locate -u" command") startx just points to xinitrc, and that's the x startup script. I don't know if you can run x programs from there - I'll go read the man pages, I suppose. |
All times are GMT -5. The time now is 06:08 AM. |