123elf icon indicating copy to clipboard operation
123elf copied to clipboard

Investigate SIGWINCH handler

Open taviso opened this issue 2 years ago • 4 comments

Investigate if a SIGWINCH handler is possible to readjust when the terminal is resized.

taviso avatar Aug 09 '22 05:08 taviso

To get full-screen across most terminals, good argument here for packaging distro-agnostic WmCtrl as dependency with .deb https://askubuntu.com/questions/481517/run-script-full-screen-in-terminal

Temp fix can define Alias script in .bashrc for fullscreen, and also pass a worksheet name to Lotus 1-2-3 https://forums.linuxmint.com/viewtopic.php?t=297449

'# Temp alias script in .bashrc for multiple commands'

alias lotus() {

wmctrl -r~ -b toggle,maximized_vert,maximized_horz '# wmctrl [options] will vary. "-r~" was my active PopOs terminal window, add,fullscreen is another option for -b, $ man wmctrl'

123 -w ~/Desktop/wksht.wk3 '# -w argument to load file specific to 123 at startup,$ man 123' }

rruhle avatar Aug 13 '22 04:08 rruhle

Just discovered built-in terminal command xdotool to get full screen when launching 123

xdotool getactivewindow windowsize --sync 125% 125%

'man xdotool', and 'xdotool help' explain this tool

rruhle avatar Feb 25 '23 03:02 rruhle

Is this possible to do? It would make use of 123 especially on laptops a lot friendlier. I took a gander at what is available, and sadly my reverse engineering skills are not up to the task.

sjuswede avatar Oct 22 '23 09:10 sjuswede

My above reference to xdotool relies on the X-Window legacy of most Linux distributions, gradually being replaced by Wayland windowing system.

With a recent Gnome merge request to drop support for X11 entirely, many Linux distros could go to Wayland exclusively, breaking xdotool. A different way to automate full screen from the linux terminal will be needed.

rruhle avatar Oct 23 '23 03:10 rruhle