LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 02-12-2006, 04:16 PM   #1
thort
Member
 
Registered: Nov 2003
Location: Sweden
Distribution: Linux Mint Cinnamon 17.3
Posts: 192

Rep: Reputation: 31
Autostart programs at system startup


In Windows there is the possibility to autostart program at system startup.

Is there such a feature in linux?

Or, is there some application to install to get this option?
 
Old 02-12-2006, 04:43 PM   #2
esteeven
Senior Member
 
Registered: Oct 2001
Location: Bristol UK
Distribution: Slackware Ubuntu
Posts: 1,046

Rep: Reputation: 42
If you are using KDE, then try saving your current session and that should do what you want. I imagine that there is a similar tool in Gnome.
 
Old 02-12-2006, 04:54 PM   #3
accessrichard
Member
 
Registered: Apr 2005
Distribution: Fedora Core (latest version)
Posts: 156

Rep: Reputation: 30
There are a few posts on this forum about this topic.

For example with KDE

http://www.linuxquestions.org/questi...d.php?t=413137

and most desktop environment have similar ways to start programs when you load your desktop such as there is an option in one of the Gnome controls that allows ou to save your session.

There are also different ways to start programs while the operating system loads.

Google search for the
rc.local or the .bashrc files

Last edited by accessrichard; 02-12-2006 at 04:59 PM.
 
Old 02-12-2006, 05:08 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Furthermore, Linux comes with a very complete and configurable set of scripts that can be used to start things at boot time (as opposed to login time). I suggest you research the init program and how it works. Since you're using Ubuntu, your system uses System V style initialization.
 
Old 02-12-2006, 05:19 PM   #5
thort
Member
 
Registered: Nov 2003
Location: Sweden
Distribution: Linux Mint Cinnamon 17.3
Posts: 192

Original Poster
Rep: Reputation: 31
Thanks esteeven, accessrichard and btmiller for your replies!

I will look further into your suggestions tomorrow.

I will post back and tell the result.

Goodnight!
 
Old 02-13-2006, 03:10 PM   #6
thort
Member
 
Registered: Nov 2003
Location: Sweden
Distribution: Linux Mint Cinnamon 17.3
Posts: 192

Original Poster
Rep: Reputation: 31
Hi again!

In my gnome Ubuntu, under System -> Preferences -> Sessions, I found the option to add programs to start at system startup.

Very good! Here I can add whatever I want, as long as the program doesn't need to have root privileges.

I'm satisfied.

Once again, thank you for your hints!
 
  


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
autostart programs at login asgari22 Fedora 7 01-31-2005 05:12 PM
X autostart programs on userless sytem? Darktyco Linux - Software 6 08-03-2004 04:31 PM
Autostart Programs (Xscreensaver) When Starting Blackbox Ian Linux - Software 0 05-09-2004 04:05 PM
autostart programs mcd Slackware 1 09-12-2003 05:58 PM
autostart iptables script on system startup step Linux - Networking 2 03-21-2003 08:25 AM


All times are GMT -5. The time now is 03:21 AM.

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