Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 8503  / 3 Years ago, thu, july 22, 2021, 11:31:54

I am trying to change the default orange cone icon for the VLC media player on the Unity bar in 11.10. I have tried following similar posts in this forum, but without any luck. I changed the vlc.png icon I found in the /usr/share/icons/hicolor/256x256/apps directory (which i assume is the icon used on the unity bar) by copying a different .png file to it with the same name. It is also a 256x256 pixel .png file. I restarted Ubuntu and the orange cone is still there. I've read tidbits online about having to recompile the program or something, so I don't know if this is more complicated a process than I assumed. I'd also like to be able to do this for other programs, but this one specifically (for now at least). I'd greatly appreciate any suggestions! Thanks!




  • I updated my icon cache and the vlc icon is changed in dash, but not when I place it on the unity bar. I've noticed that certain applications have icons stored in different directories and I'm wondering if I'm missing something. I tried out a new icon for google chrome and that one worked, but VLC won't.


  • Well I tried placing an icon in 128x128 and that didn't work either. Is it possible the icon is some how hardcoded into the program? I've also now succesfully changed firefox's icon as well...so I don't think I'm doing something wrong



More From » unity

 Answers
1

If it isn't an issue with the theme you're using, then have you tried updating the icon cache with sudo gtk-update-icon-cache /usr/share/icons/hicolor ? (replace "hicolor" by whichever theme you're using. You'll need to put the icon in the appropriate theme folder as well)



As a bit of extra information. In /usr/share/applications you'll find a vlc.desktop file. You could change the following line:



Icon=vlc


With another Icon of your choice (I prefere to set a svg file in the "scalable" directory rather than a rasterized x by y png ). After that you have to do the update command I gave earlier.



If you encounter any issues with the update command try appending the -f -t options.


[#40990] Friday, July 23, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
oileweaty

Total Points: 337
Total Questions: 108
Total Answers: 105

Location: Western Sahara
Member since Mon, May 3, 2021
3 Years ago
oileweaty questions
Thu, Jul 1, 21, 01:57, 3 Years ago
Wed, Nov 24, 21, 11:48, 2 Years ago
Sat, May 14, 22, 00:50, 2 Years ago
;