HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free and registered users see less advertising! If you just want to browse through the existing questions, just select the forum that you want to visit from the selection below. Otherwise, click here to register!. We highly recommend that you print a copy of our Guide for New Members. Enjoy!

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.

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

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.

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.