TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: R.WIESER
from: A. DUMAS
date: 2019-11-03 10:46:00
subject: Re: Simple question - how

On 03-11-19 08:57, R.Wieser wrote:
> But seriously, how do I change the displayed icon of, in my current case, a
> script.py file ?
>
> I've found some instructions to how to change them for a application
> (editing its *.desktop file), but have not come across anything in regard to
> non-application files.

Icons are assigned by mime type. Every file / desktop manager has its
own mime type database and icon directory, I don't know where Raspbian's
PCManFM / LXDE keep theirs. So that's one way, but all .py files would
get the new icon. Otherwise just go with the .desktop file:
exec=/home/pi/myfile.py, icon=/home/pi/myicon.png

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.