Author Topic: How to change folder icon on XFCE?  (Read 3666 times)

0 Members and 1 Guest are viewing this topic.

Offline DaffyDuck

  • Neuling
  • *
  • Posts: 9
  • Branch: stable
  • Desktop: XFCE
  • GPU Card: ATI Radeon R7 M260/M265
  • GPU driver: non-free
  • Kernel: 3.18.15-1-MANJARO
  • Skill: Novice
How to change folder icon on XFCE?
« on: 26. June 2015, 19:01:42 »
Hi.
I use Xfce 4.12
The icon pic in properties isn't clickable.

Offline Ivanwah

  • Sr. Mitglied
  • ****
  • Posts: 287
  • Branch: Stable
  • Desktop: Cinnamon
  • GPU Card: AMD Radeon HD 6670
  • GPU driver: Free (radeon)
  • Kernel: 4.2
  • Skill: Intermediate
Re: How to change folder icon on XFCE?
« Reply #1 on: 26. June 2015, 21:08:30 »
Not possible with Thunar. As far as I know, Nemo and Nautilus can do that, but both come with a lot of dependencies (Nemo, for example, installs whole Cinnamon desktop). Not sure about other file managers.

If you really want that feature, and don't mind switching your DE, I wholeheartedly suggest switching to Cinnamon.

Offline telephone

  • Jr. Mitglied
  • **
  • Posts: 90
  • Desktop: Xfce
  • Skill: Advanced
Re: How to change folder icon on XFCE?
« Reply #2 on: 27. June 2015, 02:14:56 »
@Ivanwah it can be done. It's just not easy to figure out how ;).

I'll demonstrate with the Menda-Circle icon set:

1) Know which icon set you're using (Menda-Circle in this case): Settings > Appearance > Icons
2) Open Thunar Root: "pkexec thunar"
3) Go to your icon installation: "/usr/share/icons/Menda-Circle"
4) With Menda-Circle, go to the following sub-directory: "places" > "/usr/share/icons/Menda-Circle/places"
5) Name your custom folder icon: "inode-directory.<extension>". E.g. inode-directory.svg
6) Copy your icon to both 'scalable' and 'small' sub-directories: "/usr/share/icons/Menda-Circle/places/scalable" and "/usr/share/icons/Menda-Circle/places/small"
6.5) If you have a small and large/scalable icon then copy them respectively
7) Close all Thunar windows, and re-open Thunar


NOTE: If you delete your custom folder icon, I've found easier to re-install the icon set (via package manager) as Thunar reverts back to it's default folder icon.

---

Source: https://urukrama.wordpress.com/2014/12/10/why-doesnt-thunar-use-your-icon-themes-folder-icons/
Backup: https://archive.is/AMar5
« Last Edit: 27. June 2015, 02:25:00 by telephone »

Offline Ivanwah

  • Sr. Mitglied
  • ****
  • Posts: 287
  • Branch: Stable
  • Desktop: Cinnamon
  • GPU Card: AMD Radeon HD 6670
  • GPU driver: Free (radeon)
  • Kernel: 4.2
  • Skill: Intermediate
Re: How to change folder icon on XFCE?
« Reply #3 on: 27. June 2015, 08:38:37 »
Yeah, but that will change the icon for all folders.I think DaffyDuck wants to change icons for only specific folders, which as far as I know, isn't possible with Thunar.

Offline DaffyDuck

  • Neuling
  • *
  • Posts: 9
  • Branch: stable
  • Desktop: XFCE
  • GPU Card: ATI Radeon R7 M260/M265
  • GPU driver: non-free
  • Kernel: 3.18.15-1-MANJARO
  • Skill: Novice
Re: How to change folder icon on XFCE?
« Reply #4 on: 27. June 2015, 11:56:08 »
Yeah, but that will change the icon for all folders.I think DaffyDuck wants to change icons for only specific folders, which as far as I know, isn't possible with Thunar.

Yes, this is what I want. I lost some default folder here (Menda-Circle) and I remember that change is possible in other distros. But, in xfce with Thunar, maybe this is not possible.
I did a search in this forum looking for a way to do this and I found nothing about it. So, I post this question here.
Thanks @Ivanwah and @telephone for your help :)