Fri, 6 Dec 2024 21:09:40 +0000 (UTC) Robert Webb via openSUSE Users <users@lists.opensuse.org> :
On Fri, 6 Dec 2024 09:00:34 +0000 (UTC), Robert Webb via openSUSE Users <users@lists.opensuse.org> wrote:
Add this to your 'my-xeyes-launch.bsh' script, to capture its caller and parent, to the journal:
logger -t xeyesLaunch -i -- "[$$]($(ps -q $$ -o args=)) ppid [$PPID]($(ps -q $PPID -o args=))"
After logging in, view the messages with:
journalctl -t xeyesLaunch -b
Then, 'rm ~/.profile-disable_xeyes_launch' to re-enable the repeated call of the xeyes launch script and log in again. The messages will show which instance of the running script is the first one, the one you don't want.
Another place to look for other calls of the launch script is your dot files:
( cd && find .[!.] .??* -prune -xtype f -exec grep 'my-xeyes-launch' -- {} + )
this just produced "no entry"'
-- Robert Webb
The 'disable' routine was useful because it allowed me to isolate i.e. to know that the call in ~/.profile is in fact *the first* execution. Once I took that out with your script and the dummy 'touch' file the second execution continued. I looked at .config/autostart/ and there was a file I had earlier renamed to was-my-xeyes-launch.bsh forgetting the fact that the name of files in this folder doesn't make any difference. So I deleted it. Then I took out the dummy 'touched' file and sure enough I got the first set of eyeballs but since that takes place in lo-res they end up being in the left half-screen at 1920x1080. The double execution had probably been going on for many months _unnoticed_ because the low-res screen never existed so second set just covered the first set exactly. When the lo-res screen began showing up (for whatever reason) is when three pairs became visible. The residual part of the problem is that splashma-6 slews everything that would violate the deskbars margins even where there is no deskbar so I end up with this weird result: https://imgur.com/xwxi0r7.png If I do the ~/.profile call instead of kde-autostart then plasma is faced with a fait-accompli and the left eyes are exactyly where intended but I don't know how to trick the right eyes to go so much off the lo-res screen that they'll be just right in the hi-res final. Anyway, the short of the long is that your suggestion to look in autostart was the key! Thanks.