After weeks, I had to adapt my workflow and learn to live with it. Yes, extremely annoying freeze on something really common like right-clicking on a file.
I’m sharing here a little Bash script and launcher that improved my quality of life with KDE Neon and this bug. Note: it use notify-send as a library, probably part of a package named libnotify something. It is to display a notification in the corner of the screen.
I saved this one as toggle-kdeconnectd.sh and gave it permission to execute with a right-click, properties, permissions:
#!/bin/bash
Check if kdeconnectd is running and toggle it
is_running=$(pgrep -x kdeconnectd)
if [ -n "$is_running" ]; then
Process is running, kill it
kill "$is_running"
notify_message="kdeconnectd has been stopped"
else
Process is not running, start it
kdeconnectd &
notify_message="kdeconnectd has been started"
fi
Send notification
notify-send "KDE Connect" "$notify_message"
I also created a launcher to it in /home/<yourusername>/.local/share/applications/ with a toggle-kdeconnectd.desktop like this (adapt the path of the icon and script) :
[Desktop Entry]
Categories=Utility;System;
Comment[en_US]=Start or stop KDE Connect daemon
Comment=Start or stop KDE Connect daemon
Exec=/home/<yourusername>/toggle-kdeconnectd.sh
GenericName[en_US]=
GenericName=
Icon=/home/<yourusername>/toggle-kdeconnectd.svg
MimeType=
Name[en_US]=Toggle KDE Connect
Name=Toggle KDE Connect
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=
And the custom icon (svg):
Usage:
When the freeze happens, just open the main menu, and if you put the software “toggle-kdeconnectd” in your fav, just click the icon. Done.
If you need Kdeconnect to transfer file from your mobile or anything, just run it again, it will restore the process.