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

I like other applications in my Message-Menu (e.g. Thunderbird, XChat, Skype), so I have created hortcuts for those applications in folder /usr/share/indicators/messages/applications.

To avoid restoring those shortcuts after every fresh install of Ubuntu, I would like to know if there is a user-related path inside the home folder where to move them (like the Application folders for the Gnome menu items). I keep my home folder into a separate partition, so I don't have to restore my settings after every installations.

E.g.: you can customize for instance your menu settings using home folder ~/.local/share/applications. Launchers in this folder will override the ones in root folder /usr/share/applications, plus they will be kept after a fresh install if your home is in a separate partition or if you back it up.

share|improve this question
up vote 1 down vote accepted

If no-one comes up with a better answer you can always use a symbolic link (or symlink) (command ln). It only takes 3 steps:

  • Create a directory inside ~/.local/share/. For instance:mkdir ~/.local/share/my_shortcuts/

  • Move the files you made into this new directory. mv /usr/share/indicators/messages/applications/{my_shortcuts} ~/.local/share/my_shortcuts/

  • And to finish it off you can make a link to the directory where you moved them from with ln ~/.local/share/my_shortcuts/{shortcut} /usr/share/indicators/messages/applications/{shortcut}

You need to do this with every shortcut and when you change one the other gets changed too. After a re-install all you need to do is re-create the symlinks (save the commands in an executable (text) file in your home directory and you can execute them after re-installing).

share|improve this answer
Thank you Rinzwind: symlinks seem to be suitable workaround. I was looking for a more "native" way ;>) – igi May 21 '11 at 11:32

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.