On 2025-03-07 01:16:09 Dr. Nikolaus Klepp via tde-users wrote:
Anno domini 2025 Thu, 6 Mar 19:07:33 -0600
J Leslie Turriff via tde-users scripsit:
On 2025-03-06 00:32:13 Dr. Nikolaus Klepp via
tde-users wrote:
Anno domini 2025 Wed, 5 Mar 16:54:27 -0600
J Leslie Turriff via tde-users scripsit:
On 2025-03-05 15:49:49 Dr. Nikolaus Klepp via
tde-users wrote:
> I forgot: wmctrl or xdotool:
>
https://askubuntu.com/questions/384736/how-do-i-maximize-an-already
>-ope n-gn ome-terminal-window-from-command-line#384746
So far I have tried DCOP, xdotool and now wmctrl. All of them
complete with return code 0, but none of them maximize the window
size; so it's not just that DCOP is broken, something in X is not
working right.
Can you post a screenshot of the window before and after the
maximisation attempt?
See attached.
Yes, I see. The konsole window is vertically maximized, so telling it to
maximaize does not do anything.
Try this with one open konsole window:
$ wmctrl -r konsole -b add,maximized_vert,maximized_horz
Nik
Yes, that works. I wonder why the DCOP command doesn't?
Thanks for your workaround.
Leslie
> > > Is it possible that something in XDG is involved? (I really don't
> > > know all the things that XDG do.)
> >
> > Most unlikely. By chance, do you run wayland with X11 emulation?
>
> Unlikely, I agree. I do not run wayland.
>
> Interestingly, on another machine,
>
> | $ dcop $(dcop|grep konsole|head -n 1) konsole-mainwindow#1 maximize
>
> works fine (after Konsole Settings => Configure Konsole... => Allow
> programs to resize terminal window is enabled), but not on this machine.
>
> > Nik
>
> Leslie
--
Platform: Linux
Distribution: openSUSE Leap 15.6 - x86_64
Desktop Environment: Trinity
Qt: 3.5.0
TDE: R14.1.3
tde-config: 1.0