Rox-Filer Current File Bounding Box Change (solved)

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
sfein1000
Posts: 96
Joined: Fri Mar 25, 2022 1:38 am
Been thanked: 4 times

Rox-Filer Current File Bounding Box Change (solved)

Post by sfein1000 »

I searched around (both this site and general Google) and I'm not seeing a solution to my problem. I'm hoping someone with some good Rox-Filer knowledge might be able to help me.

I want to change the bounding box that shows the current file. It is a dotted/dashed box and I have trouble picking it out on one of my computers. Everything I found online discussed changing colors (and even then, was not specific to the current file box). I want something to make the box easier to see. Either by making it solid or increasing the number of pixels to make it fatter or both.

Is there a way to do this?

Thanks

Last edited by bigpup on Thu Sep 01, 2022 7:10 pm, edited 1 time in total.
Reason: added solved to subject to show issue was fixed
HerrBert
Posts: 357
Joined: Mon Jul 13, 2020 6:14 pm
Location: Germany, NRW
Has thanked: 18 times
Been thanked: 126 times

Re: Rox-Filer Current File Bounding Box Change

Post by HerrBert »

@sfein1000
Q: Is this what you call a bounding box?

rox-focus.jpg
rox-focus.jpg (9.52 KiB) Viewed 848 times

If yes: It is a gtk-theme setting.

The attached archive contains this additional theme.
Unpack it to /root, than open the file /root/.gtkrc-2.0 in a text editor and add the line

Code: Select all

include "/root/.local/themes/rox/gtk-2.0/gtkrc"

You can change the color to your liking by editing the included svg file in a text editor, too.

[EDIT]
You have to reload your gtk theme or restart X after applying.

This may also apply to some other applications.
Also it does not apply to the list view in rox filer :?:

Attachments
rox-focus.tar.gz
(580 Bytes) Downloaded 54 times
sfein1000
Posts: 96
Joined: Fri Mar 25, 2022 1:38 am
Been thanked: 4 times

Re: Rox-Filer Current File Bounding Box Change [Solved]

Post by sfein1000 »

Thank you for this. That is the bounding box and I was drawing a blank on calling it the focus rectangle which would have been a lot less confusing, so thanks for naming your tar file to remind me :D

Though this solves my issue, I think you actually led me to a better solution which is list view. That gives a better focus coloring and would be an even better solution as I would not need the new theme.

Thanks for the info.

User avatar
MochiMoppel
Posts: 1232
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 21 times
Been thanked: 437 times

Re: Rox-Filer Current File Bounding Box Change

Post by MochiMoppel »

HerrBert wrote: Thu Sep 01, 2022 9:15 am

This may also apply to some other applications.
Also it does not apply to the list view in rox filer :?:

It's just a matter of choosing the right widget_class to make it work also in list view.
I haven't found the right one yet, but instead I made it applicable for all widgets because the problem of poor visibility exists for other elements too. I had particular problems to determine if a button has focus or not. Therefore I changed
widget_class "*ViewCollection*" style "rox" to widget_class "*" style "rox" and also changed the SVG to a red border without filling color: <rect height="10" width="10" fill="none" stroke="#f00" stroke-width="3"/>
So far I like the result very much. And yes, it applies to other applications, and that is good! Thanks for the hint :thumbup2:

gtk_focus.png
gtk_focus.png (66.02 KiB) Viewed 755 times
Post Reply

Return to “Users”