On 2021-05-25 18:07:47 J Leslie Turriff wrote:
Now, for the rest of my question, is
there a way to alter these settings programmatically (e.g. via DCOP or...)?
Leslie
I tried dumping the available DCOP functions for kcontrol, which seems like the most
likely place to find such:
| ~
| $ echo kcontrol >kcontrol.dcop;for o in $(dcop kcontrol);do echo;echo $o:;dcop
kcontrol
$o;done >>kcontrol.dcop
| @18:34:33,leslie@pinto rc=0
| ~
| $ grep -i '^$\|:$\|window\|desk' kcontrol.dcop
|
| qt:
|
| MainApplication-Interface:
|
| TDEIO::Scheduler:
|
| html-widget1:
|
| kcontrol:
|
| kcontrol-mainwindow#1:
| bool isDesktop()
| bool isActiveWindow()
| double windowOpacity()
| void setWindowOpacity(double windowOpacity)
| bool dockWindowsMovable()
| void setDockWindowsMovable(bool dockWindowsMovable)
| void grabWindowToClipBoard()
| void setActiveWindow()
| void setActiveWindowFocused()
|
| moduleIface:
|
| tdesycoca:
| @18:34:37,leslie@pinto rc=0
So it looks like kcontrol, at least, can't help. I don't know where else to
search in
DCOP.
What I want to do is make a way to get information from TDE in order to manipulate the
desktop/location of a window, so that I can restore it to its previous location after
logout/login. Ideally, DCOP (or something else?) would provide get() and set() functions
for the desktop location of a window.
Leslie
--
openSUSE Leap 15.2 x86_64
Qt: 3.5.0
TDE: R14.0.9
tde-config: 1.0