Files overlay iconst under WSL2

Moderators: Hacker, petermad, Stefan2, white

Post Reply
MaxA
Junior Member
Junior Member
Posts: 11
Joined: 2016-10-09, 18:40 UTC

Files overlay iconst under WSL2

Post by *MaxA »

WSL2, win10x64 LTSC

2 panels, 2 repositories, on local drive and WSL2.
All icons on local drive exists, on WSL2 exists only for folders.
Is there some way to fix this?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50383
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Files overlay iconst under WSL2

Post by *ghisler(Author) »

I cannot reproduce that. How exactly do you access WSL2?
I'm going via menu Commands - Open Desktop Directory - Linux - Ubuntu. This brings me to
\\wsl.localhost\Ubuntu
Both associated files and programs have their usual icons.
Author of Total Commander
https://www.ghisler.com
MaxA
Junior Member
Junior Member
Posts: 11
Joined: 2016-10-09, 18:40 UTC

Re: Files overlay iconst under WSL2

Post by *MaxA »

ghisler(Author) wrote: 2025-02-04, 08:36 UTC I cannot reproduce that. How exactly do you access WSL2?
I mount WSL as network drive

net use U: \\wsl.localhost\Ubuntu-20.04 /user:xxx xxx
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50383
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Files overlay iconst under WSL2

Post by *ghisler(Author) »

I have now tried that too - icons appear just fine.
Which icons do not appear for you? For example
- icons for *.txt files
- icons for *.exe files
- icons from internal associations
etc.

If it affects *.exe files, please go to menu Configuration - Options - Icons and make sure the following option is NOT checked:
exe/lnk not on net
Author of Total Commander
https://www.ghisler.com
MaxA
Junior Member
Junior Member
Posts: 11
Joined: 2016-10-09, 18:40 UTC

Re: Files overlay iconst under WSL2

Post by *MaxA »

All of the file types haven't it, just see php, js, woff2, xml, svg, png. Folders Ok
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50383
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Files overlay iconst under WSL2

Post by *ghisler(Author) »

Not confirmed. On my system, I see the following:
php: no icon on any drive, not associated with anything
js: Edge icon
woff2: no icon on any drive, not associated with anything
xml: Edge icon
svg: Edge icon
png: Microsoft Photos icon

The problem must be on your side. Maybe you changed the association to a program which can't handle WSL2?
Author of Total Commander
https://www.ghisler.com
MaxA
Junior Member
Junior Member
Posts: 11
Joined: 2016-10-09, 18:40 UTC

Re: Files overlay iconst under WSL2

Post by *MaxA »

ghisler(Author) wrote: 2025-02-05, 07:51 UTC The problem must be on your side. Maybe you changed the association to a program which can't handle WSL2?
I use XnviewMP, no problems with view or browse. Just double click on image and open, big preview on right display, image browser with thumbnails on the main. Absolutely similar as on the local drive
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50383
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Files overlay iconst under WSL2

Post by *ghisler(Author) »

Sorry, I have no other idea why there wouldn't be any icons.

Does anyone else have this problem?
Author of Total Commander
https://www.ghisler.com
browny
Senior Member
Senior Member
Posts: 359
Joined: 2007-09-10, 13:19 UTC

Re: Files overlay iconst under WSL2

Post by *browny »

I never used WSL, but have read about issues of somewhat similar nature. MS people told that objects were accessed using network sharing mechanics. Sometimes share might fail to answer, and then treated as being offline.
Post Reply