pcmanfm shows mounted grub files as music files

Bug #1445254 reported by Lyn Perrine
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pcmanfm (Ubuntu)
New
Undecided
Unassigned

Bug Description

To reproduce dd an iso from zsync http://cdimage.ubuntu.com/lubuntu/daily/20150416/vivid-alternate-amd64.iso.zsync to a usb. Then boot into an installed version of lubuntu and mount the usb in the sidebar of pcmanfm and change directory to /

/media/brendanper/Lubuntu 15.04 amd64/boot/grub/x86_64-efi
with brendanper replaced by your username.

Then open pcmanfm and notice these /mod files for grub show the icon for music. Changing the icon theme for Music shows that this is still the same.

Amiga SoundTracker audio...

pcmanfm:
  Installed: 1.2.3-1.1
  Candidate: 1.2.3-1.1
  Version table:
 *** 1.2.3-1.1 0
        500 http://us.archive.ubuntu.com/ubuntu/ vivid/universe amd64 Packages
        100 /var/lib/dpkg/status

Description: Ubuntu Vivid Vervet (development branch)
Release: 15.04
 I expected the files to show as binary executables like they do if I run the file command in the same directory. Instead they show as music files as is shown in the screenshot.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: pcmanfm 1.2.3-1.1
ProcVersionSignature: Ubuntu 3.19.0-14.14-generic 3.19.3
Uname: Linux 3.19.0-14-generic x86_64
ApportVersion: 2.17.1-0ubuntu2
Architecture: amd64
Config_pcmanfm_System_Lubuntu: Error: [Errno 2] No such file or directory: '/etc/xdg/pcmanfm/Lubuntu/lubuntu.conf'
CurrentDesktop: LXDE
Date: Thu Apr 16 16:08:45 2015
InstallationDate: Installed on 2015-04-16 (0 days ago)
InstallationMedia: Lubuntu 15.04 "Vivid Vervet" - Beta amd64 (20150416)
SourcePackage: pcmanfm
Udisks_dump: Error: [Errno 2] No such file or directory: 'udisks'
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Lyn Perrine (walterorlin) wrote :
Revision history for this message
LStranger (andrej-rep) wrote :

Unfortunately it is complicate when files have the same extension as MOD music files. In version 1.2.4 the file type guess was made more complicated so I would suggest to try libfm4 version 1.2.4-1 which I hope should come to Xenial shortly, your issue should be fixed now. Thank you.

Revision history for this message
Redwolf (viking.redwolf) wrote :

I don't recommend "forgetting" the MOD files icons. These files are needed in some audio sequencers. At the moment systems relay on extensions filenames and not in content (which is extremely slower) we can't offer a solution. So I think it's an artwork issue. Anyway, as you already tested, changing the icon won't solve it, and assigning GRUB files to real music would be a mistake too.

Revision history for this message
LStranger (andrej-rep) wrote :

I agree with you. I just asked you to check it with newer libfm4 package and I believe it should work. Thank you.

Revision history for this message
Lyn Perrine (walterorlin) wrote :

I still get this in both lubuntu 16.04 and 16.10 with libfm-1.2.4-1 but not sure fixing this would not break something else. So mark this won't fix?

Revision history for this message
TBeholder (turbobeholder) wrote :

Perhaps the only way to resolve ambiguity is an option for using MIME magick system.
Which is going to be slow in huge directories, but still a lot faster than thumbnails.

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.