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

Is there a way to copy the Ubuntu desktop menu or parts of it between computers?

I am copying some program files in my home folder from one computer to another. I don't need the whole menu to be copied just the parts for the programs I have transferred.

Is this possible?

share|improve this question
up vote 2 down vote accepted

The default location for menu files (to modify global menus) are in /usr/share/applications (.desktop files) and /usr/share/desktop-directories (.directory files) for the main menus. I believe you can simply copy those you want and transfer them because to create new menu items, you create new files.

To modify only the user's menu, the files are under ~/.local/share/applications and ~/.local/share/desktop-directories.

share|improve this answer
1  
Aren't there any user files in the user's home directories? I thought that menu files customised by a user will be in the user's home directory. – vfclists Dec 20 '12 at 2:34
    
Yes there are, under ~/,local/share (same directopries as /usr/share) but if you modify there, the menu will appear only for your user but this may be what you want! :) as the programs are in your home directory... I didn't pay attention to this point... – laurent Dec 20 '12 at 3:21

You must log in to answer this question.

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