You are not logged in.

#1 2018-12-04 13:04:02

thia11
Member
Registered: 2018-11-06
Posts: 21

How do I increase the top part of a window so I get a bigger X ?

Hello!

My windows feel a bit small, and it is always a chore to press the x button to close them. I would like to increase the size of the top part of the window so I get a bigger X. Can I do that? Or should I start just using shortcuts for closing windows?

Thanks!

Offline

#2 2018-12-04 15:53:24

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 820

Re: How do I increase the top part of a window so I get a bigger X ?

You can use obconf to set font sizes; it should be in the menu somewhere, or start obconf from a terminal. The titlebar of a openbox window is derived from the font size. For some finer-grained control, you can edit an openbox theme and tweak the padding values.


You must unlearn what you have learned.
    -- yoda

Offline

#3 2018-12-04 18:02:56

nore
>2⁹
From: blueberry bush
Registered: 2015-09-29
Posts: 389

Re: How do I increase the top part of a window so I get a bigger X ?

thia11 wrote:

Or should I start just using shortcuts for closing windows

Not a bad idea at all: Alt+F4 is much quicker than poking around with a pointing device. Soon you don't need window decorations at all.

If you don't want to change titlebar font size, you can also add bitmap images for window buttons in Openbox theme folder. See
http://openbox.org/wiki/Help:Themes#Button_images

Offline

#4 2018-12-04 20:20:18

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 820

Re: How do I increase the top part of a window so I get a bigger X ?

nore wrote:

Not a bad idea at all: Alt+F4 is much quicker than poking around with a pointing device.

+1


You must unlearn what you have learned.
    -- yoda

Offline

#5 2018-12-05 07:34:38

ohnonot
...again
Registered: 2015-09-29
Posts: 3,197
Website

Re: How do I increase the top part of a window so I get a bigger X ?

in many cases, the button size will increase if you increase the titlebar font size (this was said already).

but doesn't bunsenlabs also have "HiDPI" themes for openbox?

you can use keybinds to close active window, but also mousebinds. how about middle-click on titlebar?

get aquainted with openbox.
There's a lot you can do with it to make it suit your needs.

Offline

#6 2018-12-06 16:23:11

onlain
Member
Registered: 2016-04-22
Posts: 31

Re: How do I increase the top part of a window so I get a bigger X ?

nore wrote:

Alt+F4 is much quicker than poking around with a pointing device. Soon you don't need window decorations at all.

I strongly recommend nore's solution. Titlebars become unreadable in small screens.

You can remove decor of all windows from openbox's XML file. Find <applications> rules and set <decor>no</decor> (actually, it is in but commented in default file).

Of course, you will need to get familiar with ALT shortcuts of the lost buttons. By default they are:

ALT + F4: Close window
ALT + F5: Minimize window
ALT + F6: active/disable maximize windows.

Last edited by onlain (2018-12-06 16:23:51)

Offline

Board footer

Powered by FluxBB