How to remove scrollbar and buttons on the Rox filer?

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

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

How to remove scrollbar and buttons on the Rox filer?

Post by gychang »

am running UPupFF+D, 32bit. I am getting the scrollbar on the rox window even when the window is maximized.
1. How do I disable the scrollbar?
2. Can I remove the minimize/maximize/close icons?, I prefer to use keyboard shortcuts I have.

thanks,

Attachments
Screenshot.png
Screenshot.png (11.57 KiB) Viewed 305 times

======

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

======

geo_c
Posts: 2878
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2200 times
Been thanked: 873 times

Re: How to remove scrollbar and buttons on the Rox filer?

Post by geo_c »

gychang wrote: Fri Jan 14, 2022 10:16 pm

am running UPupFF+D, 32bit. I am getting the scrollbar on the rox window even when the window is maximized.
1. How do I disable the scrollbar?
2. Can I remove the minimize/maximize/close icons?, I prefer to use keyboard shortcuts I have.
thanks,

I'm no expert, but from my experience creating custom themes, the scroll bars are produced by GTK-2, and changes made there will most likely affect all scrollbars. I could be wrong, and there might be a way to remove ROX scrollbars from ROX, but I have changed the graphic elements of gtk-2 to make my scroll bars look like this, and ROX follows suit:

Image

geo_c
Old School Hipster, and Such

williams2
Posts: 1062
Joined: Sat Jul 25, 2020 5:45 pm
Been thanked: 305 times

Re: How to remove scrollbar and buttons on the Rox filer?

Post by williams2 »

The window manager is responsible for the title bar.

If you are using jwm:

i don't know if it can be configured in jwmdesk

You can add a group in .jwmrc

Edit /etc/xdg/templates/_root_.jwmrc

Add something like this:

Code: Select all

<Group>
	<Name>ROX-Filer</Name>
	<Option>notitle</Option>
</Group>

Other options can be nomax, nomin, noclose etc etc
see: http://joewing.net/projects/jwm/config.html

Then restart X, or reboot, or restart jwm.

User avatar
gychang
Posts: 591
Joined: Fri Aug 28, 2020 4:51 pm
Location: San Diego, CA
Has thanked: 206 times
Been thanked: 64 times

Re: How to remove scrollbar and buttons on the Rox filer?

Post by gychang »

williams2 wrote: Fri Jan 14, 2022 11:34 pm

The window manager is responsible for the title bar.

If you are using jwm:

You can add a group in .jwmrc

Edit /etc/xdg/templates/_root_.jwmrc

Add something like this:

Code: Select all

<Group>
	<Name>ROX-Filer</Name>
	<Option>notitle</Option>
</Group>

Mainly I use bspwm rather than the default jwm. In bspwm, rox show no buttons but scrollbar is there. The original photo was from when I was running jwm. Editing the both *.jwm files result in no change in scrollbar obviously when I am running bspwm.

In jwm and adding the code DOES remove the buttons as pictured but the scrollbar remains. Appreciate the input. I will use this snippet when I am running a jwm.

Attachments
title.png
title.png (83.72 KiB) Viewed 267 times

======

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

======

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

Re: How to remove scrollbar and buttons on the Rox filer?

Post by MochiMoppel »

gychang wrote: Fri Jan 14, 2022 10:16 pm

I am getting the scrollbar on the rox window even when the window is maximized.
1. How do I disable the scrollbar?

Do you want to hide the scrollbar only when there is nothing to scroll (=window size big enough to display content), but otherwise keep it?

Maximized or not, ROX-Filer always shows a vertical scrollbar (and - equally odd - never a horizontal bar). In my version it even shows the scrollbar when the window is empty.
It's one of those small annoyances in ROX-Filer and I assume that the only way to fix it is to patch and recompile the source code. In GTK the scrollbar policy is determined by gtk_scrolled_window_set_policy () . Apparently this is set to GTK_POLICY_ALWAYS while setting it to GTK_POLICY_AUTOMATIC would display the scrollbar only when needed.

User avatar
gychang
Posts: 591
Joined: Fri Aug 28, 2020 4:51 pm
Location: San Diego, CA
Has thanked: 206 times
Been thanked: 64 times

Re: How to remove scrollbar and buttons on the Rox filer?

Post by gychang »

MochiMoppel wrote: Sat Jan 15, 2022 3:40 am
gychang wrote: Fri Jan 14, 2022 10:16 pm

I am getting the scrollbar on the rox window even when the window is maximized.
1. How do I disable the scrollbar?

Do you want to hide the scrollbar only when there is nothing to scroll (=window size big enough to display content), but otherwise keep it?

Maximized or not, ROX-Filer always shows a vertical scrollbar (and - equally odd - never a horizontal bar). In my version it even shows the scrollbar when the window is empty.
It's one of those small annoyances in ROX-Filer and I assume that the only way to fix it is to patch and recompile the source code. In GTK the scrollbar policy is determined by gtk_scrolled_window_set_policy () . Apparently this is set to GTK_POLICY_ALWAYS while setting it to GTK_POLICY_AUTOMATIC would display the scrollbar only when needed.

I prefer the scroollbar does not appear at all. Seems like there may not be an easy solution... :thumbdown:

======

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

======

Post Reply

Return to “Users”