Main menu:

Sponsoring

Please consider a small donation:

 

Also appreciated: support me by clicking the ads (costs nothing) :-)

 

Or you can donate bitcoin:

 

Thanks to TekLinks in Birmingham, AL, for providing colocation and bandwidth.

Page Rank

Fame

FOSS Force Best Blog--2013 Award

Recent posts

Recent comments

About this blog

I am Eric Hameleers, and this is where I think out loud.
More about me.

Search

My Favourites

Slackware

Calendar

August 2014
M T W T F S S
« Jul    
 123
45678910
11121314151617
18192021222324
25262728293031

RSS Alien's Slackware packages

RSS Alien's unofficial KDE Slackware packages

RSS Alien's multilib packages

Meta

Fix for shutdown issue in KDE 4.6.2

In my previous post (announcing KDE 4.6.2 packages for Slackware) I already mentioned that I ran into a bug with KDM, the graphical login manager for runlevel 4. It would no longer allow the computer to power off, instead dropping you into a tty.

Thanks for the feedback to that post, folks! I have rebuilt the “kdebase-workspace” package so that it uses “shutdown -h -P now” as the shutdown command. This is the proper way for a Linux system to power off (you could also use “halt” or “poweroff” of course). As stated earlier (also check https://bugs.kde.org/show_bug.cgi?id=270228), the “-p” parameter to shutdown may be good for BSD but not for the Linux variant of the shutdown command. I am running the updated package here on the laptop, and powering off the computer works again.

Get the updated kdebase-workspace-4.6.2 packages from my “ktown” repository or any of its mirrors:

Cheers, Eric

Comments

Comment from escaflown
Posted: April 9, 2011 at 18:57

Thanks Eric! It workds fine here.
Looking back at the journey from KDE 3.5 to KDE 4.6, I can only take my hat off to KDE developers. And thanks Pat for sticking with KDE.

Comment from Mike Langdon (mlangdn)
Posted: April 9, 2011 at 20:15

Works great for me too! Thanks, Eric.

Comment from toto
Posted: April 10, 2011 at 09:35

Thank you very much.
Everything seems to work as in 4.6.1, except the applet that shows the temperature of the CPU and motherboard.
k10temp and atk0110 are not visible in the configuration.
But xsensors, which is independant of KDE, works.

Comment from alienbob
Posted: April 10, 2011 at 12:31

@toto:

Perhaps you are experiencing the bug below, which crept into 4.6.2 and which has been fixed again in the code for the next version.
I am not going to apply the patch to my kdebase-workspace package right now, but you can find the patch here if you want to try for yourself: http://quickgit.kde.org/?p=kde-workspace.git&a=commitdiff&h=0e151ea2ab1663f3649688139739712060ae3259

The commit is explained as follows: “This fixes a missing include that causes the temperature plasmoids and
ksysguard temperature sensors to no longer work. The fix has been committed to KDE/4.6 and master (4.7)”.

Just like the shutdown bug in KDM (which I did fix!), this was caused by adding FreeBSD support to KDE…

Eric

Comment from Călin Iorgulescu
Posted: April 12, 2011 at 11:17

Thank you for the quick build. For quite a while now I have grown accustomed to the speed with which you deliver your packages whenever a new KDE release hits. Splendid work!

I have one question, though. It seems that the Konsole close-tab button is disabled for me. A few days back I noticed that the slackware-current Changelog said something about such a bug being patched in the official packages (on April the 5th I believe).

Time permitting, could you please, maybe, look into this?

Thank you!

Write a comment