Re: Can I use DCOP to maximize a window programmatically?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anno domini 2025 Wed, 5 Mar 14:22:32 -0600
 J Leslie Turriff via tde-users scripsit:
> 	In a particular script, I'd like to maximize the Konsole window, and DCOP
> seems like the way to do this, but I can't figure out which component would
> provide the capability?

Maximize the first konsole (when it's already running an not maximized or maximized-vertically):

$ dcop $(dcop|grep konsole|head -n 1) konsole-mainwindow#1 maximize

You'll need some extra work if more than one konsole is running :)

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
>
> ____________________________________________________
> tde-users mailing list -- users@xxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxx
> Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@xxxxxxxxxxxxxxxxxx
>



--
Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
____________________________________________________
tde-users mailing list -- users@xxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxx
Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@xxxxxxxxxxxxxxxxxx



[Index of Archives]     [Trinity Devel]     [KDE]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux