#icon universal location

18 messages · Page 1 of 1 (latest)

weary dew
#

i need to get certain app's icons, but i just don't know where to look, there are so many directories which only contain certain icons but not the others, it gets confusing

weary dew
#

i found this but it can't be the only way fr

it would return the locations of steam.png

#

but its just so unpractical

pallid elbow
#

you could try to look directly at the .dekstop files in /usr/share/applications and locate the icons from there

#

not sure if there's a specific command for that tho

#

most of the icons are stored in /usr/share/pixmaps or /usr/share/icons

weary dew
#

@weary dew

weary dew
#

And most of the apps just put the name not the full path

#

So i didn't really get much far

#

@pallid elbow

#

But i chose on another way to go on about things

#

I use lua to make this, all written in lua, so i can just make it listen to a config file in which you tell the program what to display

#

this could allow at the same time custom actions, running shell commands, and displaying the icon you want, because it'll have to be specified

pallid elbow
#

sorry for responding late but i was at school, also yeah the only way i see this possible if you use a script in lua and search directly in the folders i mentioned below.

#

other than that i don't know if there are specific commands to fetch icons in the system

weary dew
#

i made a .config file where you manually put which icon you want there to show up so it should be fine

pallid elbow
#

... solved