Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-09-02 12:18:37

jt1122
Member
Registered: 2021-03-26
Posts: 240

Different % for window size when tiling windows

Hi,

settings->window manager->keyboard
has the option of defining shortcuts for tiling window to the left/right/up/down. They then occupy 50% of the screen width/height.

Is it possible to define different %, e.g. a window would be tiled to the top but its height will be 20% of the screen height?.

Thanks

Offline

#2 2022-09-02 18:51:37

Skaperen
Member
From: right by Jesus, our Saviour
Registered: 2013-06-15
Posts: 818

Re: Different % for window size when tiling windows

i don't understand what tiling a window means.  can you show an example?

my understanding of shortcuts is a keypress combo (one key with a combination of modifiers) runs a whole command.  so i'm guessing the command has to have the percentage given as an argument or have a set value hardcoded inside.  how does settings->window manager->keyboard show it for you?  (that command part)

Offline

#3 2022-09-02 19:26:01

jt1122
Member
Registered: 2021-03-26
Posts: 240

Re: Different % for window size when tiling windows

in settings->window manager->keyboard there are keyboard shortcuts for tiling a window to the left/right/up/down.

Thanks

Offline

#4 2022-09-02 19:40:29

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,998

Re: Different % for window size when tiling windows

I don't believe you can adjust those natively through xfwm4. You'd need to use a 3rd party tool like one of the ones listed in this thread. Or alternatively, replace xfwm4 with a tiling window manager.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2022-09-02 19:47:53

jt1122
Member
Registered: 2021-03-26
Posts: 240

Re: Different % for window size when tiling windows

Thanks.

Doesn't xfwm4 use some config file where it's possible to set the % of window width/height when tiling it this way?.

Offline

#6 2022-09-02 22:02:49

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,998

Re: Different % for window size when tiling windows

A config file? No. The dimensions are hard-coded (half height, half width). See https://gitlab.xfce.org/xfce/xfwm4/-/bl … nt.c#L3304.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2022-09-03 12:31:41

jt1122
Member
Registered: 2021-03-26
Posts: 240

Re: Different % for window size when tiling windows

Thanks.

Offline

Board footer

Powered by FluxBB