Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.