How to change indicator box color on the Rox item?(SOLVED)

Moderator: Forum moderators

Post Reply
User avatar
gychang
Posts: 584
Joined: Fri Aug 28, 2020 4:51 pm
Location: San Diego, CA
Has thanked: 205 times
Been thanked: 63 times

How to change indicator box color on the Rox item?(SOLVED)

Post by gychang »

Attached is the roxfiler on XenialPup. I have modified the background color on the Rox since I prefer this to the default. As the photo shows around the my-pictures box, there is a rectangular box that indicate the active item (using arrow keys). How do I change this faint gray color to more noticeable color perhaps yellow or white?

Attachments
screencapture.png
screencapture.png (74.06 KiB) Viewed 1756 times
Last edited by gychang on Tue Sep 06, 2022 12:59 pm, edited 1 time in total.

======

Puppy Bytes, utube videos
https://www.youtube.com/channel/UCg-DUU ... u62_iqR-MA

======

one
Posts: 244
Joined: Sun Jul 12, 2020 7:53 am
Has thanked: 16 times
Been thanked: 59 times

Re: How to change indicator box color on the Rox item?

Post by one »

Hi @gychang,

look here for "rox-focus-rectangle", published by @HerrBert, which may do what you want:

https://forum.puppylinux.com/viewtopic. ... 818#p65818

peace

User avatar
MochiMoppel
Posts: 1222
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 20 times
Been thanked: 435 times

Re: How to change indicator box color on the Rox item?

Post by MochiMoppel »

gychang wrote: Mon Sep 05, 2022 11:50 pm

. I have modified the background color on the Rox since I prefer this to the default.

Affecting only ROX-Filer windows? How did you do that?

How do I change this faint gray color to more noticeable color perhaps yellow or white?

AFAIK you can't.[Edit]Sorry, thought you were using list view. Turns out that it's indeed possible also in list view (see linked post by HerrBert)

Last edited by MochiMoppel on Wed Sep 07, 2022 4:47 am, edited 1 time in total.
User avatar
mikewalsh
Moderator
Posts: 6115
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 779 times
Been thanked: 1952 times

Re: How to change indicator box color on the Rox item?

Post by mikewalsh »

Mm. Now I'm curious as well.

I mean, yes; I DO have a dark background to my ROX-filer windows.....but then I have the same colour in most app windows, too. Because I'm using a dark GTK2 theme.....which explains it.

But I wasn't aware you could modify individual items like this in ROX..?

Mike. :?

User avatar
gychang
Posts: 584
Joined: Fri Aug 28, 2020 4:51 pm
Location: San Diego, CA
Has thanked: 205 times
Been thanked: 63 times

Re: How to change indicator box color on the Rox item?

Post by gychang »

one wrote: Tue Sep 06, 2022 7:04 am

Hi @gychang,

look here for "rox-focus-rectangle", published by @HerrBert, which may do what you want:

https://forum.puppylinux.com/viewtopic. ... 818#p65818

peace

thanks!,solved.

======

Puppy Bytes, utube videos
https://www.youtube.com/channel/UCg-DUU ... u62_iqR-MA

======

User avatar
gychang
Posts: 584
Joined: Fri Aug 28, 2020 4:51 pm
Location: San Diego, CA
Has thanked: 205 times
Been thanked: 63 times

Re: How to change indicator box color on the Rox item?

Post by gychang »

MochiMoppel wrote: Tue Sep 06, 2022 9:33 am
gychang wrote: Mon Sep 05, 2022 11:50 pm

. I have modified the background color on the Rox since I prefer this to the default.

Affecting only ROX-Filer windows? How did you do that?

hi: @MochiMoppel
1. to change the background rox color: I added include "/root/.gtkrc-2.0.mine" to .gtkrc-2.0 file.
2. my .gtkrc-2.0.mine: has
pixmap_path "/usr/local/lib/X11/pixmaps"
style "rox" = "default"
{
bg_pixmap [ NORMAL ] = "roxbg.png"
}
widget_class "*Collection*" style "rox"
3. create roxbg.png in GIMP, size of the monitor and color of choice and by using the paint can with gradient, and saved to my /root/

I copied this from somewhere (?old puppyforum) and seems to work for me.

======

Puppy Bytes, utube videos
https://www.youtube.com/channel/UCg-DUU ... u62_iqR-MA

======

User avatar
MochiMoppel
Posts: 1222
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 20 times
Been thanked: 435 times

Re: How to change indicator box color on the Rox item?

Post by MochiMoppel »

gychang wrote: Tue Sep 06, 2022 12:54 pm

I copied this from somewhere (?old puppyforum) and seems to work for me.

Thanks!
I may have found the source: Theming the background of filer windows

step
Posts: 545
Joined: Thu Aug 13, 2020 9:55 am
Has thanked: 56 times
Been thanked: 197 times
Contact:

Re: How to change indicator box color on the Rox item?

Post by step »

gychang wrote: Tue Sep 06, 2022 12:54 pm

...
widget_class "*Collection*" style "rox"

For Fatdog64 users (and users of a rox build derived from the same sources), that line could also be replaced by

Code: Select all

widget "rox-filer.*.Collection" style "rox"

to ensure that the style can't spread to other applications that use the Collection widget.

User avatar
MochiMoppel
Posts: 1222
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 20 times
Been thanked: 435 times

Re: How to change indicator box color on the Rox item?

Post by MochiMoppel »

step wrote: Wed Sep 07, 2022 10:15 am

...
to ensure that the style can't spread to other applications that use the Collection widget.

Which implies that it could spread. That was one of my questions to @gychang but after checking some of Puppy's standard applications I still haven't found one that is affected. Pretty much confined to ROX-Filer. Unfortunately not usable for me as it only works in Icons View, a view that I never use.

Post Reply

Return to “Tips & Tweaks”