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.
Change sidebar color (on XFCE) [SOLVED]
-
- Posts: 3
- Joined: Tue Jan 07, 2020 9:25 pm
Change sidebar color (on XFCE) [SOLVED]
Last edited by pedruchini on Thu Jan 30, 2020 10:29 pm, edited 1 time in total.
Re: Change sidebar color (on XFCE)
Where did you get that code from?pedruchini wrote:But this doesn't work on MX Linux.
Also show us the contents of ~/.gtkrc-2.0
-
- Posts: 3
- Joined: Tue Jan 07, 2020 9:25 pm
Re: Change sidebar color (on XFCE)
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.
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)
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
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
-
- Posts: 3
- Joined: Tue Jan 07, 2020 9:25 pm
Re: Change sidebar color (on XFCE)
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.
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)
Congratulations!
You could mark your thread SOLVED now.
You could mark your thread SOLVED now.