GNOME Bugzilla – Bug 682359
.desktop files put in ~/.local/share/applications are not recognized by Default Applications of Removable Media in System Settings
Last modified: 2012-09-04 20:08:36 UTC
This probably isn't the right spot to put this bug, apologize in advance. I've tried to put a couple different .desktop's in ~/.local/share/applications but they will not show in System Setting's Default Applications and Removable Media. I suppose this may be by design because they show when I put them in /usr/share/applications but don't in ~/.local/share/applications. It would be great to have this fixed as I sometimes use them. Appreciate your hard work.
Which version of GNOME is this about?
Did you run update-desktop-database after adding your new desktop files?
Gnome 3.4. Go ahead and close this, there was something wrong with my system I think. .desktop shows now in Default Applications after deleting ~/.local/share/applications and re-adding and putting back in after reboot. Will re-open when installing 3.6 later and still exists. Off topic I think, but would appreciate the help. The .desktop if for clvc (the command line version of the VLC media player). After adding it doesn't show up in Removable Media > DVD Video. I used VLC's .desktop as the basis for the new one and I'm able to set VLC as the default Revovable Media DVD Video player. Is there something else I have to do to get cvlc to be recognized as such? [Desktop Entry] Type=Application Name=cVLC GenericName=Media Player GenericName[ca]=Reproductor multimèdia GenericName[de]=Medienwiedergabe GenericName[fr]=Lecteur multimédia GenericName[it]=Lettore multimediale GenericName[ja]=メディアプレーヤー X-GNOME-FullName=Command Line VLC Comment=Play movies and songs Icon=vlc TryExec=cvlc Exec=cvlc %U Terminal=false Type=Application Categories=AudioVideo;Player;Recorder; MimeType=video/dv;video/mpeg;video/x-mpeg;video/msvideo;video/quicktime;video/x-anim;video/x-avi;video/x-ms-asf;video/x-ms-wmv;video/x-msvideo;video/x-nsv;video/x-flc;video/x-fli;video/x-flv;video/vnd.rn-realvideo;video/mp4;video/mp4v-es;video/mp2t;application/ogg;application/x-ogg;video/x-ogm+ogg;audio/x-vorbis+ogg;application/x-matroska;audio/x-matroska;video/x-matroska;video/webm;audio/webm;audio/x-mp3;audio/x-mpeg;audio/mpeg;audio/x-wav;audio/x-mpegurl;audio/x-scpls;audio/x-m4a;audio/x-ms-asf;audio/x-ms-asx;audio/x-ms-wax;application/vnd.rn-realmedia;audio/x-real-audio;audio/x-pn-realaudio;application/x-flac;audio/x-flac;application/x-shockwave-flash;misc/ultravox;audio/vnd.rn-realaudio;audio/x-pn-aiff;audio/x-pn-au;audio/x-pn-wav;audio/x-pn-windows-acm;image/vnd.rn-realpix;audio/x-pn-realaudio-plugin;application/x-extension-mp4;audio/mp4;audio/amr;audio/amr-wb;x-content/video-vcd;x-content/video-svcd;x-content/video-dvd;x-content/audio-cdda;x-content/audio-player;application/xspf+xml;x-scheme-handler/mms;x-scheme-handler/rtmp;x-scheme-handler/rtsp; X-KDE-Protocols=ftp,http,https,mms,rtmp,rtsp,sftp,smb Keywords=Player;Capture;DVD;Audio;Video;Server;Broadcast; NoDisplay=True
(In reply to comment #3) > Gnome 3.4. > > Go ahead and close this, there was something wrong with my system I think. > .desktop shows now in Default Applications after deleting > ~/.local/share/applications and re-adding and putting back in after reboot. > Will re-open when installing 3.6 later and still exists. OK, closing. > Off topic I think, but would appreciate the help. The .desktop if for clvc > (the command line version of the VLC media player). After adding it doesn't > show up in Removable Media > DVD Video. I used VLC's .desktop as the basis for > the new one and I'm able to set VLC as the default Revovable Media DVD Video > player. Is there something else I have to do to get cvlc to be recognized as > such? Probably best to discuss in a GNOME forum, or one of the user mailing-lists. Though, did you run update-desktop-database?
> Probably best to discuss in a GNOME forum, or one of the user mailing-lists. Though, did you run update-desktop-database? Yes, I did run update-desktop-database.
Looks to be a quirk. After re-install it did fine (haven't tested out Removable Media) but Default Applications has it. Note: I did this after re-install I installed the .desktop then did: sudo update-desktop-database -q, after that I had to restart the shell before it got recognized.