Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to remove the following shortcuts from the preferences menu from terminal. Main Menu, Remote Desktop & Apperance. Can anyone help ?

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

for every user

if you want to edit it for everyone, then you can move desired .desktop files from /usr/share/applications directory, in your case alacarte.desktop, vino.desktop and gnome-appearance-properties.desktop

for example

cd /usr/share/applications
sudo mv alacarte.desktop gnome-appearance-properties.desktop vinagre.desktop /somedir

for one user

if you want to edit it for one user, you will probably need to edit file .config/menus/settings it is xml file. So, adding desired_file.desktop in second ... part could do this. Im not so strong with explaining how to edit xml files, but you can see what you will need to add there if you will look what changes when you will disable something in alacarte ( gui for editing menu )

share|improve this answer
    
It is not working. Still the shortcuts are there in the preferences menu. –  karthick87 May 4 '11 at 14:00
    
which one youre trying ? because I tried part with moving .desktop files from /usr/share/applications and it worked. Didnt edited xml file, just noticed changes made by alacarte –  Denwerko May 4 '11 at 14:20
    
ok, if i will have in .config/menus/settings written to include it will stay there even when moved from /usr/share/applications –  Denwerko May 4 '11 at 14:29
    
probably found out reason... check if user dont have files in .local/share/applications –  Denwerko May 4 '11 at 15:10
add comment

Here a GUI way to do it. Open Alacarte Install Alacarte. (I think it's installed by default on Ubuntu).

It's very intuitive and easy to use. You can enable/disable any element.

enter image description here

share|improve this answer
    
Thanks, but i know the GUI method :) –  karthick87 May 4 '11 at 14:01
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.