[was: All hail Robert Webb ..Re: 3 pairs of xeyes?] On Sun, 15 Dec 2024 22:27:27 -0500, bent fender <slowroller@trixtar.org> wrote:
Sun, 15 Dec 2024 09:34:40 +0000 (UTC) Robert Webb via openSUSE Users <users@lists.opensuse.org> :
An alternative that does the same thing, but without a separate script, is to put the commands in a sub-shell, run in the background:
( sleep 5 xeyes -geometry 70x50+36+420 & xeyes -geometry 70x50-36+420 & ) &
Applause, this one worked :-)
Thank you for the acknowledgment, but it was Carlos' idea to delay the xeyes with the sleep command. I just suggested the subshell to avoid needing a separate script, but if you were to put those commands in a script exactly as Carlos described, the result would be the same. Of course, there are multiple hacks here; the use of ~/.xprofile, the arbitrary delay. But who's complaining. :-)
I still don't know why there is a low-res screen though. No problem, in a few weeks it's a new motherboard AND a new GPU.
The desktop start up process is still too opaque to me to have a good idea how to track that down. But, since the sleep made the critical difference, it would be simple and interesting to see what processes changed in that time. Would you try replacing the 'sleep 5' command with the following code to get a 'ps' and a 'lsof' before and after the sleep?: XE_LOG_DIR="$HOME/log/xeyes" cough() { # usage: cough <subdir> local DLOG="$XE_LOG_DIR/${1:?}" mkdir -p "$DLOG" || exit ps -eo uid,pid,ppid,tname,args > "$DLOG"/ps 2>&1 lsof > "$DLOG"/lsof 2>&1 } cough a sleep 5 cough b Then, after logging in to the desktop, run these commands to upload the difference (post the susepaste URL): diff -r ~/log/xeyes/{a,b} > xeyes_delay.diff.txt susepaste -n Bent -t xeyes_delay.diff -f diff -e 151200 xeyes_delay.diff.txt -- Robert Webb