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.
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,
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.
Registered Linux user #447046
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.
HTH …
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
Bookmarks