1. Run update-desktop-database ~/.local/share/applications after you did the edit.
2. Add NoDisplay=true, and it won't be shown in applications menu.
Lightweight X11 Desktop Environment
Roland wrote:Sorry for raising old topic, but user scripts are still not implemented, so need to use this way.
I'm trying to create a context menu "Send email", using *.desktop file.
But have a trouble, what default Mimetype i have to use for all files (mean that associate desktop with every file)?
cp ~/.local/share/applications/mimeapps.list ~/.local/share/applications/mimeapps.list_backup
cat /etc/mime.types |sed 's/\(.*\)\t.*/\1/g'|sed 's/\t//g'| tr "\\n"";"|sed 's/;/=test.desktop;test2.desktop\n/g'>>~/.local/share/applications/mimeapps.list'
sed -i 's/\(image\/.*\)/\1test3_only_for_images.desktop;/g' ~/.local/share/applicatons/mimeapps.list
Users browsing this forum: No registered users and 0 guests