I recently read about a forum member who wanted to wanted to control an applications
size while running under X without a window manager (emphasis mine):
... But there is a strange problem, the applications don't start in full screen and I can't enlarge them because there is only X (no control over windows). If I press f11 as in the case of firefox the application does not expand to occupy the whole screen, but I can wander with the mouse in all regions of the screen.
Would anyone know how to do this? ...
It seemed like an interesting problem which probably also has an existing solution, but I decided to see what I could
come up with anyway.
Resizer.tcz is 4K (64 bit is 8K) in size. Its only dependency is libX11 which likely is already installed if you are
running X. This is the built in usage message:
tc@box:~$ ./Resizer
Resizer version 0.10 Jul 8 2021 10:24:33
Copyright Richard A. Rost July 2,2021
Resizer starts a program and then resizes and moves its
window based on the options passed in.
Usage: Resizer -p "program args" [-x N] [-y N] [-w N] [-h N] [-d N] [-b]
-p program plus arguments in quotes.
-x X position.
-y Y position.
-w Width.
-h Height.
-d Delay N seconds, then move/resize window.
-b No window manager present.
Notes
Use -d when:
A program puts up a splash dialog before its window.
A program displays its window and later moves it.
Your screen size is 1920 x 1080.
tc@box:~$
The .info file has more details. Please read it if you want to try Resizer:
http://tinycorelinux.net/12.x/x86/tcz/Resizer.tcz.infoI'm currently using Resizer to setup the desktop on one of my machines when it starts up. It launches apps and
places them where I want them using the attached script. It takes literally 2 seconds from claws-mail to geany
to load and place everything.
If someone wants to test It (I'm looking at you vinnie
), it should work without a window manager by including
the
-b option.
It is currently in the TC 12 repo (32 and 64 bit) but should work under all versions of Tinycore.