You are not logged in.
Found this neat little script a few years ago when using Fluxbox. I currently am using it on an xfce4 sid setup, and now here as well.
From this site: http://lxlinux.com/openbox.html
Winfuncs requires that xdotool, x11-utils, wmctrl and xautoclock, all small programs, be installed. It offers the user 5 tiling modes: tile, cascade, tiletwo, select and showdesktop. Put winfuncs in /usr/local/ bin/ (on the path) and make it executable. The commands to launch the 5 modes are
winfuncs "tile"
winfuncs "cascade"
winfuncs "tiletwo"
winfuncs "select"
winfuncs "showdesktop".
xautoclock can't be found, and you will want to install "bc". everything else already installed.
sudo apt install bc
Download the script using wget:
Place in ~/bin and make executable.
wget http://lxlinux.com/winfuncs
Open a few windows and test in a terminal with:
winfuncs cascade
Then set keybinds however you wish.
*Note In a terminal, this throws some syntax errors in Bunsenlabs but still works. Funny enough, on the xfce4 sid install, this throws no errors! I didn't expect it to work there:)
Also, Using "tile" with only two windows will result in both windows extending below the panel. More than two windows doesn't have this problem.
Apparently there are already a couple of programs that do this as stated on the site, but scripts are fun!
Last edited by sleekmason (2020-09-03 15:55:35)
Offline
Thanks ever so much, that script worked a treat. Regards, Adam
Offline
Yeah, using this as well... brilliant!
Offline