← Back to team overview

desktop-packages team mailing list archive

[Bug 1216788] Re: #!/usr/bin/python files and similar variants are not shown as executable files

 

> 1. are the files executable in the terminal? if so, you should check
the executable flags. this may be obvious, but it's worth looking into.

I think this needs more clarification after this long time. The files
affected by this bug have there gear icon on the file missing (that I
was refering to in the startpost as executable files which wasn't
accurate). They look then just like simple text files.


> 2. are they only files that use #!/usr/bin/python? what about python3? what about #!/usr/bin/env python? for that matter, where does /usr/bin/python point to? it is a symbolic link after all.

At least Python 2, Python 3 and C files are currently affected by this
bug (but PCManFM is correctly detecting the file types and I got the
hint in the PCManFM tracker that this bug is probably related to an
icon-theme). But I remember to have encountered more file types in the
past.


> furthermore, what are the versions of everything are we talking about? what 14.10 image? a release or a daily image? which one? what is the last version you can say this was working with?

An upgraded Ubuntu 14.10 dev from an older Ubuntu version (the bug
appears on 2 such machines). The package versions are:

sworddragon@ubuntu:~$ installed-packages -o name -s all | awk '{print $5,$6}' | grep -E 'icon-theme|libfm|pcmanfm|shared-mime-info'
gnome-icon-theme-full (3.12.0-1ubuntu1)
gnome-icon-theme-symbolic (3.12.0-1)
gnome-icon-theme (3.12.0-1ubuntu1)
hicolor-icon-theme (0.13-1)
libfm-data (1.2.2.1-1ubuntu1)
libfm-gtk-data (1.2.2.1-1ubuntu1)
libfm-gtk4 (1.2.2.1-1ubuntu1)
libfm4 (1.2.2.1-1ubuntu1)
lxde-icon-theme (0.5.1-1)
pcmanfm (1.2.2-1)
shared-mime-info (1.2-0ubuntu3)

** Changed in: lxde-icon-theme (Ubuntu)
       Status: Incomplete => New

** Changed in: shared-mime-info (Ubuntu)
       Status: Incomplete => New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to shared-mime-info in Ubuntu.
https://bugs.launchpad.net/bugs/1216788

Title:
  Files previously shown with a gear icon (like #!/usr/bin/python) are
  now shown as text files

Status in “lxde-icon-theme” package in Ubuntu:
  New
Status in “shared-mime-info” package in Ubuntu:
  New

Bug description:
  I'm using Ubuntu 13.10 dev with shared-mime-info 1.1-0ubuntu4. For a few days after upgrading the system I have noticed that python-files aren't shown as executable files anymore. I have already opened a bug report on upstream for this: https://bugs.freedesktop.org/show_bug.cgi?id=68494
  But I'm not sure if this is really a bug in shared-mime-info because after downgrading shared-mime-info, PCManFM and libfm to the versions from Ubuntu 13.04 (libfm-data, libfm-gtk-bin, libfm-gtk-data, libfm-gtk3, libfm3, pcmanfm, shared-mime-info) and rebooting the system the problem still exists.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxde-icon-theme/+bug/1216788/+subscriptions