Re: [SOLVED] Trixie: KDE almost unusable causes plasmashell
- To: debian-user@lists.debian.org
- Subject: Re: [SOLVED] Trixie: KDE almost unusable causes plasmashell
- From: Franco Martelli <martellif67@gmail.com>
- Date: Tue, 9 Sep 2025 20:21:18 +0200
- Message-id: <[🔎] 3920d756-1a1f-401d-8cea-aacdaf2694c0@gmail.com>
- In-reply-to: <534a5541-b654-4c76-8f7a-92159e6664d5@gmail.com>
- References: <499de618-7540-4610-aa42-e22f5df1d76a@gmail.com> <CAO6YxPyzKTHYTu_wEtJW-i98zUEhdaqwicvpbUgo-eXEDmLmww@mail.gmail.com> <534a5541-b654-4c76-8f7a-92159e6664d5@gmail.com>
On 26/08/25 at 14:41, Franco Martelli wrote:
On 26/08/25 at 02:58, Timothy M Butterworth wrote:
On Mon, Aug 25, 2025 at 7:35 PM Franco Martelli <martellif67@gmail.com
<mailto:martellif67@gmail.com>> wrote:
Hi everybody,
The issue is that when the monitor goes in standby, I press a key to
exit locked screen and plasmashell doesn't work anymore.
My systems work fine. Have you installed all the latest updates and
rebooted?
It's a fresh Trixie installation from scratch, I chose "Expert install"
menu entry and installed a base system then installed a my customized
list of packages.
Do your systems run Xorg instead of Wayland and they have "nouveau" as
GPU driver?
In the meantime I will try Debian 13 KDE live to check for a
configuration issue. Thanks anyway!
I've solved with a workaround, a Bash script that restarts plasmashell
every time the screen gets unlocked.
### ### ###
#!/bin/bash
#
# restart_ps.sh : to place under /usr/local/bin/ to restart plasmashell
executable
# every time the screen get unlocked.
# In KDE desktop add to: Systemsettings → Autostart → Login Script
#
skip=0 # "skip" variable to execute plasmashell executable only once.
dbus-monitor --session
"type='signal',interface='org.freedesktop.ScreenSaver'" |
while read x; do
case "$x" in
*"boolean true"*) : ;; # echo SCREEN_LOCKED;;
*"boolean false"*)
if [[ $skip == 0 ]]; then
skip=1
/usr/bin/sleep 3
DISPLAY=:0 /usr/bin/plasmashell --no-respawn --replace >/dev/null 2>&1 &
# echo SCREEN_UNLOCKED
else
skip=0
fi;;
esac
done
### ### ###
Inspired by a script published here: https://unix.stackexchange.com/a/361614
HTH, kind regards.
--
Franco Martelli
Reply to: