Results 1 to 5 of 5

Thread: entry in rc.local

Hybrid View

  1. #1
    Junior Member
    Join Date
    Sep 2006
    Posts
    70

    entry in rc.local

    Hi Guys,

    My intention is to initiate stardict automatically everytime system boots. So I put the command for stardict in /etc/rc.local file. I restarted the system but nothing new happened. Please advice if I am going wrong somewhere.


    Thanks,

  2. #2
    Member
    Join Date
    Jan 2007
    Location
    Adelaide, Australia
    Posts
    112
    It would help with a few more details, like the command you put in rc.local, wether the executable for stardict is actually executable and a few details of your distro.

  3. #3
    Associate
    Join Date
    Nov 2007
    Location
    south England
    Posts
    23

    starting startdict at boot time

    I've just read the paragraph <how to change your default gateway> and editing your /etc/rc.local, but I wouldn't think this is the file to edit with anything else than network settings.
    Peter Harrison's book Linux quick fix notebook, also see his site: http://www.linuxhomenetworking.com/w...e_Two_Gateways

  4. #4
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935
    You SHOULD not use rc.local for anything unless you are modifying the whole system and needed it.

    You should always utilize the other rc directories specific to your run level (such as Debian based distros use run level 2 so you modify the file in rc2.d directory) or if you want it to be system wide, then use rcS.d directory. There give the number to the appropiate number starting with S for start and K for non-start.

    For example, you don't want Firefox to start before you have networking up or madwifi for whatever.

    Short explaination is

    S45startdict

    S stand for Start
    45 is the quere position
    startdict is the name representing it. You can name whatever you want here.

    I have SETI start it automatically and it's S99seti so it start the very last.

    HTH ...
    LinuxVillage - The truely community run Linux/Floss forum !

    No IT BS !!

  5. #5
    Quote Originally Posted by explorer View Post
    My intention is to initiate stardict automatically everytime system boots.
    Hello,

    I am not going to make any assumptions other than you are using Gnome since it is a Debian default and when you say the above, you mean you want it running once you log in and don't want to have to launch it.

    So if that isn't correct, please let me know and I will adjust this post.

    Once logged in, open the 'sessions' dialog from "Desktop" -> "Preferences". It will give you some tabs to select different things. One of them is "Startup Programs". After you click it, there is an option to "Add" programs to start once you log into your system. From there you find the STARDICT binary you want to run, for me is it /usr/bin/stardict, and it should start by itself at the next login.

    I hope this helps and let us know how things work out for you.

    Regards,
    S9

Similar Threads

  1. frist entry
    By sheik2syed in forum General Chat
    Replies: 4
    Last Post: 12-07-2006, 04:06 AM
  2. Odd Network Entry
    By GhostDawg in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 02-16-2006, 11:45 PM
  3. Editing Man entry
    By irishsquid in forum Linux - General Topics
    Replies: 1
    Last Post: 08-26-2005, 08:19 PM
  4. /var/log/messages: log entry analysis
    By Blaqb0x in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 09-26-2002, 03:34 AM
  5. strange entry in /var/log/messages
    By civ1492 in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 12-07-2001, 03:25 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •