PDA

View Full Version : [Solved] How to add gVim to applications menu?


lordtang
June 4th, 2010, 15:16
Hi, Can anyone help me? I have installed gVim via ports and I can type command in Terminal to start it. Now I want to add gVim to applications menu? What should I do?

Many thanks for your reply? Thanks

SirDice
June 4th, 2010, 15:27
Create a gvim.desktop file in ~/.local/share/applications/:

[Desktop Entry]
Encoding=UTF-8
Type=Application
Exec=gvim %f
Name=gvim
Comment=Custom definition for gvim
Categories=GTK;Utility;TextEditor;


Or place that file in /usr/local/share/applications/ to make it available for all users.

fender0107401
June 7th, 2010, 05:02
I added it to the gnome-panel and deleted the gnome-main-menu from the gnome-panel.