[Bug 292504] Re: Use embedded icons for executable files

2010-07-12 Thread Scott Ritchie
The thumbnailer works great now ** Changed in: gnome-exe-thumbnailer (Ubuntu) Status: Fix Committed = Fix Released -- Use embedded icons for executable files https://bugs.launchpad.net/bugs/292504 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 292504] Re: Use embedded icons for executable files

2009-11-10 Thread Compholio
Yes, and this will perhaps provide the motivation Gnome needs to strip the draw a box around all thumbnails code and put it into the thumbnailers themselves where it belongs. FYI, with Karmic if the thumbnail is small enough (though I'm not sure exactly how Gnome determines this value) the

[Bug 292504] Re: Use embedded icons for executable files

2009-09-09 Thread Compholio
Hmm, didn't know about this bug... The discussion on ELF binaries probably isn't helpful to you, it mostly goes along the lines of: You think Linux is OpenWindows? Funny... -- jrusinek So, if you guys know of some way to change the icon that gets rid of the annoying border on newer versions of

[Bug 292504] Re: Use embedded icons for executable files

2009-09-09 Thread Endolith
Well you can right-click - Properties - Click the icon and change it, which is probably controlled by some .dotfile in the home directory, but I'm not sure if modifying that file is the right way to go about changing icons programmatically. The ugly border is because you're not actually changing

[Bug 292504] Re: Use embedded icons for executable files

2009-09-09 Thread Scott Ritchie
So I've created the gnome-exe-thumbnailer package for Karmic. The goal is this: If file is executable permissions, show just the embedded exe If file is not executable, show its icon contained in a generic program window with a Wine logo embedded on the side. ** Package changed: wine (Ubuntu)

[Bug 292504] Re: Use embedded icons for executable files

2009-09-09 Thread Compholio
Yeah, I'm aware of why the border shows up - older versions of nautilus didn't do that so I was a tad irritated when they added the border for images less than the thumbnail size. At one time I was trying to explore how text files have custom icons, but I didn't see a way to gain access to that

[Bug 292504] Re: Use embedded icons for executable files

2009-09-09 Thread Endolith
Can you post a screenshot? It doesn't use a Wine emblem? -- Use embedded icons for executable files https://bugs.launchpad.net/bugs/292504 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 292504] Re: Use embedded icons for executable files

2009-09-09 Thread Scott Ritchie
An emblem would be a similar idea, although I don't think nautilus exposes that functionality to thumbnailer scripts. -- Use embedded icons for executable files https://bugs.launchpad.net/bugs/292504 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 292504] Re: Use embedded icons for executable files

2009-09-09 Thread Endolith
I really don't think the thumbnailer is the right way to do it.So it's going to look like this in Karmic? http://launchpadlibrarian.net/21331762/gnome-exe-thumbnailer.png -- Use embedded icons for executable files https://bugs.launchpad.net/bugs/292504 You received this bug notification

[Bug 292504] Re: Use embedded icons for executable files

2009-09-09 Thread Scott Ritchie
Yes, and this will perhaps provide the motivation Gnome needs to strip the draw a box around all thumbnails code and put it into the thumbnailers themselves where it belongs. It's either that or hack something into libgnomeui (loses the modularity of thumbnailers) or define some new custom icon

[Bug 292504] Re: Use embedded icons for executable files

2009-03-30 Thread Scott Ritchie
I'm going to assign this to myself. For Karmic, there will be a new package (I'm thinking wine-support) that's meant to be installed before Wine is; this package is where we'll put things like the thumbnailer script in this bug report and the prompt to install Wine. ** Changed in: wine (Ubuntu)

[Bug 292504] Re: Use embedded icons for executable files

2009-03-30 Thread Endolith
That's great, but I'm not sure the thumbnailer approach is the right approach, as shown in the images. I'm not sure what the right approach would be, though. Is there any precedent for executable files with different icons? .exe files in Ubuntu are kind of like files in an interpreted language,

[Bug 292504] Re: Use embedded icons for executable files

2009-03-30 Thread Scott Ritchie
The frames need to go, of course, but I believe that could be fixed in nautilus if there isn't a way to do it already. -- Use embedded icons for executable files https://bugs.launchpad.net/bugs/292504 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 292504] Re: Use embedded icons for executable files

2009-03-30 Thread Endolith
Right. So it would be better to change the actual icons instead of using a thumbnailer script. Here's some discussion about the same idea applied to ELF binaries: http://brainstorm.ubuntu.com/idea/5744/ https://blueprints.launchpad.net/ubuntu/+spec/elficon http://www.compholio.com/elficon/

[Bug 292504] Re: Use embedded icons for executable files

2009-01-18 Thread Endolith
Also, using a thumbnailer as in the gnome-exe-thumbnailer script isn't even the right approach. Thumbnails are larger than normal icons, and are displayed with a frame around them, which makes it look all odd. ** Attachment added: gnome-exe-thumbnailer script creating thumbnails based on

[Bug 292504] Re: Use embedded icons for executable files

2009-01-18 Thread Endolith
It would be better to use the extracted icon as the file's actual icon, instead of as a thumbnail, in the same way that you can set a custom icon for a file using the Properties dialog. Again, I'm not sure if there's any precedent for this, though (using different icons for files of the same MIME

[Bug 292504] Re: Use embedded icons for executable files

2009-01-17 Thread Endolith
Well, the file association would be used for that, right? Or are .exe files not associated with Wine by default? Here's a mockup of what I'm imagining. I'm not sure there's really a precedent for this, though. If you have SVG files associated with Inkscape, you don't see SVG thumbnails with a

[Bug 292504] Re: Use embedded icons for executable files

2009-01-17 Thread Endolith
** Attachment added: Full-size icons with CrossOver emblems.png http://launchpadlibrarian.net/21296776/Full-size%20icons%20with%20CrossOver%20emblems.png -- Use embedded icons for executable files https://bugs.launchpad.net/bugs/292504 You received this bug notification because you are a

[Bug 292504] Re: Use embedded icons for executable files

2009-01-15 Thread Scott Ritchie
You make a good point Endolith, although I don't think we currently have a mechanism inside the thumbnailer for determining which of Wine/Crossover/etc will open a particular executable. I'll try and talk to Codeweavers about it. -- Use embedded icons for executable files

[Bug 292504] Re: Use embedded icons for executable files

2009-01-13 Thread Endolith
I think it makes sense to add a Wine icon (emblem?) over top of the exe's built-in icon, to indicate that it's going to be run under Wine. If the exe were going to be run through something else (CrossOver? a virtual Windows machine?) then it could have a different emblem representing that. If

[Bug 292504] Re: Use embedded icons for executable files

2009-01-13 Thread Endolith
I'm not convinced this should be built into Wine, but it should be assigned to something. ** Also affects: wine (Ubuntu) Importance: Undecided Status: New -- Use embedded icons for executable files https://bugs.launchpad.net/bugs/292504 You received this bug notification because you

[Bug 292504] Re: Use embedded icons for executable files

2008-12-17 Thread Scott Ritchie
The original icon should be the large one, not the Wine icon. Actually, we may not even want to bother with a Wine bottle at all. -- Use embedded icons for executable files https://bugs.launchpad.net/bugs/292504 You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 292504] Re: Use embedded icons for executable files

2008-12-16 Thread StefanHuszics
From a users POV it makes no sense at all that an icon isnt displayed if a Window software CD is inserted. After all, putting an W2k+ software CD into Windows 98 still shows the CD icon I presume. So there is no automatic Icon means software will work properly, or even at all correlation. Also

[Bug 292504] Re: Use embedded icons for executable files

2008-12-16 Thread Endolith
Here's what the gnome-exe-thumbnailer script (http://www.mediafire.com/?ky94kc2jdjb) does to the icons, as mentioned. ** Attachment added: Windows icons.png http://launchpadlibrarian.net/20487134/Windows%20icons.png -- Use embedded icons for executable files

[Bug 292504] Re: Use embedded icons for executable files

2008-12-16 Thread Endolith
And here's the script itself (public domain, by qaaq on Ubuntu Brainstorm). It doesn't seem to work on most icons. I changed the install instructions a little to re-use the built-in MIME type: sudo apt-get install sharutils icoutils sudo cp gnome-exe-thumbnailer /usr/local/bin sudo chmod

[Bug 292504] Re: Use embedded icons for executable files

2008-12-16 Thread Endolith
Also the menu icon found in /usr/share/pixmaps/wine.svg is probably better than the one embedded in the script. -- Use embedded icons for executable files https://bugs.launchpad.net/bugs/292504 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 292504] Re: Use embedded icons for executable files

2008-12-14 Thread Endolith
The original icon should always be displayed, whether Wine is installed or not, and a dialog will explain that it cannot be run without Wine, offering a button to install Wine. If Wine has been installed, it would probably be beneficial to still pop up something (notification area balloon) to

[Bug 292504] Re: Use embedded icons for executable files

2008-11-03 Thread Sebastien Bacher
having nautilus displaying icons for those would give the false impression that they can be used which is not true, the thumbnailer should be installed in wine rather -- Use embedded icons for executable files https://bugs.launchpad.net/bugs/292504 You received this bug notification because you

[Bug 292504] Re: Use embedded icons for executable files

2008-11-02 Thread Scott Ritchie
** Changed in: nautilus (Ubuntu) Importance: Undecided = Wishlist Status: New = Triaged -- Use embedded icons for executable files https://bugs.launchpad.net/bugs/292504 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. --

[Bug 292504] Re: Use embedded icons for executable files

2008-11-02 Thread Sebastien Bacher
not sure the bug number now but that's something which has already been requested and that nautilus will not do, the thumbnailing can be done by some other software which understand the format used there though -- Use embedded icons for executable files https://bugs.launchpad.net/bugs/292504 You

[Bug 292504] Re: Use embedded icons for executable files

2008-11-02 Thread Sebastien Bacher
Thanks for the bug report. This particular bug has already been reported, but feel free to report any other bugs you find. ** Changed in: nautilus (Ubuntu) Assignee: (unassigned) = Ubuntu Desktop Bugs (desktop-bugs) Status: Triaged = Invalid -- Use embedded icons for executable

[Bug 292504] Re: Use embedded icons for executable files

2008-11-02 Thread Scott Ritchie
Yeah, but presumably nautilus would then have to call the thumbnailer. We have several gnome-thumbnailer-foo packages in universe; are you proposing creating a new one? -- Use embedded icons for executable files https://bugs.launchpad.net/bugs/292504 You received this bug notification because

[Bug 292504] Re: Use embedded icons for executable files

2008-11-02 Thread A. Walton
Yes. Or install it when Wine is installed, or whichever package ships the icon tool referenced above. Nautilus calls libgnomeui to create thumbnails, and there's a well written guide for ISVs to integrate into the GNOME desktop correctly written here:

[Bug 292504] Re: Use embedded icons for executable files

2008-11-02 Thread Scott Ritchie
Retargetting to libgnomeui then. Thank you! ** Changed in: libgnomeui (Ubuntu) Sourcepackagename: nautilus = libgnomeui Status: Invalid = New -- Use embedded icons for executable files https://bugs.launchpad.net/bugs/292504 You received this bug notification because you are a member of

[Bug 292504] Re: Use embedded icons for executable files

2008-11-02 Thread A. Walton
It's not libgnomeui's job either; did you click the link? gnome_thumbnailer looks up the mime-type via GConf, finds the thumbnailer responsible for it, and runs it over the file that Nautilus gives it. You install a new thumbnailer by adding the mime-type in GConf and specifying the thumbnailer.

[Bug 292504] Re: Use embedded icons for executable files

2008-11-02 Thread Scott Ritchie
Shouldn't Gnome recognize these icons WITHOUT Wine installed? The use case I'm thinking of is someone downloading an executable file off the internet (or by inserting a CD). When they double click it without Wine installed, we need to inform them about Wine and offer to install it; I see no