How to load alternative app icon ?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
jjk
Posts: 202
Joined: 10 Oct 2007 20:11
Location: Paris

How to load alternative app icon ?

Post by jjk »

Hi all

I tried to apply the tweak

Code: Select all

IconResource=1
but nothing happens.
In what section of what file ini have I to add that line ?
Can I restart with saving or without saving ?
I tried many options but I don't see any difference versus before.

Pagat
Posts: 308
Joined: 09 Oct 2007 21:23
Location: Austria

Re: How to load alternative app icon ?

Post by Pagat »

The line "IconResource=" is already present in the INI file so don't need to add it. To make sure you edit the correct INI open it in XY via "Tools | Open Configuration File...". Search for "IconResource" and change the value to 1. Save the file. In XY choose "File | Restart without saving". Now you should see the new black/white icon.
OS: Windows 11, 64-bit, Version 25H2, Build 26200.8655 (10.0), AMD64
Monitor: 1/2 (Primary) Primary Screen DPI: 96 (100%)

jjk
Posts: 202
Joined: 10 Oct 2007 20:11
Location: Paris

Re: How to load alternative app icon ?

Post by jjk »

Thanks Pagat, but nothing works.
When I run "Open Configuration File" Notepad opens %appdata%\XYplorer.ini which does not contain any line with "IconResource".
Nevertheless I edit the file by adding that line in [General] section, I save it, then I restart XY without saving.
I don't see any black/white icon, nowhere.
Anyway I can live without it, I believed that many icons should be changed, like a new set of icons for files, folders, tabs, and so on.

Thanks again.

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: How to load alternative app icon ?

Post by Stefan »

This line is there in an old ini after the second start of XYplorer v9.00.0004 or later

Code: Select all

[Settings]
; ...
; Tweak: set to 1 to use alternative app icon
IconResource=0
Setting IconResource= to '1' will show an alternative black/white icon for XYplorer:

IconResource=1
AlternativeAppIcon.png
To see the attached files, you need to log into the forum.

kiku
Posts: 141
Joined: 02 Jun 2008 22:32

Re: How to load alternative app icon ?

Post by kiku »

Doesn't work on Windows 7 x64 if you set taskbar properties to hide labels

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: How to load alternative app icon ?

Post by Stefan »

@Don
FYI: CTB XY-icon not reseted to default

I have an XY.exe icon in my CTB
which is switched to alternative icon too (xyplorer.exe /2)

but not reseted to (xyplorer.exe )
after restoring the default (IconResource=0) in the ini


v9.00.0010

jjk
Posts: 202
Joined: 10 Oct 2007 20:11
Location: Paris

Re: How to load alternative app icon ?

Post by jjk »

Great thanks, Stefan, for your explanation.
Now it works (on XP SP3), not yet tested on W7.

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: How to load alternative app icon ?

Post by Stefan »

Just to be clear for the successors who find this thread:
this IconResource tweak is exchanged by IconFile= tweak

Code: Select all

v9.00.0017 - 2010-04-16 16:00
    * New app icon, the "Black Orange" (sorry, no better idea).
    + New tweak to load app icon from a stand-alone icon file:
        IconFile=[Filename]
      [...] 
    - Removed tweak IconResource.

400

Post Reply