Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

What I want to do is open some programs in the boot sequence so Ubuntu loads them into memory. I'm already using the preload package and it's not helping in that part. Thanks.

share|improve this question

It should be possible to force ureadahead to load the programs during boot. Do achieve this:

  1. Delete the .pack files in /var/lib/ureadahead/:

    Alt + F2gnome-terminalsudo rm /var/lib/ureadahead/*.pack
  2. Make sure you are using automatic login:

    Alt + F2gdmsetup
  3. Reboot.
  4. Once your desktop loaded, quickly start the programs you want to preload during boot.
  5. To check if it worked, you can check, if the files are listed in the newly generated .pack files, e.g.:

    Alt + F2gnome-terminalureadahead --dump | grep "gedit"
  6. If a program is not included, you can extend the phase during which ureadahead waits after boot, by editing the file /etc/init/ureadahead.conf:

    Alt + F2gnome-terminalgksu gedit /etc/init/ureadahead.conf

    Then increase the sleep time in the last line: pre-stop exec sleep 45 and go back to 1.

share|improve this answer
If I wanted to allways include certain file in the pack, how do I not lose them on reproilfe? See my question… – turbo Nov 13 '11 at 14:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.