Page 1 of 1
Change sidebar color (on XFCE) [SOLVED]
Posted: Tue Jan 07, 2020 9:41 pm
by pedruchini
I installed PCManFM on MX Linux but I can't change the sidebar color, as I did in Lubuntu. I know this is the LXDE forum, but since PCManFM is primarily an LXDE application I decided to post this topic on this forum instead on the MX Linux forum.
In LXDE, I created in my home directory a file named .gtkrc-2.0.mine with this content:
style "pcmanfm-sidebar"
{
ythickness = 3
xthickness = 3
GtkTreeView::horizontal_separator = 15
GtkTextView::cursor_color = "#ffffff"
base[NORMAL] = "#525252"
text[NORMAL] = "#98D2F2"
}
widget "FmMainWin.*.FmPlacesView" style "pcmanfm-sidebar"
But this doesn't work on MX Linux.
Does anybody know how to achieve this?
Thank you in advance.
Re: Change sidebar color (on XFCE)
Posted: Sat Jan 11, 2020 3:07 pm
by drooly
pedruchini wrote:But this doesn't work on MX Linux.
Where did you get that code from?
Also show us the contents of ~/.gtkrc-2.0
Re: Change sidebar color (on XFCE)
Posted: Mon Jan 13, 2020 11:20 pm
by pedruchini
Hi,
I'm not a programmer. I can't remember where I got that code. It was a few years ago. Since then, I changed some values and I always use it to customize PCManFM. It works in LXDE, but it doesn't work in XFCE.
I remember that I tested other options, like the code
you proposed on this thread:
viewtopic.php?t=36177, but as I've just said, it was long time ago.
Here is the contents of my .gtkrc.2.0.mine.
Code: Select all
style "pcmanfm-sidebar"
{
ythickness = 3
xthickness = 3
GtkTreeView::horizontal_separator = 15
GtkTextView::cursor_color = "#ffffff"
base[NORMAL] = "#525252"
text[NORMAL] = "#98D2F2"
}
widget "FmMainWin.*.FmPlacesView" style "pcmanfm-sidebar"
Re: Change sidebar color (on XFCE)
Posted: Wed Jan 15, 2020 10:04 pm
by drooly
Nothing will be applied if your ~/.gtkrc-2.0 does not include the line
include "/home/<yourusername>/.gtkrc-2.0.mine"
But, I sortof missed the point that this is XFCE, not LXDE - yes, XFCE will likely require different tweaks.
Maybe you can find sth here:
https://docs.xfce.org/start
Re: Change sidebar color (on XFCE)
Posted: Thu Jan 16, 2020 1:51 am
by pedruchini
Hi, drooly
Thanks for your help. I've finally found a solution:
Since I'm using the Numix theme, I edited the file /usr/share/themes/Numix/gtk-2.0/gtkrc by adding the abovementioned code.
Now it works.
Re: Change sidebar color (on XFCE)
Posted: Wed Jan 22, 2020 9:09 pm
by drooly
Congratulations!
You could mark your thread SOLVED now.