Use icons from .exe as thumbnails

Hi Archers,
I'm a little confused nobody _ever_ asked about this one in the forums, but here we go anyways.
I tried to use icons extracted from the .exe as thumbnails in Nautilus. Seems to work so far, but alpha-transparency and size are still messed up.
Currently looks like that: http://img11.imageshack.us/img11/3033/91691770.jpg
Im using a wineicons.sh script from http://www.objectnetworks.net/wiki/inde … _for_Gnome
#!/bin/sh
f=`mktemp`
if wrestool "$1" -x -t14 > $f && [ -s $f ]; then
id=`icotool -l $f | awk '{
ci=int(substr($2,index($2,"=")+1));
cw=int(substr($3,index($3,"=")+1));
cb=int(substr($5,index($5,"=")+1));
if (cw > w || (cw == w && cb > b)) {
b = cb;
w = cw;
i = ci;
END {
print i;
}'`
icotool -x --index=$id $f -o "$2"
# convert -size 32x32 "$2" "$2" # optional
else
cp '/home/chrissi/.icons/gnome-brave/32x32/mimetypes/exec_wine.png' "$2"
fi
rm $f
It's called by using wineicon.sh %i %o as thumbnailer for app/x-ms-dos-executable.
The output from the script looks good, it's a 256*256 .png with transparency, but when it's used as a thumbnail it's got white backgrounds and is not the regular icon-size.
Anyone got any ideas on how to create 48*48 icons with transparency?
Maybe I'll write a wiki-page if it works out well

It would appear the site offers free graphics submitted by viewers, so subject to any conditions they set, yes you can use it.
Just be careful that if you use it you meet their terms. Mostly they just want credit given or for you to use it non-commercially, sometimes they let you do anything you want.
Be careful that it is theirs and not swiped from somewhere else.
It is not usual but in the properties of the files sometimes you can read its author and copyright terms. These are readable in PhotoShop and Illustrator amongst other software. Even Preview will show some of this in its Info palette.
Isn't the Internet a big wonderful place!

Similar Messages

  • I used Target mode to transfer files to a new iMac running Snow Leopard 10.6.8 from an older Dual core Intel machine (EMC 2105) also on 10.6.8. but originally Tiger 10.4. The operation was successful and I ejected the disk icon from the new machine and po

    IS THE SITUATION HOPELESS
    I used Target mode to transfer files to a new i7  iMac running Snow Leopard 10.6.8 from an older Dual core Intel machine (EMC 2105) also on 10.6.8. but originally Tiger 10.4. The operation was successful and I ejected the disk icon from the new machine and powered down the old machine. When this was restarted the next day there was a grey screen with flashing Mac symbol alternating with a 'no entry' sign and occasionally a question mark.Keyboard and mouse were unusable so k inserted the original instal disc (No.1 for 10.4. with installer 1.0.4) which came with the machine in 2006 in an attempt to boot from this. The ensuing window said this was not possible and now it cannot be ejected.I have tried everything ! It offers Disk Utility and other options like Terminal but that doesn't work either.I 'repaired disk' and that was pronounced o.k. None of the various keystrokes at start up will work, and the computer will only offer the installer disc continually.The only option would seem to be is to erase the hard drive completely from the disc in the machine.I don't want to do this as there is still material which I need to recover. I think the drive has in some way been corrupted by using it in target mode, and I don't know if there are any other options to try.
              Please tell me how to get this disc to eject !

    Graham Giles wrote:
    Have you seen this type of problem before? I think it could be a serious issue for anyone in a similar position.
    No; but then, I've not had occasion to use TDM. I've been using firerwire drives for over 10 years, both FW400 and FW800, with no issues except a bit of instability using a B&W G3 machine.
    TDM should be safe. Using cautious, manual copying of files from the Target machine to the Host machine should not result in unexpected loss of files or damage to the Target drive's directories. It should behave exactly the same as if it were an external (to the Host) firewire drive.
    •  I don't suppose there is anything I can do to 'put back' lost items from a separate Time Machine drive which has an up to date backup on it.
    There is probably a way to do that - seems to me that's one of the reasons for a Time Machine volume.
    On the other hand, if the Time Machine volume is rigidly linked to the now-absent OS on the original drive, there may be no way to effectively access the files in the TM archive.
    I know that using a cloned drive would work well in this instance.
    I have no experience with Time Machine, so perhaps someone who has will chime in with suggestions.
    With the machine in TDM with the other machine, have you tried running Disk Utility to see if you can effect repairs to the drive?

  • Using the file icon instead of the Thumbnail icon

    is it possible to use the file icon instead of the thumbnail icon on the desktop? If so, how?
    Thanks,
    Travis

    View menu --> Show view options --> Show Icon preview --> uncheck it

  • Help I have 'lost' my downloads icon from the dock. Can I retrieve it? If so please describe how, using simple terms

    Help I have 'lost' my downloads icon from the dock on my desktop Mac. Can I retrieve it? If so please describe how, using simple terms. I have tried searching folders, finder and trash

    Your Downloads folder should be in your Home folder. Just drag it to the Dock.
    If you've managed to delete it, try creating a new folder called 'Downloads'. You will probably need to nominate it in Safari or any other browser preferences as your download destination. (Safari Preferences>General, 'Save downloaded items to:' menu)

  • Icon composer, can make them, can't use them from get info, how?

    Hi, I can make icons in Icon Composer, but when I try to retrieve and use them from the "get info" window there is only a generic ICNS icon available at the top, although the icon I made shows in the preview pane at the bottom. How can I retrieve the icons I make so I can replace a folder icon for example? Downloaded icons work OK from the get info window. Thanks for any help.
    G4 AGP Graphics Sawtooth 1.3Ghz   Mac OS X (10.4.3)  

    The "Tiger" version of the 'sips' utility can handle ".icns" format files and creates full size custom icons so you could probably use that. Note that it acts directly on the file so it might be a good idea to work on a copy, rather than the original. To use 'sips' to create a custom icon for an image file (including ".icns" files), open "/Applications" > "Utilities" > "Terminal.app" and enter:<pre>/usr/bin/sips -i /path/to/file</pre>If you are unfamiliar with unix style paths, just enter the '/usr/bin/sips -i ', including the space at the end, then drag the image file into the terminal window (the correct path should be filled in automatically), then hit <Return>. It should be possible to copy the new custom icon from "Get Info" as usual.

  • TS1702 I had deleted my Apps Icon from the phone as I was trying to update the new version iOS4.3. However, after deleteing the Icon, I am not able to install the Apps Messenger again because I am not able to use the IOS.4.3 diagnostic password sent via e

    I had deleted my Apps Icon from the phone as I was trying to update the new version iOS4.3.
    However, after deleteing the Icon, I am not able to install the Apps Messenger again because I am not able to use the IOS.4.3 diagnostic password sent via email.
    Installation was rejected because I need the iOS.4.3
    Thanks for your help
    Michael

    That situation went from inconvenient to complicated quickly.  Wait for any pending orders to drop off, wait for things to clear up, wait till your upgrade comes up and then upgrade when your contract is fulfilled.  I would have suggested a replacement phone, I know, with only a month left why couldn't you just upgrade early, but these situations where people try to upgrade early always end horribly and once a phone order starts, it almost cannot finish until something winds up shipped received and returned.  Sorry this happened the way it did.  Definitely not efficient.

  • To invoke an application exe built using Labview from python.

    I am trying to invoke an application exe built using Labview from python.
    I am able to invoke labview vi, send and receive data. But if I change the vi to exe, it doesn’t work.

    This is more of Python. I can suggest you another way, if you can do those changes to your existing code.
    This is what I do: If I have to communicate between 2 different platforms I use "File" as a communication medium (Simple method). So if you want to pass data to the LabVIEW code from python, write the data to the file from Python and read the data in LabVIEW and vice versa. I generally use *.ini files for this purpose.
    The best solution is the one you find it by yourself

  • Removing printer icons from app switcher or at least making them useful

    does anyone have the following problem and has anyone found a solution:
    1. whenever i print something - and until i restart once i have printed - the icon for each printer i have used appears on the dock and in the task switcher (the cmd-tab thingy).
    2. on top of that, these icons are useless since even if i select them, it does not pull up the print queue of these printers or anything remotely useful.
    is this a bug or a normal behaviour? has anyone found a way to avoid these icons from appearing, or at least removing them after the printing has stopped and better, make the print queue accessible from switching from these icons?
    thanks in advance.

    Right click on the icon in the dock and select auto-quit. After you do that the printer driver will auto quit after each print.

  • Navigation from where-used icon

    Hi,
    I would like to know where the program flow navigates or which function module/methods of class are called when the 'Where used icon' is clicked on screen of ABAP Editor..
    Please suggest some method to find out. I tried debugging but lots of FMs are called and my tracking has not been successful.
    Thanks in advance,
    Saipriya.S

    Earlier Similar Threads
    https://www.sdn.sap.com/irj/sdn/forums
    https://www.sdn.sap.com/irj/sdn/forums
    Hope that you will know more things from this threads.
    Jayant Sahu

  • Hello. I've Apple TV 3rd gen and MacBook Pro 2013 all with latest updates. AirPlay works fine till I don't start streaming videos from YouTube. After that AirPlay icon from MacBook menu bar simply disappears. Could some help. I'm using 2 Mbps Internet

    Hello. I've Apple TV 3rd gen and MacBook Pro 2013 all with latest updates. AirPlay works fine till I don't start streaming videos from YouTube. After that AirPlay icon from MacBook menu bar simply disappears. Could some help. I'm using 2 Mbps internet connection.

    Same issue here- I can airplay my amazon prime library just fine from my iphone 5 but on my macbook- (mavericks, 15 inch 2013 retina with quad core i7, nvidia 650 M and SSD) it just sputters and lags.
    I have noticed web video is considerably worse than local content, giving me pauses of up to 2 or 3 seconds in which video stops but audio continues in the amazon player. Youku video, however, seems relatively stable. Our subscription speed is 25 mbps, so that should be plenty to stream SD video from Amazon and doesn't account for why it would be nice and stable from the iphone, but not the mbp.
    Playing light, locally hosted steam sidescrollers  like Limbo is better but gives periodic drops in framerate on the Tv. when mirroring the framerate remains steady on the MBP screen.
    Games airplayed from my iphone seem relatively stable, though with a noticably lower framerate on the TV than on the phone.
    It seems these issues have abated considerably since yesterday's Apple TV update, but are still curious nonetheless and I'm not sure that the update yesterday was specifically meant to address those issues or if I'm just getting a time with less network interference now.
    Comcast recently installed a new router/modem/phone combo, replacing our old separate modem and router setup. I'm going to test if putting the network on a different channel helps.

  • How do I remove an icon from the dock of an iMac 10.9.5.?  Dragging doesn't work although I have tried a number of different places.  I recall right clicking used to give me a remove option.

    How do I remove an icon from the dock of an iMac Maverick, 10.9.5?  I've tried dragging different places: desktop, finder list etc.  No luck.

    Drag up towards the centre of the screen & hold for a second or so. The icon will have the 'smoke cloud' appear, let go & it will be removed.
    There should also be a 'Remove from Dock' option in the popup menu. It is in the 'Options' section . ctrl+click will 'right click' if right clicking is disabled.
    If this is not possible the Dock is locked (this may happen on a 'Managed Mac' normally setup by a company or school etc). See your tech support in this case.

  • Why did Apple remove flag icon from iPhoto '11?

    I just updated to iPhoto '11 and there are a few interesting changes.  One is that Apple removed the "flag" icon from the app.  I wish they hadn't done that because I use that a lot and don't want to have to go to the dropdown menu to flag a photo.  Does anyone know if you can put the flag icon back? I don't see anyway to customize the iPhoto tools.  Thanks.

    You are very welcome.  I'm happy you saw my post, and thanks for posting back and crediting me with a This helped me.  You deserve the real credit because your post gave me the drive to search for a better solution than the command-period shortcut even though the removal of the flag icon in iPhoto '11 has bugged me ever since I first starting using it.  I found an article where the author told about the gray flag icon on the top left corner of photos in the thumbnail view, but also criticized that it isn't in the view you really use to review pics.  The author then went into the command-period shortcut option.  What the author didn't mention and I brought to the solution was maximizing the zoom when in the thumbnail view.  I gave myself a pat on the back for that one!  lol 
    Have a great weekend, PainterLady!

  • How do you make an icon from an image

    Used to be if you selected "Get Info" you could get an icon from the info window. Now all I get is this.

    Yup - apparently the OS does not make actual thumbnails anymore for files; instead, it uses something like Preview to generate them on the fly. This means that when you do a Get Info on them, the icon shown in the upper left is a generic one.
    A solution -
    Lower down in the Get Info window is a preview of the image. Double-click that, and it will open in Preview. Press Command-A (Select All) then Command-C (Copy). This will place the image on the Clipboard.
    Switch to the Get Info window for the file or folder you want to place the image onto as an icon, click the generic one in the upper left to select it, press Command-V (Paste).

  • Icon from file

    Is there anyway possible to get the (windows) icon from a program file?? Like getting the (windows) Explorer icon from explorer.exe??
    I watched the API class File, but i couldn't find anything.
    You can get a file with
    File program = new File("D:\winamp.exe");
    but this doesnt work
    Icon ico = program.getIcon();
    Can anyone help me with this??

    Do I correctly understand that you want to read the icon image that Windows finds when it displays shortcuts or when it displays the little icon in the top-left-hand corner of the window? Sort of the opposite of Frame.setIconImage(), but for a non-Java program?
    I think you would have to find out the format of how these icons are stored, then read the file and interpret it yourself.
    Alternatively, if you know in advance the program, you can copy the icon into the clipboard (use the "Print Screen" button); copy that into Paint or other suitable image program; cut and save just the icon as a GIF or JPG; and then load that into your program.
    Not straightforward, I know, but I don't believe Java has a facility for this.

  • This is a silly question, but I cannot fix it! The icons that appear on my photos after I edit them, have gone away. The only way I can see them is in the Grid view. How can I get the icons back on the thumbnail photos of the full gallery that is loaded?

    This is a silly question, but I cannot fix it! The icons that appear on my photos after I edit them, have gone away. The only way I can see them is in the Grid view.
    How can I get the icons back on the thumbnail photos of the full gallery that is loaded? TIA =)

    You have likely dragged the size of the filmstrip thumbnails to a small size that prevents Lightroom from displaying the badges. Using your mouse, mouse over the top line of the filmstrip and then drag it supports to increase the size.

Maybe you are looking for

  • Not able to see the generated chart image

    I'm using Oracle 6i Reports and Oracle 9i dtabase to generate a report with graphs embedded. I'm able to view the tables populated with exact values but cannot see the graph. The chart image and html generated are placed correctly in the directory po

  • How can I edit my "identity email" in iCloud?

    I accidently logged into icloud thur my ipad first. Not realizing  this would cause me problems. Now the new me.com account I created is the primary identity for the cloud. I cannot edit or remove that me.com to primary account of hotmail.com. When I

  • Firefox does not load embedded google calendar month view (2014)

    Recently (first complaint today), all of our embedded google calendars on our site stopped loading in Firefox browsers. Specifically, it is the month view. The calendar actually loads and the contents can be seen on agenda and week views. However, Mo

  • Logical System Name changing

    Dear Team, We had upgraded BI system from 3.0B to BI 7.0. At the time of upgrade dev copy(shadow system) logical system was not changed because most of the data is coming from ETL. Now we want to test the extraction from R/3 Dev. R/3 Dev is already c

  • Reservation and Purchase requisistion

    Hi, Sysytem is creating reservation for stock item and purchase req for non stock item. Anybody tell me where is the setting. Regards, KP