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' -- {} + ) -- Robert Webb