User avatar
MartinPi
Posts: 83
Joined: Sun Nov 29, 2015 4:45 pm

How to change icons?

Sun May 08, 2016 4:38 pm

How can I change all of the icons of Raspbian? Rather than changing them one at a time?
Raspberry Pi 3 32GB with 32-inch Monitor
Rasberry Pi Zero 32GB

User avatar
Rive
Posts: 586
Joined: Sat Mar 26, 2016 5:21 pm
Location: USA

Re: How to change icons?

Sun May 08, 2016 4:45 pm

MartinPi wrote:How can I change all of the icons of Raspbian? Rather than changing them one at a time?

Rename existing raspitr.png image, and then load a custom image and name it 'raspitr.png'
ditto for 'raspberry-pi-logo.png'

This is their location:
/usr/share/raspberrypi-artwork/


to gain root access to file and contents, use:

Code: Select all

gksu pcmanfm
for example, here is mine
raspitr.png
raspitr.png (11.67 KiB) Viewed 21387 times
Last edited by Rive on Sun May 08, 2016 4:51 pm, edited 1 time in total.
DNPNWO

User avatar
MartinPi
Posts: 83
Joined: Sun Nov 29, 2015 4:45 pm

Re: How to change icons?

Sun May 08, 2016 4:50 pm

Rive wrote:
MartinPi wrote:How can I change all of the icons of Raspbian? Rather than changing them one at a time?

Rename existing raspitr.png image, and then load a custom image and name it 'raspitr.png'
ditto for 'raspberry-pi-logo.png'

/usr/share/raspberrypi-artwork/


to gain root access to file and contents, use:

Code: Select all

gksu pcmanfm
for example, here is mine
raspitr.png

That's great, tired it out but how can I do it with all of the systems icons. Such as changing the default icon for a folder...
Raspberry Pi 3 32GB with 32-inch Monitor
Rasberry Pi Zero 32GB

User avatar
Rive
Posts: 586
Joined: Sat Mar 26, 2016 5:21 pm
Location: USA

Re: How to change icons?

Sun May 08, 2016 4:54 pm

/usr/share/
/usr/share/applications
/home/pi/.local/share/applications


If you want the location of an icon, right click it, and see where it is. If it is shared, changing that one icon, will change it in all locations.

You can also add/edit/change icons/shortcuts in Menu or elsewhere, or delete ones that are already there ( for example, there are 4 shortcuts in Menu (help/internet/other) that all go to same url (raspberrypi.org).
DNPNWO

User avatar
MartinPi
Posts: 83
Joined: Sun Nov 29, 2015 4:45 pm

Re: How to change icons?

Sun May 08, 2016 6:00 pm

Rive wrote:/usr/share/
/usr/share/applications
/home/pi/.local/share/applications


If you want the location of an icon, right click it, and see where it is. If it is shared, changing that one icon, will change it in all locations.

You can also add/edit/change icons/shortcuts in Menu or elsewhere, or delete ones that are already there ( for example, there are 4 shortcuts in Menu (help/internet/other) that all go to same url (raspberrypi.org).
When I go to change the icon, even with typing in the command you mention earlier, it doesn't change the icon.
Raspberry Pi 3 32GB with 32-inch Monitor
Rasberry Pi Zero 32GB

User avatar
MartinPi
Posts: 83
Joined: Sun Nov 29, 2015 4:45 pm

Re: How to change icons?

Sun May 08, 2016 6:01 pm

That was by right clicking on the application, viewing its properties, selecting the picture and going through the icon selecter window. It changes it in the preview but then doesn't do it system wide and when I review the properties it's back to normal.
Raspberry Pi 3 32GB with 32-inch Monitor
Rasberry Pi Zero 32GB

User avatar
Rive
Posts: 586
Joined: Sat Mar 26, 2016 5:21 pm
Location: USA

Re: How to change icons?

Sun May 08, 2016 6:06 pm

Be more specific,What are you trying to do exactly?
Last edited by Rive on Sun May 08, 2016 6:08 pm, edited 1 time in total.
DNPNWO

User avatar
Rive
Posts: 586
Joined: Sat Mar 26, 2016 5:21 pm
Location: USA

Re: How to change icons?

Sun May 08, 2016 6:07 pm

MartinPi wrote:That was by right clicking on the application, viewing its properties, selecting the picture and going through the icon selecter window. It changes it in the preview but then doesn't do it system wide and when I review the properties it's back to normal.
That isnt how you do it.
Last edited by Rive on Sun May 08, 2016 7:28 pm, edited 1 time in total.
DNPNWO

User avatar
MartinPi
Posts: 83
Joined: Sun Nov 29, 2015 4:45 pm

Re: How to change icons?

Sun May 08, 2016 6:08 pm

Rive wrote:Be more specific,What are you trying to do exactly?

For example (mine):

http://s32.postimg.org/kp6pxnfet/icon.png
Image
Trying to change the icon of applications on Raspbian. For example, using a custom .png for the icon of say the File Manager, or the Terminal.
Raspberry Pi 3 32GB with 32-inch Monitor
Rasberry Pi Zero 32GB

User avatar
MartinPi
Posts: 83
Joined: Sun Nov 29, 2015 4:45 pm

Re: How to change icons?

Sun May 08, 2016 6:08 pm

Rive wrote:
MartinPi wrote:That was by right clicking on the application, viewing its properties, selecting the picture and going through the icon selecter window. It changes it in the preview but then doesn't do it system wide and when I review the properties it's back to normal.
That isnt how you do it. It has root permissions, do it through FM, and do it as root.
How is it I do that? Sorry, very new to Raspbian :)
Raspberry Pi 3 32GB with 32-inch Monitor
Rasberry Pi Zero 32GB

User avatar
Rive
Posts: 586
Joined: Sat Mar 26, 2016 5:21 pm
Location: USA

Re: How to change icons?

Sun May 08, 2016 6:09 pm

Give me a specific icon you want to change, and I will walk you through it.
DNPNWO

User avatar
MartinPi
Posts: 83
Joined: Sun Nov 29, 2015 4:45 pm

Re: How to change icons?

Sun May 08, 2016 6:12 pm

Rive wrote:Give me a specific icon you want to change, and I will walk you through it.
I have been trying with the File Manager so let's go for that :) I already have a theme folder with all of the pngs at the ready in my downloads folder.
Raspberry Pi 3 32GB with 32-inch Monitor
Rasberry Pi Zero 32GB

User avatar
MartinPi
Posts: 83
Joined: Sun Nov 29, 2015 4:45 pm

Re: How to change icons?

Sun May 08, 2016 6:47 pm

Rive wrote:Give me a specific icon you want to change, and I will walk you through it.
I have the standard username and password for my account on my Pi if that helps too.
Raspberry Pi 3 32GB with 32-inch Monitor
Rasberry Pi Zero 32GB

User avatar
Rive
Posts: 586
Joined: Sat Mar 26, 2016 5:21 pm
Location: USA

Re: How to change icons?

Sun May 08, 2016 6:48 pm

I have been trying with the File Manager so let's go for that :)
Open:

Code: Select all

sudo nano /usr/share/applications/pcmanfm.desktop 
Find, and change:

Code: Select all

Icon=system-file-manager
Open:

Code: Select all

sudo nano /usr/share/raspi-ui-overrides/applications/pcmanfm.desktop
Find, and change:

Code: Select all

Icon=system-file-manager
FM icon located in menu/accessories
Right click where taskbar icon is, select "application launch bar settings", remove old "File Manager" launcher, right click '+' on Installed Applications for "Accessories", Add "File Manager"
Last edited by Rive on Sun May 08, 2016 9:06 pm, edited 9 times in total.
DNPNWO

User avatar
MartinPi
Posts: 83
Joined: Sun Nov 29, 2015 4:45 pm

Re: How to change icons?

Sun May 08, 2016 7:02 pm

Rive wrote:
I have been trying with the File Manager so let's go for that :)
Find old file manager, in /usr/share/applications, rename it, then you create then new File Manager.

( dont forget to use this gksu pcmanfm)

Code: Select all

sudo nano /usr/share/applications/fileman.desktop

Code: Select all

[Desktop Entry]
Type=Application
Name=File Manager
Categories=Settings;DesktopSettings;
Exec=lxterminal --command "pcmanfm %U"
Terminal=false
Icon=/usr/share/raspberrypi-artwork/raspitr.png
Name[en_US]=File Manager PCManFM

("Icon="change to image file you desire, or your new FM will look like a raspberry ;) )

reboot

Code: Select all

sudo reboot
Delete/Remove old file manager icon off panel items (near 'menu'), then;
right click where it used to be, select "application launch bar settings"
click '+' on Installed Applications for "preferences", and you will see your new "File Manager" app/icon you created.

Add it to launcher. Done.
Trying it now; thanks for the help! Really appreciate it :)
Raspberry Pi 3 32GB with 32-inch Monitor
Rasberry Pi Zero 32GB

User avatar
Rive
Posts: 586
Joined: Sat Mar 26, 2016 5:21 pm
Location: USA

Re: How to change icons?

Sun May 08, 2016 7:15 pm

Edited. Try just changing icon for original FM. This way, nothing breaks.
DNPNWO

User avatar
MartinPi
Posts: 83
Joined: Sun Nov 29, 2015 4:45 pm

Re: How to change icons?

Sun May 08, 2016 7:18 pm

Rive wrote:Edited. Try just changing icon for original FM. This way, nothing breaks.
That's a much faster way to do things, working great! Also backed up everything :) Off to change the lot! Many thanks :)
Raspberry Pi 3 32GB with 32-inch Monitor
Rasberry Pi Zero 32GB

User avatar
Rive
Posts: 586
Joined: Sat Mar 26, 2016 5:21 pm
Location: USA

Re: How to change icons?

Sun May 08, 2016 9:21 pm

I edited the post again as i found another FM app location that needs to be changed. Also, I made the instructions clearer for how to change the taskbar icon.

Made a custom dir for icons.../usr/share/icons/custom/

Here is mine:
Image
file-manager.png
file-manager.png (8.38 KiB) Viewed 20732 times

EDIT

This is the location for all the file manager icons:
/usr/share/icons/gnome/

There is a different size FM icon in each 'apps' folder called 'system-file-manager.png', the file manager icon near menu in the launchbar, and in menu/accessories, is located here (change this image icon, and they both change after reboot):

/usr/share/icons/gnome/24x24/apps/system-file-manager.png
DNPNWO

Newest NOOB
Posts: 2
Joined: Tue Feb 13, 2018 1:53 pm

Re: How to change icons?

Sun Feb 18, 2018 2:59 am

I dont know weather it may help or not,but

changing icon theme is a nice idea if you want to change all the icons

type

sudo lxappearance

in the opening window, go to icon themes and click install

now select your icon theme and click apply


hope it helps

adwebb159
Posts: 1
Joined: Thu Apr 25, 2019 12:09 am

Re: How to change icons?

Thu Apr 25, 2019 12:19 am

After you have downloaded an image:
1. Click on the menu button (left of task bar)
2. Find the app you want to change
3. Right click and select "Properties"
4. Click on the image
5. Chose "image files" at the top
6. Chose your image and click "OK"
7. Click "OK" (after changing the name if you want)

If you want this app to show up in the application launch bar settings:
1. Right click application launch bar
2. Click "Application Launch Bar Settings"
3. Find the app on the right, add it, and use the up and down buttons to move it
4. Click "Close"

Return to “Raspberry Pi OS”