this post was submitted on 25 Feb 2026
4 points (100.0% liked)

Linux

63215 readers
268 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

In Windows placing .icon with this .ini file works-

[.ShellClassInfo]
IconResource=.FolderIcon.ico
IconFile=.FolderIcon.ico
IconIndex=0
InfoTip=
[ViewState]
Mode=
Vid=
top 3 comments
sorted by: hot top controversial new old
[–] just_another_person@lemmy.world 7 points 5 hours ago

You didn't mention what Desktop Environment you're using.

[–] Sonotsugipaa@lemmy.dbzer0.com 6 points 5 hours ago* (last edited 5 hours ago) (1 children)

Not sure how it works on other file managers (or any DE), but for Dolphin you can create a .directory file with its content like:

[Desktop Entry]
Icon=/absolute/path/to/image.png

I think it's more or less universal.

Specifically for Dolphin, there may be a way to achieve the same with extended file attributes (getfattr/setfattr) instead of directories, but I don't know the attr name for icons if it even exists.

[–] talkingpumpkin@lemmy.world 7 points 5 hours ago

OP, you can also use named icons from your theme

[Desktop Entry]
Icon=folder-videos

I think you can use any name from stuff inside /usr/share/icons, but I'm not 100% sure