[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Stretch/Xfce: five xclock's running on startup



Hi, command "inxi -S" reports
 Host: maria Kernel: 4.9.0-4-amd64 x86_64 (64 bit) Desktop: Xfce 4.12.3

The user has defined $HOME/.config/autostart/xclock.desktop as

[Desktop Entry]
Name=Clock
Comment=Clock with seconds hand
Icon=xclock
Exec=xclock -update 1 -geometry 200x200+150+400
Terminal=false
Type=Application

When the user logs in, he gets multiple instances of xclock.

root@maria ~ → ps -elf | grep -E "xclock|xfce4-session"
 0 S rprice    1828  1757  0  80   0 - 84510 SyS_po 11:59 tty2
                           00:00:00 xfce4-session
 0 S rprice    1861  1828  0  80   0 - 17225 SyS_po 11:59 tty2
                           00:00:00 xclock -xtsessionID 2c551690d-8efb-4da6-b355-e5df701247f2
                           -update 1 -geometry 200x200+150+400
 0 S rprice    1869  1828  0  80   0 - 17225 SyS_po 11:59 tty2
                           00:00:00 xclock -xtsessionID 2a3e8f976-91d6-4127-bcd2-53cf55e7036f
                           -update 1 -geometry 200x200+150+400
 0 S rprice    1870  1828  0  80   0 - 17225 SyS_po 11:59 tty2
                           00:00:00 xclock -xtsessionID 26ca134b7-27ad-4be3-adb9-24153b08bd35
                           -update 1 -geometry 200x200+150+400
 0 S rprice    1888  1828  0  80   0 - 17225 SyS_po 11:59 tty2
                           00:00:00 xclock -xtsessionID 238b91a2f-08bd-4734-9417-d283122ab160
                           -update 1 -geometry 200x200+150+400
 0 S rprice    1975  1828  0  80   0 - 17225 SyS_po 11:59 tty2
                           00:00:00 xclock -update 1 -geometry 200x200+150+400

Why is this?  Is there some way of avoiding these extra xclock's?
The user's xosview.desktop produces only one copy of xosview, and xload.desktop produces only one xload.

Roger

Reply to: