Listing screen sessions on login

Given Peter Eisentraut’s blog post on the same topic, I thought I would also share this Zsh function (from 2011):

startup () {
    # info on any running screens
    if \[[ -x $(which screen) ]]
    then
        ZSHRC_SCREENLIST=(${${(M)${(f)"$(screen -ls)"}:#(#s)[[:space:]]##([0-9]##).*}/(#b)[[:space:]]#([0-9]##).*/$match[1]})
        if [[ $#ZSHRC_SCREENLIST -ge 1 ]]
        then
            echo "There are $#ZSHRC_SCREENLIST screens running. $ZSHRC_SCREENLIST"
        fi
    fi
}
Read more...

A Dance with Dragons

Yesterday, I went to the Federal Office for Information Security (BSI) on an invitation to their “expert round-table on SDN”. While the initial mix of industry attendees was of.. varied technical knowledge.. I was pleasantly surprised by the level of preparation by the BSI. None of them were networkers, but they did have a clear agenda and a pretty good idea of what they wanted to know. During the first round-table, they went through
Read more...

Debian Release Critical Bug report for Week 05

The UDD bugs interface currently knows about the following release critical bugs: In Total: 1083 (Including 186 bugs affecting key packages) Affecting Jessie: 175 (key packages: 122) That's the number we need to get down to zero before the release. They can be split in two big categories: Affecting Jessie and unstable: 124 (key packages: 89) Those need someone to find a fix, or to finish the work to upload a fix to unstable: 21 bugs are tagged 'patch'.
Read more...

KDE battery monitor

Dear lazyweb, using a ThinkPad X1 Carbon with Debian unstable and KDE 4.14.2, I have not had battery warnings for a few weeks, now. The battery status can be read out via acpi -V as well as via the KDE widget. Hibernation via systemctl hibernate works as well. What does not work is the warning when my battery is low, or automagic hibernation when shutting the lid or when the battery level is critical.
Read more...