[hardy] media tab in file management preferences missing applications

Bug #191475 reported by zombiepig
80
This bug affects 1 person
Affects Status Importance Assigned to Milestone
F-Spot
Fix Released
Medium
amarok (Ubuntu)
Fix Released
Low
Larry muters
brasero (Ubuntu)
Fix Released
Undecided
Ubuntu Desktop Bugs
exaile (Ubuntu)
Invalid
Wishlist
Larry muters
f-spot (Ubuntu)
Fix Released
Low
James Westby
gthumb (Ubuntu)
Fix Released
Undecided
Larry muters
rhythmbox (Ubuntu)
Fix Released
Low
Sebastien Bacher
vlc (Ubuntu)
Fix Released
Wishlist
Larry muters

Bug Description

Binary package hint: nautilus

Under system->preferences->file management, the "media" tab does not detect a lot of the installed applications.

For instance, on a standard hardy alpha 4 install, both Music Player and Photos are disabled, with the text "No applications installed", despite Rhythmbox and F-spot being installed on the system.
Additionally, under the "other media" section, it's not possible to select brasero to be the default for "blank cd disc".

This tab seems to duplicate most of the functionality from "Removable Drives and Media", and the settings in it don't match up with what's set in the removable drives and media app. I think it should probably be hidden in the standard hardy install to prevent confusion.

For reference, here's the list of mime types nautilus uses:
               "media_audio_cdda_combobox", "x-content/audio-cdda",
               "media_video_dvd_combobox", "x-content/video-dvd",
               "media_music_player_combobox", "x-content/audio-player",
               "media_dcf_combobox", "x-content/image-dcf",
               "media_software_combobox", "x-content/software",

Revision history for this message
zombiepig (nyall-zombiepigs) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Confirming, thanks for your report.

Changed in nautilus:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug. That's not a nautilus issue, applications have to claim the corresponding mimetypes, opening task for those you mentionned

Changed in rhythmbox:
assignee: desktop-bugs → seb128
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package rhythmbox - 0.11.4-0ubuntu5

---------------
rhythmbox (0.11.4-0ubuntu5) hardy; urgency=low

  * debian/control.in:
    - updated libsoup build-depends so it uses the new version
  * debian/patches/90_from_svn_use_new_nautilus_mimetypes.patch:
    - change from SVN, use the new nautilus mimetypes so rhythmbox is listed
      as a music and audio CD player in the nautilus media dialog (lp: #191475)
  * debian/patches/90_from_svn_ipod_copy_whole_album_artwork.patch:
    - change from SVN, copy the whole ipod album artwork

 -- Sebastien Bacher <email address hidden> Wed, 13 Feb 2008 15:46:20 +0100

Changed in rhythmbox:
status: Fix Committed → Fix Released
Revision history for this message
Maia Everett (linneris) wrote :

Debdiff for F-Spot. I will also propose the changes to Debian and upstream.

f-spot (0.4.1-4ubuntu4) hardy; urgency=low

  * Added debian/f-spot-import.desktop, debian/install:
    - Add x-content/* mime types to register F-Spot in the Media tab
      in the file management preferences (LP: #191475)

 -- Matvey Kozhev <email address hidden> Thu, 14 Feb 2008 12:21:15 +0600

Changed in f-spot:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks Matvey for the debdiff and the patch!

I'm going to sponsor it, could you please add the upstream bug id once you submitted it there?

Thanks,
 Michael

Changed in f-spot:
assignee: nobody → mvo
status: Confirmed → In Progress
Revision history for this message
Maia Everett (linneris) wrote :

Filed the bug upstream for F-Spot.

Changed in f-spot:
status: New → Unknown
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package f-spot - 0.4.1-4ubuntu4

---------------
f-spot (0.4.1-4ubuntu4) hardy; urgency=low

  [ Matvey Kozhev ]
  * debian/patches/45_about-dialog.dpatch:
    - Cherry-picked migration to Gtk.AboutDialog from SVN 3568. (LP: #41825)

  [ Michael Vogt ]
  * debian/patches/50-fix-missing-G_GNUC_FUNCTION.diff:
    - fix ftbfs because of G_GNUC_FUNCTION
  * debian/patches/55-add-mimetype.dpatch:
    Modify the patch by Matvey to register F-Spot in the Media tab
    in the file management preferences (LP: #191475)

 -- Michael Vogt <email address hidden> Thu, 14 Feb 2008 09:50:24 +0100

Changed in f-spot:
status: In Progress → Fix Released
Changed in f-spot:
status: Unknown → New
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks Matvey! I changed your patch slightly and put the MimeType directly into the f-spot.desktop.in.in instead of creating a copy of the file, this ensures that we always get updated translations. But the effect is the same.

Revision history for this message
Maia Everett (linneris) wrote :

Thanks for the sponsorship. However, there was a reason why I created a separate desktop file: imports from removable devices are handled by f-spot-import, which is a wrapper for f-spot --import <url>; not just f-spot <url>.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Your change was not correct though, the strings there were not accurate and not translatable, are those used anywhere?

Changed in f-spot:
status: New → Invalid
Changed in f-spot:
status: Unknown → New
Revision history for this message
Luis Medinas (lmedinas) wrote :

This problem was fixed a few weeks ago on brasero svn but we had a typo on brasero 0.7.1 desktop file that is creating this bug hopefully we would like to release 0.7.2 before hardy release.

Revision history for this message
zombiepig (nyall-zombiepigs) wrote :

To fix this problem:

the mimetype= line in /usr/share/applications/brasero.desktop is wrong, it should read

MimeType=application/x-cd-image;application/x-cdrdao-toc;application/x-toc;application/x-cue;application/x-brasero;x-content/blank-cd;x-content/blank-dvd;x-content/blank-bd;x-content/blank-hddvd;

currently, one of the ;'s is a :

Then a quick

sudo update-desktop-database
sudo update-mime-database /usr/share/mime

will add brasero to the blank media options.

Revision history for this message
Matthew Gregg (mcg) wrote :

How does a user override applications presented in the tab? For example I need to run f-spot with a -i and a -b switch.

Revision history for this message
James Westby (james-w) wrote :

Hi,

The f-spot fix caused bug 21186, so I am reopening to
change the solution and use the --import approach that
was chosen.

Thanks,

James

Changed in f-spot:
assignee: mvo → james-w
status: Fix Released → In Progress
Revision history for this message
James Westby (james-w) wrote :

Hi,

Attached is my debdiff to try and solve this issue for f-spot.

I made use of the existing f-spot-import script that is installed.

Thanks,

James

Revision history for this message
James Westby (james-w) wrote :

Hi,

I should explain why I created just a .desktop file rather than a .desktop.in.in.
I though being this close to the release it would be better to just get a
fix in, as I doubt translators would have much time to translate
any new strings here. As the .desktop isn't used for display (though
I think the name may be used in nautilus' content bar) I don't think
it matters too much.

Thanks,

James

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package f-spot - 0.4.2-1ubuntu1

---------------
f-spot (0.4.2-1ubuntu1) hardy; urgency=low

  * Sync on Debian
  * debian/control.in:
    - don't use beagle
    - updated maintainer information
  * debian/patches/importer_targetdir_selector.dpatch:
    - Add a target directory selector to the camera import dialog, so that
      people can continue to use their customized directory layout.

  [ James Westby ]
  * Change the fix from 0.4.1-4ubuntu4 to use a separate
    f-spot-import.desktop, as f-spot.desktop will not start
    f-spot if you pass it a directory. This happens when you
    use the context bar in nautilus to open f-spot from e.g.
    a CF card full of photos. There is already an f-spot
    command provided in the path. To use that we will create
    a new .desktop that is associated with those mimetypes
    and leave the normal f-spot.desktop to provide the menu
    item. (LP: #191475)

 -- Sebastien Bacher <email address hidden> Wed, 26 Mar 2008 09:43:45 +0100

Changed in f-spot:
status: In Progress → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

no other upload waiting for sponsoring, unsubscribing the sponsors

Changed in amarok:
assignee: nobody → apachelogger
importance: Undecided → Low
status: New → Confirmed
Daniel Hahler (blueyed)
description: updated
Revision history for this message
Kivech (kivech-deactivatedaccount) wrote :

Ok, I'd like to confirm this problem as well.

I'm having this problem with the VLC player. I want to set it as my default DVD player, but it is not listed in the drop down list. So at this point I cannot have VLC be my default player upon insertion of a movie DVD.

Revision history for this message
Daniel Hahler (blueyed) wrote :

The patch for amarok has been added to bug 103227:
   * debian/patches/kubuntu_09_audio_mimetypes.diff:
     - Add x-content/audio-player mimetype (LP: #191475)
       I've not added x-content/audio-cdda, because that does not work
       reliable

Revision history for this message
manny (estelar57) wrote :

yes, also need VLC as default..

Daniel Hahler (blueyed)
Changed in vlc:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Daniel Hahler (blueyed) wrote :

The patch has been removed for amarok: for reasoning, see https://bugs.edge.launchpad.net/ubuntu/+source/amarok/+bug/103227/comments/10

Revision history for this message
alpha-X-geek (alpha-x-geek) wrote :

I can tell from what I've read that this isn't a Nautilus bug as such, but why not have the ability to choose an application manually? Or use a special command? I want to be able to use this command for playing DVDs in Hardy:

vlc --vout-filter deinterlace --deinterlace-mode blend --volume 512 --fullscreen %m

It works great in Gutsy and I want to do it in Hardy without having to hack at things. I want to help others use the above command and keep it as simple as possible for them.

Thanks for reading,

Nathan

Revision history for this message
Payteer (prowan) wrote :

Hello,
I agree with Nathan, I believed Ubuntu/linux was all about user control and not been like MS and taking that control away from us. Gutsy was good in allowing this tinkering to happen, and I am a bit worried that it is now gone in Hardy. I have also seen this in other areas also.
Thanks,
Peter

Revision history for this message
Sebastien Bacher (seb128) wrote :

The change is not something which has been made to remove user choices, there is just a lot of code which has been rewritten, everybody has lot to do and nobody worked on that yet, you are welcome to give a hand and send a patch for that feature though

Revision history for this message
alpha-X-geek (alpha-x-geek) wrote :

Sebastien,

Thanks for the clarification. I would love to help add the feature, but I have no experience in writing code (only left Windows behind a year ago). I can see this kind of feature will be added at some point and I respect the fact that the devs have much work to do. I also respect the fact that it's not an urgent matter.

Thanks again,

Nathan

Revision history for this message
alpha-X-geek (alpha-x-geek) wrote :

Possible workaround:

I've modified my instructions for Hardy users by taking some advice given on Launchpad. I'm not gonna add it to my how-to until I know how well it works.
Tell me if this works for you:

 Copy and paste this into the Terminal:

sudo cp /usr/share/applications/vlc.desktop ~/.local/share/applications/vlc.desktop

Go to your home folder, then click on "View" in the file browser (Nautilus) and select the "Show Hidden Files" option. Now, find the folder ".local" in your home folder, open it and then open the folders "share" and "applications". Now, find and right-click on "vlc.desktop" and navigave to Properties>Launcher>Command. Change the command to:

vlc --vout-filter deinterlace --deinterlace-mode blend --volume 512 --fullscreen %m

Now, navigate to Edit>Preferences>Media>DVD Video and select VLC.

Delete "--fullscreen" if you have problems with it launching in fullscreen,

Nathan

Changed in brasero:
assignee: nobody → desktop-bugs
status: New → Confirmed
Revision history for this message
Kivech (kivech-deactivatedaccount) wrote :

As much as I appreciate reassuringlyoffensive's attempts to find a proper workaround (you know me from the forums as "kivech"), doesn't it make more sense to just add the VLC player to the list of possible DVD players in Nautilus?

We are in RC already and this discussion has been going on for over a month now. As much as I understand your pressure and how busy you guys are (obviously at this stage of a release), it would save a lot of people a lot of hassle if this could be put in before it becomes the "official release".

Revision history for this message
alpha-X-geek (alpha-x-geek) wrote :

Kivech,

VLC wouldn't autoplay with the current launch command even if it was added to the list, so we just need to wait for a return of the ability to launch by command string.

Please ignore the workaround I posted above, as the per-user method is a little bit tricky compared with the following system-wide approach:

First of all, if you followed my other crappy method, open the Terminal and delete that file in ~/.local/share/applications, as it's not needed with the system-wide approach;

rm ~/.local/share/applications/vlc.desktop

Keep the Terminal open and copy and paste this command into it:
gksudo gedit /etc/gnome/defaults.list

Change the line "x-content/video-dvd=totem.desktop" to "x-content/video-dvd=vlc.desktop". Close and save.

Note: You need to repeat the following steps each time VLC is updated.

Next, edit the following two files by pressing alt+f2, typing your password and then by navigating to both /usr/share/applications/vlc.desktop and /usr/share/app-install/desktop/vlc.desktop. Right-click on them and select "Properties" in the context menu, then replace the "exec=vlc %U" launch command of both files to:

exec=vlc --vout-filter deinterlace --deinterlace-mode blend --volume 512 %m

Close and save both files. Finally, navigate to Nautilus>Edit>Preferences>Media>DVD Video, select VLC and then reboot or logout before you insert a DVD.

Nathan

Revision history for this message
alpha-X-geek (alpha-x-geek) wrote :

Just done some testing today and come up with a working per-user method, which I recommend now rather than my previous efforts. Sorry about the confusion, the tests could have been better,

After following these instructions, you will have two alternate entries in your context menu "Open with" list and the file properties "Open with" list, so that you can open VLC with the standard command.

To change the default DVD player in Hardy to VLC, open the Terminal and copy and paste this command into it:

gksudo gedit /etc/gnome/defaults.list

Press "ctrl+f" and search for "x-content/video", then change the totem.desktop" entries to vlc.desktop". Close and save.

Next, right-click on "Applications" in the top panel and select "Edit Menus" to open the default menu editor. Navage down to "Sound & Video" in the left pane, select it, then right-click on "VLC media player" in the right pane, select "Properties" and change the launch command from "wxvlc %F" to:

vlc --vout-filter deinterlace --deinterlace-mode blend --volume 512 --fullscreen %m

Close the VLC properties dialog and exit the menu editor. Finally, navigate to Places>Home>Edit>Preferences>Media>DVD Video and select VLC.

Nathan

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Exaile is not currently registering with Nautilus as an option to play inserted CDs or as an option to open when a media player is connected.

Changed in exaile:
importance: Undecided → Wishlist
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

A complete (I believe) of the new content types that can be registered:

x-content/blank-cd
x-content/blank-dvd
x-content/blank-bd
x-content/blank-hddvd
x-content/video-dvd
x-content/video-vcd
x-content/video-svcd
x-content/video-blueray
x-content/video-hddvd
x-content/audio-cdda
x-content/audio-dvd
x-content/audio-player
x-content/image-dcf
x-content/image-picturecd

Also a question, is fixing this issue for an application something that could get a SRU for Hardy or is this just something that will have to wait for Intrepid?

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

This has been fixed in brasero

brasero (0.7.1-3) unstable; urgency=low

  * DEB_DESTDIR := instead of =.
  * New patch, 007-fix-desktop-file-mime-typo, fixes typo in desktop file (":"
    instead of ";"); Launchpad #200024; closes: #464772.

Changed in brasero:
status: Confirmed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

such changes are fine for hardy-updates uploads

Changed in f-spot:
status: New → Fix Released
Revision history for this message
zcat (zcat) wrote :

OK, nathan's suggestion was fairly easy. But could somebody PLEASE PLEASE write something (A dialog, under removable drives and media where it used to be, preferably) that lets ordinary users change the default media player without having to manually edit mime types and .desktop files FFS.

Revision history for this message
Sebastien Bacher (seb128) wrote :

there is already bug #227162 about letting users use a random command

Revision history for this message
Philippe Piquer (philippep62) wrote :

I also had to dig deep into Google to find a correct answer (at least one that work) for VLC.
So resolving this important for Mr Everybody.

http://ubuntuguide.org/wiki/Ubuntu:Hardy#How_to_make_VLC_open_when_you_insert_a_DVD

Revision history for this message
zcat (zcat) wrote : Re: [Bug 191475] Re: [hardy] media tab in file management preferences missing applications

I'm not sure how different packages identify themselves as being a media
player; perhaps this bug should be filed against the VLC package for not
registering itself somwhere?

I still want an option at the bottom of the list "Run this command" so I can
have some completely different program start, such as k9copy..

And I still want the menu to be duplicated under System > Preferences >
Removable Drives and Media" where it used to be. I still strongly believe
that's the most 'intuitive' place people will look for it. And even if it
wasn't, I also think that it's not a good idea for Ubuntu to make such
confusing changes to the interface just when we're starting to get
'non-geeks' learning to use the OS.

2008/7/8 Philippe Piquer <email address hidden>:

> I also had to dig deep into Google to find a correct answer (at least one
> that work) for VLC.
> So resolving this important for Mr Everybody.
>
>
> http://ubuntuguide.org/wiki/Ubuntu:Hardy#How_to_make_VLC_open_when_you_insert_a_DVD
>
> --
> [hardy] media tab in file management preferences missing applications
> https://bugs.launchpad.net/bugs/191475
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
This email is for the intended recipient only. If you are not the intended
recipient you must burn your computer, while standing on one foot and
chanting the entire jabberwocky.
The opinions expressed here are not necessarily the opinions of the person
who expressed them.

Revision history for this message
Brad Johnson (itsbradman-gmail) wrote :

This one I got working already, but thanks. Wish I could get amarok to open
when I connect my ipod.

On Mon, Jul 7, 2008 at 1:54 PM, Philippe Piquer <email address hidden>
wrote:

> I also had to dig deep into Google to find a correct answer (at least one
> that work) for VLC.
> So resolving this important for Mr Everybody.
>
>
> http://ubuntuguide.org/wiki/Ubuntu:Hardy#How_to_make_VLC_open_when_you_insert_a_DVD
>
> --
> [hardy] media tab in file management preferences missing applications
> https://bugs.launchpad.net/bugs/191475
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in Personal photo management for the GNOME desktop: Fix Released
> Status in "amarok" source package in Ubuntu: Confirmed
> Status in "brasero" source package in Ubuntu: Fix Released
> Status in "exaile" source package in Ubuntu: New
> Status in "f-spot" source package in Ubuntu: Fix Released
> Status in "gthumb" source package in Ubuntu: New
> Status in "rhythmbox" source package in Ubuntu: Fix Released
> Status in "vlc" source package in Ubuntu: Triaged
>
> Bug description:
> Binary package hint: nautilus
>
> Under system->preferences->file management, the "media" tab does not detect
> a lot of the installed applications.
>
> For instance, on a standard hardy alpha 4 install, both Music Player and
> Photos are disabled, with the text "No applications installed", despite
> Rhythmbox and F-spot being installed on the system.
> Additionally, under the "other media" section, it's not possible to select
> brasero to be the default for "blank cd disc".
>
> This tab seems to duplicate most of the functionality from "Removable
> Drives and Media", and the settings in it don't match up with what's set in
> the removable drives and media app. I think it should probably be hidden in
> the standard hardy install to prevent confusion.
>
> For reference, here's the list of mime types nautilus uses:
> "media_audio_cdda_combobox", "x-content/audio-cdda",
> "media_video_dvd_combobox", "x-content/video-dvd",
> "media_music_player_combobox", "x-content/audio-player",
> "media_dcf_combobox", "x-content/image-dcf",
> "media_software_combobox", "x-content/software",
>

Revision history for this message
Olivier Samyn (olivier-oleastre) wrote :

Same problem with gthumb.

Latest svn revision added the following mime types to the gthumb.desktop file:
x-content/image-dcf
x-content/image-picturecd

Revision history for this message
Jens Askengren (jens-askengren) wrote :

Could Eye Of Gnome be added as an alternative to F-Spot for media disks?

Changed in amarok:
assignee: apachelogger → nobody
Revision history for this message
Bryan Quigley (bryanquigley) wrote :

fixed in intrepid

Changed in gthumb:
status: New → Fix Released
Revision history for this message
Bryan Quigley (bryanquigley) wrote :

vlc - fixed in intrepid

Changed in vlc:
status: Triaged → Fix Released
Revision history for this message
Mackenzie Morgan (maco.m) wrote :

Based on http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html it appears x-content is now part of the standard, so I'm going to add x-content/audio-cdda and x-content/audio-player to amarok.desktop file.

Changed in amarok (Ubuntu):
status: Confirmed → Fix Released
Changed in f-spot:
importance: Unknown → Medium
Changed in exaile (Ubuntu):
status: New → Confirmed
Changed in exaile (Ubuntu):
status: Confirmed → Fix Committed
assignee: nobody → Larry muters (lawrencemuters8)
Changed in gthumb (Ubuntu):
assignee: nobody → Larry muters (lawrencemuters8)
Changed in vlc (Ubuntu):
assignee: nobody → Larry muters (lawrencemuters8)
Changed in amarok (Ubuntu):
assignee: nobody → Larry muters (lawrencemuters8)
Jeremy Bícha (jbicha)
Changed in exaile (Ubuntu):
status: Fix Committed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.