Change the image of an executable file from commandline.
I want to change the icon image of the executable files from command line. Can any one help me in this regard.
Thanks in advance.
What app sets your icon in the first place? Would it be your desktop environment kde maybe. To answer your question, I don't know but I'm just chiming in cause I'm curious.
In Linux with 'Gnome Desktop', the Desktop entry ( Icon ) is a text file,
The most easy way of changing the "Icon" is to 'right click',
select Properties, and then click the Icon image.
In a terminal : gedit <entry>(.desktop) , and then edit the line : Icon=<image>
In KDE 4, the file can be a link. Probably easier to create a new Icon,
than finding a way to do the editing.
Other 'Window Managers' ( Desktops ) : the entry will most often be a hidden
The icon info for a normally-installed file is found in the .desktop file in /usr/share/applications. Uuse your favorite cli editor (as root) to edit - just change the Icon= field to whatever you like
|All times are GMT -5. The time now is 08:17 AM.|