Page 1 of 1

How to remove scrollbar and buttons on the Rox filer?

Posted: Fri Jan 14, 2022 10:16 pm
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,


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

Posted: Fri Jan 14, 2022 11:33 pm
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


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

Posted: Fri Jan 14, 2022 11:34 pm
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.


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

Posted: Sat Jan 15, 2022 2:45 am
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.


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

Posted: Sat Jan 15, 2022 3:40 am
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.


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

Posted: Sat Jan 15, 2022 6:50 am
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: