How to change the background colour of rox filer window

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
User avatar
amethyst
Posts: 2414
Joined: Tue Dec 22, 2020 6:35 am
Has thanked: 57 times
Been thanked: 504 times

How to change the background colour of rox filer window

Post by amethyst »

I've been able to do this with older Puppys before but no go with Bionic 32. I have a .gtkrc-2.0.mine file with the following entries but this changes the background colour of the button bar. The rox filer window is the one that opens when you search for folders/files on your system just to make it clear. I want to change the background colour inside the window which is normally white. Any ideas?

Code: Select all

style "rox" = "default"
{
  bg[NORMAL] = "#92D792"
  bg[ACTIVE] = "#92D792"
}
widget_class "*" style "rox"
Feek
Posts: 398
Joined: Sun Oct 18, 2020 8:48 am
Location: cze
Has thanked: 54 times
Been thanked: 90 times

Re: How to change the background colour of rox filer window

Post by Feek »

Hello,
I'm not in Bionicpup32 right now but (in Fatdog ATM) I am able to change the colour of the rox window this way:

open rox window, right click in the window's space -> options -> colours -> Background colour -> tick "use custom background colour" and click the button to change the colour.

User avatar
amethyst
Posts: 2414
Joined: Tue Dec 22, 2020 6:35 am
Has thanked: 57 times
Been thanked: 504 times

Re: How to change the background colour of rox filer window

Post by amethyst »

Feek wrote: Sun Sep 19, 2021 9:17 am

Hello,
I'm not in Bionicpup32 right now but (in Fatdog ATM) I am able to change the colour of the rox window this way:

open rox window, right click in the window's space -> options -> colours -> Background colour -> tick "use custom background colour" and click the button to change the colour.

I don't have that option, I can only change the pinboard background colour in ROX options. Under the Colours section, there is no background colour choice for the inside window.

User avatar
bigpup
Moderator
Posts: 6983
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 903 times
Been thanked: 1522 times

Re: How to change the background colour of rox filer window

Post by bigpup »

Try using this layout for the commands in the .gtkrc-2.0.mine

Code: Select all

style "rox" = "default"
{
  bg[NORMAL] = "#92D792"
  bg[ACTIVE] = "#92D792"
}
widget_class "*Collection*" style "rox"

Notice the last line entries different from yours.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
amethyst
Posts: 2414
Joined: Tue Dec 22, 2020 6:35 am
Has thanked: 57 times
Been thanked: 504 times

Re: How to change the background colour of rox filer window

Post by amethyst »

bigpup wrote: Sun Sep 19, 2021 11:16 am

Try using this layout for the commands in the .gtkrc-2.0.mine

Code: Select all

style "rox" = "default"
{
  bg[NORMAL] = "#92D792"
  bg[ACTIVE] = "#92D792"
}
widget_class "*Collection*" style "rox"

Notice the last line entries different from yours.

That makes no difference. Yes, that is the "solution" you get when you copy/paste when searching the problem on the net. In fact, you can discard the ="default" also, still does not make a difference. Is this working for you, did you try the solution?

User avatar
bigpup
Moderator
Posts: 6983
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 903 times
Been thanked: 1522 times

Re: How to change the background colour of rox filer window

Post by bigpup »

No a posted before trying it in Bionicpup32.

I just saw that difference in the last line, so figured that may be the problem.

I will have to boot up Bionicpup32 and see what is working.

Sorry :oops:

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
bigpup
Moderator
Posts: 6983
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 903 times
Been thanked: 1522 times

Re: How to change the background colour of rox filer window

Post by bigpup »

I think I have it figured out.

First I had to make the file .gtkrc-2.0.mine.

This is what i put in it.

Code: Select all

style "rox" = "default"
{
  base[NORMAL] = "#92D792"
  base[SELECTED] = "#92D792"
}
widget_class "*Collection*" style "rox"

This gives me a medium green background in Rox.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
amethyst
Posts: 2414
Joined: Tue Dec 22, 2020 6:35 am
Has thanked: 57 times
Been thanked: 504 times

Re: How to change the background colour of rox filer window

Post by amethyst »

bigpup wrote: Sun Sep 19, 2021 1:41 pm

I think I have it figured out.

First I had to make the file .gtkrc-2.0.mine.

This is what i put in it.

Code: Select all

style "rox" = "default"
{
  base[NORMAL] = "#92D792"
  base[SELECTED] = "#92D792"
}
widget_class "*Collection*" style "rox"

This gives me a medium green background in Rox.

In the big window? Does not work for me, only the button area turns green and also the backgtounds of my gtk application screens. Can you attach an image?

Last edited by amethyst on Sun Sep 19, 2021 2:05 pm, edited 1 time in total.
User avatar
bigpup
Moderator
Posts: 6983
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 903 times
Been thanked: 1522 times

Re: How to change the background colour of rox filer window

Post by bigpup »

Screenshot.jpg
Screenshot.jpg (25.74 KiB) Viewed 222 times

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
amethyst
Posts: 2414
Joined: Tue Dec 22, 2020 6:35 am
Has thanked: 57 times
Been thanked: 504 times

Re: How to change the background colour of rox filer window

Post by amethyst »

bigpup wrote: Sun Sep 19, 2021 2:05 pm

Screenshot.jpg

Darn, that's it so why does it not work for me. This is exactly what I tried in the first place. Maybe something wrong with something that has been saved before. I'll try with a clean install. Thanks.

User avatar
bigpup
Moderator
Posts: 6983
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 903 times
Been thanked: 1522 times

Re: How to change the background colour of rox filer window

Post by bigpup »

Is the code I posted the only thing in the .gtkrc-2.0.mine file?

I used this in Fossapup64 9.5 to see what it would do in it.

It already had a .gtkrc-2.0.mine file with a line of code in it.
I had to make sure to enter the posted code, after that already there, line of code.

Another idea.
Could be some conflict with the GTK theme you are using :idea:

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
amethyst
Posts: 2414
Joined: Tue Dec 22, 2020 6:35 am
Has thanked: 57 times
Been thanked: 504 times

Re: How to change the background colour of rox filer window

Post by amethyst »

bigpup wrote: Sun Sep 19, 2021 2:15 pm

Is the code I posted the only thing in the .gtkrc-2.0.mine file?

I used this in Fossapup64 9.5 to see what it would do in it.

It already had a .gtkrc-2.0.mine file with a line of code in it.
I had to make sure to enter the posted code, after that already there, line of code.

Another idea.
Could be some conflict with the GTK theme you are using :idea:

It's exactly what I did. I got the code from the rox site and created the.gtkrc-2.0.mine file. You must check it in Bionic 32. I'm checking if it works in Precise. Attach your ..mine file please.

User avatar
bigpup
Moderator
Posts: 6983
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 903 times
Been thanked: 1522 times

Re: How to change the background colour of rox filer window

Post by bigpup »

It does work in Bionicpup32.
I get the same results as the image I posted.

What I already posted is what is in the .gtkrc-2.0.mine file in Bionicpup32.

Only this:

Code: Select all

style "rox" = "default"
{
  base[NORMAL] = "#92D792"
  base[SELECTED] = "#92D792"
}
widget_class "*Collection*" style "rox"

.
Notice my lines are base lines not bg lines of code.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
amethyst
Posts: 2414
Joined: Tue Dec 22, 2020 6:35 am
Has thanked: 57 times
Been thanked: 504 times

Re: How to change the background colour of rox filer window

Post by amethyst »

I need to figure out why this is not working for me. All the gtk stuff like Geany's window etc. do change colour but the big rox window not . However - I have played around with the rox options file and somehow got the rox window background to change to a light beige colour (which is different from the gtk colour change). So I don't know how that happened but I quite like it.

Post Reply

Return to “Users”