Example .desktop file to select vim terminal editor for your files in the
Open with other application
dialog is (also you can found it at the "Programs" gnome3 meny tab): [Desktop Entry]
Encoding=UTF-8
Name=Vim Text Editor (Console)
Comment=Edit text files in a console using Vim
Exec=vim %u
Terminal=true
Type=Application
Icon=/usr/share/pixmaps/vim.png
Categories=Application;Utility;TextEditor;
StartupNotify=true
MimeType=text/plain;
NoDisplay=false
Save it as:
~/.local/share/applications/vim.desktop
Also I used that icon for vim. And put file into:
/usr/share/pixmaps/
Комментариев нет:
Отправить комментарий