Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got a fresh install of Fedora 15 that I've set up. I want it to be able to download podcasts++ so I've installed rtorrent.

But how do I make rtorrent start up along with the OS?

Also, does anyone know where the conf file for rtorrent is? I don't want it to melt my router.

share|improve this question
up vote 2 down vote accepted

In Gnome 3 it doesn't seem to be that easy yet. Here's a workaround though. Note that this should work for any application, but I can't try it with rtorrent. Just report back if you have problems.

Let's find out the path of rtorrent first. Open up a terminal and enter:

which rtorrent

Remember this path. Then, try the following:

 mkdir -p ~/.config/autostart
 cd !$
 gedit rtorrent.desktop &

Gedit should open and let you edit this file. In this file, enter the following:

[Desktop Entry]

Where it says /path/to/rtorrent, enter the path you've found out before. Then, save the file and close Gedit and the terminal. Now you need to restart Gnome and the application should start with your desktop session.

share|improve this answer
I don't have a desktop installed, I've just got command line. Not sure, but can't I add something to init.d? – Jason94 Jun 8 '11 at 6:43
Didn't know that.. well no, you should use the crontab then, as Rich posted above. – slhck Jun 8 '11 at 8:00

All Linux distros use Vixie cron. It allows starting things on reboot.

If you can stomach crontab config, you can run crontab -e and add a simple line like:

@reboot /path/to/rtorrent/or/some/script

It runs as whatever user owns the crontab, which is you.

For the rtorrent config, since you're on an RPM system, you can query the RPM DB:

rpm -q --filesbypkg rtorrent

Or, more generally, use locate

locate rtorrent.conf
share|improve this answer
i've started up rtorrent and it is a app that is not run in the background. would not this solution start up the computer and run the app like i would? what about a solution involving "screen rtorrent" to make it startup in another screen? might that work? – Jason94 Jun 8 '11 at 8:11
If it's a GUI app, it will probably fail when it can't connect to a XServer. If it's command line, you can run in background by adding '&' to the end of the line in your crontab. – Rich Homolka Jun 8 '11 at 14:26

Just run in a terminal gnome-session-properties. For me it worked in fedora 15

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .