PDA

View Full Version : [ubuntu] Change Icon



neuman1812
September 21st, 2012, 09:05 PM
Running Ubuntu 12.04 64 bit with Gnome-Classic.

I have a Link to a shell script on my desktop.

I would like to change the icon but I see no option to do that. If I right click on it, I have 3 tabs

Basic
Permission
OpenWith

None of these tabs have an option to change Icon.

josephmills
September 21st, 2012, 09:08 PM
could you paste the shell script here for us to see please
and thanks

ajgreeny
September 21st, 2012, 10:21 PM
Is the "link" a .desktop file? Look in more detail at what you've got with
ls Desktop

Nautilus will show all .desktop files as desktop configuration files, and gives you no way to edit them as far as I can see. However, you can easily do so with command
gedit scriptname.desktop and in the text file that appears you can edit the line
Icon=/path/to/chosen/image.pngto point to the icon you want to use.

diesch
September 21st, 2012, 10:26 PM
If your link is not a .desktop file you need to create one if you want to change the icon.

If you don't want to edit .desktop files with a text editor Arronax (http://www.florian-diesch.de/software/arronax/) gives you a easy to use GUI.

neuman1812
September 21st, 2012, 11:50 PM
Its the Tor Browser Bundle Startup script.

the original script is here:

~/TorBundle/start-tor-browser

I clicked on that script and selected "Make Link"

I then took that file it created "Link to start-tor-browser" and moved it to my desktop.


Im not sure what type of script it is. Im not familiar enough yet to know this.

stinkeye
September 22nd, 2012, 02:52 AM
If it's just a link you should be able to click the image in the
Basic tab where you were looking before.

Bonus Tip of the Day:Dragging a file to the desktop with the middle mouse button gives you a popup where you can choose to...

Move Here
Copy Here
Link Here

neuman1812
September 22nd, 2012, 05:39 PM
If it's just a link you should be able to click the image in the
Basic tab where you were looking before.

Bonus Tip of the Day:Dragging a file to the desktop with the middle mouse button gives you a popup where you can choose to...

Move Here
Copy Here
Link Here


That worked thanks!
Dont have a middle mouse button tho.