LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-01-2004, 07:14 PM   #1
stonehurstX11
Member
 
Registered: Dec 2003
Location: New Jersey, USA
Distribution: Ubuntu 10.04
Posts: 120

Rep: Reputation: 15
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!
 
Old 07-01-2004, 07:19 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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
 
Old 07-01-2004, 07:25 PM   #3
stonehurstX11
Member
 
Registered: Dec 2003
Location: New Jersey, USA
Distribution: Ubuntu 10.04
Posts: 120

Original Poster
Rep: Reputation: 15
Now it works! Thankfully, KDE didn't get rid of this feature. Thanks, Tinkster!
 
Old 07-01-2004, 07:28 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Most welcome! :)


Cheers,
Tink
 
Old 07-23-2004, 05:40 PM   #5
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Rep: Reputation: 31
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...
 
Old 07-23-2004, 06:00 PM   #6
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
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...
 
Old 07-23-2004, 06:09 PM   #7
Corona4456
Member
 
Registered: Jul 2004
Distribution: SuSE 9.1
Posts: 66

Rep: Reputation: 15
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...
 
Old 07-23-2004, 06:09 PM   #8
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Rep: Reputation: 31
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...
 
Old 07-23-2004, 06:30 PM   #9
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
I don't know my way around Slackware too well, but could you not append the necessary lines to the script which starts X?
 
Old 07-23-2004, 06:45 PM   #10
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Rep: Reputation: 31
could you please give me the names of the scripts...

thanks in advance...
 
Old 08-20-2004, 12:54 PM   #11
philipacamaniac
Member
 
Registered: Oct 2003
Distribution: Slackware 10, Slackware-current, Slax
Posts: 50

Rep: Reputation: 15
Um, isn't Firestarter just a GUI frontend for iptables? You could certainly start iptables from rc.d...
 
Old 08-20-2004, 03:03 PM   #12
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Rep: Reputation: 31
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...
 
Old 08-20-2004, 08:39 PM   #13
philipacamaniac
Member
 
Registered: Oct 2003
Distribution: Slackware 10, Slackware-current, Slax
Posts: 50

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE launches unwanted programs at startup crisponions Linux - General 3 05-13-2004 01:57 AM
KDE restores programs on startup which shouldn't be restored diam0nd Linux - General 1 04-21-2004 06:10 PM
KDE edit programs automatically started on startup qwijibow Linux - Newbie 2 08-20-2003 09:23 PM
Programs on startup durden2.0 Linux - Newbie 7 06-02-2003 03:13 AM
Making Startup Programs for KDE Atroxic Linux - General 2 02-10-2002 06:11 PM


All times are GMT -5. The time now is 01:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration