Click here to Skip to main content
15,886,137 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,

After installing a new distribution of GNU/Linux, I found that various applications were using a different icon set for their MenuStrips and ToolBars. My old distribution used the GTK+ icon set (Debian), my new distribution uses the Mint-X icon set (Linux Mint).

My question is: how does the application determine which Desktop Environment/distro is being used? Are there any easier ways of implementing the same thing without doing it from scratch, programmatically?

For my application, I am using Object Pascal (Lazarus); are there any libraries I can refer to to make this less of a headache?

Thanks you for your help and Happy New Year!

PS: Is it unprofessional to just use GTK+ icon sets across operating systems?

What I have tried:

Searching the web for more information, however none of my searches throw-up very useful information.
Posted
Updated 31-Dec-17 23:21pm
Comments
Peter_in_2780 1-Jan-18 0:12am    
Did a bit of poking round and found https://www.freedesktop.org/wiki/Specifications/icon-theme-spec/ Looks like you can let the system provide the icons from its set.

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900