My thoughts on Slackware, life and everything

Next in series: KDE 4.6.2

KDE Software Compilation 4.6.2.

A second bugfix & translation update release for the KDE 4.6 series became available on April 6. Read all about it on the announcement page.

And since we are nearing the release of Slackware 13.37 it will be safe to say that I have uploaded “my KDE 4.6.2 packages for Slackware 13.37“. If there is no official release yet by the time you read this post, then of course you will be able to run the packages on “Slackware 13.37 Release Candidate 3.14159265358979323846264338327950288419716” as well – because that is what I built them on.

Be sure to follow the installation/upgrade instructions in the accompanying README file! There are a few of Slackware’s own official packages that have to be upgraded, or even removed. You can search this blog for my earlier KDE 4.6 related posts if you want to know more about its evolution. Or even better, subscribe to the blog’s RSS feed so you don’t miss out on my updates any more.

Anyway, get the packages from one of the following locations (the mirrors may need a bit of time to get re-synchronized with the master):

Things did not blow up on my laptop after installation, which was according to plan. The stability of KDE 4.6.x is increasing with every point release.

However…

I ran into one regression. There is a “bug” in KDM which prevents shutdown. You will actually end up in a tty and have to manually run “shutdown -h now”. The default shutdown command which is issued by KDM has apparently been changed to “/sbin/shutdown -p now” but the “-p” parameter is not supported on Linux. See https://bugs.kde.org/show_bug.cgi?id=270228 for a description of this KDE 4.6.2 specific bug.

According to the bug report you can solve this by editing the file “/etc/kde/kdm/kdmrc” and changing a single line:

HaltCmd=

to:

HaltCmd="/sbin/shutdown -h now"

… but when I tested this it did not make a difference. It just looks as if KDM is not reading that custom commandline. It was well after midnight when I tried it so I gave up and went to bed. I welcome all feedback.

Have fun! Eric

11 Comments

  1. zbreaker

    Many thanks Eric…the goodies keep on flowing to us. Going to dive right in this weekend.

  2. Willy Sudiarto Raharjo

    There’s a patch on KDE’s bugtracker
    willysr@desktop:~$ cat shutdown-fix.patch
    — kdebase-workspace-4.6.2/kdm/config.def~ 2011-04-08 00:29:48.291941154 -0700
    +++ kdebase-workspace-4.6.2/kdm/config.def 2011-04-08 00:32:04.738607619 -0700
    @@ -38,7 +38,7 @@
    # define HALT_CMD “/usr/sbin/shutdown -h now”
    # define REBOOT_CMD “/usr/sbin/shutdown -r now”
    #elif defined(BSD) || defined(__linux__)
    -# define HALT_CMD “/sbin/shutdown -p now”
    +# define HALT_CMD “/sbin/shutdown -h now”
    # define REBOOT_CMD “/sbin/shutdown -r now”
    #elif defined(__SVR4)
    # define HALT_CMD “/usr/sbin/halt”

  3. manciuleas

    First, I want to thank you for your great work.
    Second, I’d like to point out to this security advisory regarding Qt (http://labs.qt.nokia.com/2011/03/29/security-advisory-fraudulent-certificates/). Maybe it’s not to late to include the patch in Slackware 13.37. I keep getting warnings from kmail about Gmail certificates. I know it’s not a showstopper but, nevertheless, security issues shouldn’t be ignored. Thank you.

  4. alienbob

    Hi manciuleas

    Was this not addressed on “Sun Mar 27 08:28:47 UTC 2011” with:

    l/qt-4.7.0_7abde40-x86_64-3.txz: Rebuilt.
    Fixed .la and .pc files to remove incorrect references to -ljscore and
    -L../JavaScriptCore/release.
    Thanks to Niels Horn.
    Blacklisted several invalid HTTPS certificates.
    For more information, see:
    http://www.comodo.com/Comodo-Fraud-Incident-2011-03-23.html
    (* Security fix *)

    Eric

  5. escaflown

    Thanks Eric!

  6. manciuleas

    Hi Eric,
    You are right. Sorry for the noise. I do have that version installed, yet I get those warnings from kmail about certificates from imap.gmail.com.
    Now, another issue which bugs me for some time: nepomukservicestub crashes on logout/shutdown. I found a few similar bug reports claimed also to be fixed. My backtrace, though, seems to be a bit different, is shows libsoprano.so at some point. Has anyone experienced something similar?

  7. David

    Hi Eric,
    thank you very much for your work!
    I’m not experiencing the problem you mention with KDM when trying to shutdown… maybe the reason is that I’ve not chosen to overwrite the original “/etc/kde/kdm/kdmrc” πŸ™‚

  8. powtrix

    + /source/kde/kdebase-workplace/kdebase-workspace.SlackBuild:

    sed -i ‘s:shutdown -p now:shutdown -h -P now:’ \
    $TMP/kdebase-workspace-4.6.2/kdm/config.def

  9. LoneStar

    hello, is someone willing to provide the patched binary package (32/64) for this shutdown issue?

  10. alienbob

    I will upload patched “kdebase-workspace” packages soon.

    Eric

  11. LoneStar

    never enough thanks for you, Eric πŸ™‚

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© 2024 Alien Pastures

Theme by Anders NorenUp ↑