Xfce Forum

Sub domains
 

You are not logged in.

#1 2023-05-19 08:10:50

furycd001
Member
From: Northern Ireland
Registered: 2018-08-22
Posts: 31
Website

[ SOLVED ] Icons in thunar sidebar..

HI Guys..

I have a bunch of folders bookmarked in my thunar side pane, and I've created some custom icons that I would like to use for them. How can I make thunar use these new icons instead of the default folder icon? I currently have various sizes of them saved into the various folders within places (22, 24 etc), but I'm pretty sure there's more I need to do, but I can't find out what that is.

For info most of the bookmarked folder are on an external drive that has been symlinked to my home folder "/home/furycd001/Raccoonn/".

Many thanks in advance for any help or replies....

Last edited by furycd001 (2023-05-19 12:05:22)

Offline

#2 2023-05-19 10:57:30

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: [ SOLVED ] Icons in thunar sidebar..

Thunar uses GTK3's bookmarking function for this and GTK3 bookmarks don't support icons, only bookmark and optional bookmark label.

Ref: https://gitlab.gnome.org/GNOME/gtk/-/bl … ager.c#L89


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2023-05-19 11:08:39

furycd001
Member
From: Northern Ireland
Registered: 2018-08-22
Posts: 31
Website

Re: [ SOLVED ] Icons in thunar sidebar..

Okay, so I can't change the bookmark icons. Would it be possible to change the icons for the folders directly instead and then add them back into the places sidebar?

Offline

#4 2023-05-19 11:45:06

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: [ SOLVED ] Icons in thunar sidebar..

Interestingly yes!

First, you need to enable thumbnails for folders. Then, when you add the folder as a bookmark, it will use the customized thumbnail in the sidebar.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2023-05-19 12:05:07

furycd001
Member
From: Northern Ireland
Registered: 2018-08-22
Posts: 31
Website

Re: [ SOLVED ] Icons in thunar sidebar..

ToZ wrote:

Interestingly yes!

First, you need to enable thumbnails for folders. Then, when you add the folder as a bookmark, it will use the customized thumbnail in the sidebar.

Oh, that is interesting! Thanks smile Checking this out now, but will mark the thread as solved....

Offline

#6 2023-05-19 12:16:04

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: [ SOLVED ] Icons in thunar sidebar..

Demonstration screenshot:

thunar-sidebar.png


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.010 seconds, 8 queries executed - Memory usage: 536.67 KiB (Peak: 537.52 KiB) ]