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

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

 



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-open-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.

	Is it possible that something in XDG is involved?  (I really don't know all
the things that XDG do.)

Leslie
>
> Anno domini 2025 Wed, 5 Mar 22:42:10 +0100
>
>  Dr. Nikolaus Klepp via tde-users scripsit:
> > 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@trinityd
> > >esktop.org
> >
> > --
> > 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@trinitydes
> >ktop.org
>
> --
> 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@trinitydeskt
>op.org




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



[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