After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 682359 - .desktop files put in ~/.local/share/applications are not recognized by Default Applications of Removable Media in System Settings
.desktop files put in ~/.local/share/applications are not recognized by Defau...
Status: RESOLVED NOTABUG
Product: gnome-control-center
Classification: Core
Component: Removable Media
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-08-21 14:21 UTC by Todd Partridge (Gently)
Modified: 2012-09-04 20:08 UTC
See Also:
GNOME target: ---
GNOME version: 3.3/3.4



Description Todd Partridge (Gently) 2012-08-21 14:21:20 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.
Comment 1 André Klapper 2012-08-21 14:46:26 UTC
Which version of GNOME is this about?
Comment 2 Bastien Nocera 2012-08-21 16:47:02 UTC
Did you run update-desktop-database after adding your new desktop files?
Comment 3 Todd Partridge (Gently) 2012-08-22 20:18:46 UTC
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
Comment 4 Bastien Nocera 2012-08-23 09:07:25 UTC
(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?
Comment 5 Todd Partridge (Gently) 2012-08-23 09:11:56 UTC
> 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.
Comment 6 Todd Partridge (Gently) 2012-09-04 20:08:36 UTC
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.