On Tuesday 25 May 2021 08:14:41 pm E. Liddell wrote:
On Tue, 25 May 2021 18:46:55 -0500
J Leslie Turriff <jlturriff(a)mail.com> wrote:
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:
I would have thought twin, rather. I mean, it strikes me as a window
manager function.
Brute force way to figure this out...
Let your machine sit for about 5 minutes (go to the bathroom, grab a drink,
whatever...).
Come back, and change one of the apps to be in a static desktop. Do
nothing else!
Then run this on a terminal:
cd /home
find {your-user-name} -newermt $(date +%Y-%m-%d -d '1 min ago') -type f
That should tell you which file the change has been saved to. With that
you hopefully will be able to create a way to do the other stuff you
wanted. Gonna be a kludge, but should work...
HTH,
Michael
I changed the command to use ~leslie and these turned up at the top of the list:
|
/home/leslie/.local/share/gvfs-metadata/uuid-c528adb6-160a-47d5-947b-210a5b9c7407-3ae1b940.log
| /home/leslie/.local/share/gvfs-metadata/uuid-c528adb6-160a-47d5-947b-210a5b9c7407
| /home/leslie/.local/share/recently-used.xbel
| /home/leslie/.trinity/share/config/twinrulesrc
| /home/leslie/.trinity/share/config/ksslpolicies
| /home/leslie/.trinity/share/config/kdeglobals
| /home/leslie/.trinity/share/config/twinrc
and in twinrulesrc I found
| [20]
| Description=Window settings for\s
| desktop=4 # <==
| desktoprule=2
| maximizevert=true
| maximizevertrule=4
| title=X2 Editor Version 2.08.1 # <==
| titlematch=1
| types=1
| wmclass=\s
| wmclasscomplete=true
| wmclassmatch=1
which matches the window that I locked to desktop #4. Nice.
Leslie
--
openSUSE Leap 15.2 x86_64
Qt: 3.5.0
TDE: R14.0.9
tde-config: 1.0