On 2025-03-05 16:38:40 J Leslie Turriff via tde-devels wrote:
In a particular script, I'd like to maximize the
Konsole window, and DCOP
seems like the way to do this, but though the DCOP interface for Konsole
provides a maximize() function, it doesn't seem to do anything.
Using KDCOP I found in Konsole-16415 => konsole-mainwindow#1, void
maximize(), but it doesn't seem to do anything. Entering the equivalent
command in Konsole,
| @15:30:39 leslie@pinto
| wd=~
| $ dcop --user leslie --session .DCOPserver_pinto__0 konsole-16415
konsole-mainwindow#1 maximize
| rc=0
completes successfully, but the window does not become maximized.
Is this DCOP function's purpose not what it seems, or perhaps I have found
a bug?
Leslie
This is very strange: On another system the
| DCOP Konsole mainwindow#1 maximize
works after enabling the 'Configure Konsole... Allow programs to resize
terminal window', but not on this machine; however, Nikolaus Klepp provided a
workaround:
| wmctrl -r konsole -b add,maximized_vert,maximized_horz
This does what the DCOP command fails to do.
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