Memyandi42 / gnome-menu-file-browser-applet

Automatically exported from code.google.com/p/gnome-menu-file-browser-applet
0 stars 0 forks source link

Executable flag: Musicfiles aren't opened via single click. #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When browsing through my Musicfolder, all Musicfiles are displayed bold. I
cannot open them with a single click. As I found out, the applet don't
opens the files because they have the executable flag. This is the only
Tool that makes problems with that. The Musikfolder resides on an external
FAT32 HDD.

Original issue reported on code.google.com by nordlich...@googlemail.com on 15 Nov 2008 at 11:12

GoogleCodeExporter commented 9 years ago
Forgot to say: I'm using Ubuntu Intrepid and Filebrowserapplet 0.6.0.

Original comment by nordlich...@googlemail.com on 15 Nov 2008 at 11:14

GoogleCodeExporter commented 9 years ago
mmm... yeah. I only look at the exec bit to determine if a file is executable. I
don't really want to keep track of a large number of possibly-executable content
types instead or in addition to the exec bit.

Any ideas? Damn FAT32.

Original comment by bertol...@gmail.com on 16 Nov 2008 at 11:40

GoogleCodeExporter commented 9 years ago
Sorry, I was wrong. Of course I was, FAT don't supports Unix-Flags. The Folder 
is on
an EXT3 Partition. The Filebrowserapplet is the only App that has Problems with 
this.
Maybe it would be possible to add an Option for the behavior of the Applet in 
such
Situations and let the User decide how to handle? Eventually for different 
Filetypes
of choice.

Original comment by nordlich...@googlemail.com on 17 Nov 2008 at 3:41

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I thought about having a "run or open" dialog popup on exec files, but decided 
it
would be clumsy. Maybe I will have to check the content type... Boo.

a.

Original comment by bertol...@gmail.com on 17 Nov 2008 at 3:53

GoogleCodeExporter commented 9 years ago
Wouldn't it be easier to overtake the dafault mime setting from the system?

Original comment by nordlich...@googlemail.com on 18 Nov 2008 at 7:01

GoogleCodeExporter commented 9 years ago
Not sure what you mean by overtake the default mime setting? The mime system 
does not
automatically run executable scripts. That's something I have to determine. 
Currently
I'm only using the exec, but maybe I should look at the content type too...

Original comment by bertol...@gmail.com on 18 Nov 2008 at 3:38

GoogleCodeExporter commented 9 years ago
Well, conveniently, gio has a  g_content_type_can_be_executable function. That 
guy
think of everything...

Fixed in trunk. Will close on next release.

Original comment by bertol...@gmail.com on 26 Nov 2008 at 1:51

GoogleCodeExporter commented 9 years ago

Original comment by bertol...@gmail.com on 5 Jan 2009 at 12:18

GoogleCodeExporter commented 9 years ago
Closing...

Original comment by bertol...@gmail.com on 13 Feb 2009 at 11:42