Registered Member
|
Configuration:
Operating System: KDE neon 5.23 KDE Plasma Version: 5.23.3 KDE Frameworks Version: 5.88.0 Qt Version: 5.15.3 Kernel Version: 5.15.3-surface (64-bit) Graphics Platform: X11 Processors: 4 × Intel® Core™ i5-7300U CPU @ 2.60GHz Memory: 7.7 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics 620 Hey all, So since I've installed KDE Neon I've had this hang when turning off or rebooting for about 10 seconds, unsure why. However I wondered if anyone else is having this issue and what I can do to find out why. I am using a custom kernel called linux-surface because the surface device doesn't work well without it, overheats, doesn't support touch screen etc. Thanks! |
Registered Member
|
An update to this, when I use poweroff in terminal, that shuts down instantly, however when I use the shutdown button on the start menu, it hangs for about 10 seconds on the desktop after it closes everything, it then moves to a black screen showing me shutting down services, however it moves too quickly for me to see what it might've hung on.
I was following some solutions on here which didn't work unfortunately: https://ubuntu-mate.community/t/20-04-h ... tart/23269 |
Registered Member
|
That problem is persistent on god knows how many setups. I don't have the prob anymore, but I did before. At the time there was no bug fix ( still isn't for that matter) and I posted a workaround here which involved a zenity script for logout/shutdown/reboot. Works flawlessly. There's also a compact shutdown widget https://store.kde.org/p/1483671/ which seems to do the trick.
This realm's name is Maya. And she speaks Hertz. But Ahamkara makes a fuzz about it.
|
Registered Member
|
That is because when you click on, for example, restart button, it does:
more about https://itectec.com/ubuntu/ubuntu-how-to-safely-shutdown-reboot-logout-kde-from-the-command-line/ which saves the session, ends all processes safely etc. And when you type
|
Registered Member
|
Now i would like to know, if there was a way to map the button to do the
|
Registered Member
|
I'm not currently on kde, but you could have a look in system settings>startup/shutdown>ssdm. At the bottom, click "behaviour". If I recall correctly, there's something like a shutdown and reboot command. If I'm not wrong about that optional setting, using systemctl reboot and systemctl poweroff could do the trick. You'd probably have to make a little script fot it. Nothing fancy. Something like:
#! /bin/bash systemctl reboot ..for the reboot. Make it executable and point the command in ssdm to that script.
This realm's name is Maya. And she speaks Hertz. But Ahamkara makes a fuzz about it.
|
Registered Member
|
Quickly grabbed a kde lappie.
https://imgur.com/a/b9Ut6RT
This realm's name is Maya. And she speaks Hertz. But Ahamkara makes a fuzz about it.
|
Registered Member
|
Unfortunately that didn't work. |
Registered Member
|
After some update, that same problem is back. Regular logout/reboot whatever worked normally for a while but the "hang for...secs" is back on mine. Reverted back to my script and works just fine, no lag. https://imgur.com/a/oEG3815
This is the bash (requires zenity) #!/bin/bash shot_type=$(zenity --list --radiolist --height=200 \ --column "Select" --column "One of these..." --width=250 \ TRUE "Logout !" \ FALSE "**** reboot !" \ FALSE "Shutdown Goddammit !" \ --separator=":"); case $shot_type in "Logout !") loginctl terminate-user "username" ;; "**** reboot !") systemctl reboot ;; "Shutdown Goddammit !") systemctl poweroff ;; *) esac
This realm's name is Maya. And she speaks Hertz. But Ahamkara makes a fuzz about it.
|
Registered Member
|
I've read somewhere thats the cause of this problem is KDE Connect. I unninstal KDE Connect with Muon and now both shutdown and reboot options work like they have to do. Fast.
|
Registered Member
|
Well, if you don't use connect, it's a sollution.
This realm's name is Maya. And she speaks Hertz. But Ahamkara makes a fuzz about it.
|
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]