Systemd lid event

Hi!
Can systemd catch lid close/open events?
Details:
I'm strugling with "laptop suspend with external monitor attached" issue. Thist hread was discussed but none of solution mentioned was working for me. Problem is when I have an external monitor attached to my laptop, closing lid doesn't suspend laptop. Current desktop is Cinnamon and doesn't work with gnome-tweak-tools or other utils that are solution mentioned on forums. In https://wiki.archlinux.org/index.php/Po … leep_hooks wiki I found that I can create hooks for sleep/hybernate. So the question is: Can I create the same event just for lid open/close to triger something like "systemctl suspend" ?

Did you read through the ACPI events section of the page? You can customize the actions taken by systemd on lid open/close by modifying /etc/systemd/logind.conf. I had to tweak these on my laptop to prevent hibernation during bootup when the lid was closed and external monitor was attached.
This might not work once the desktop environment starts up, though. If not, look into acpid. It may already be running under Cinnamon.

Similar Messages

  • [SOLVED]Closed lid event

    Hi!!
    I've got Dell Studio 1555 laptop. I want it to react when I'm closing the lid. Now, there isn't any rule, when it works, but it works very very rarely. I've got acpi and acpid installed. ACPID daemon is working. I've tested:
    tail -f /proc/acpi/button/lid/LID0/state
    during closing/opening lid, but there has been only one line:
    state: open
    Do I have to add any additional modules?
    I really appreciate any help
    stefek
    Last edited by stefek (2009-09-26 13:51:51)

    Here's what I've got in /etc/acpi/handler.sh:
    button/lid)
    # check if the lid is open or closed, using the /proc file
    grep -q closed /proc/acpi/button/lid/*/state
    if [ $? = 0 ]; then
    # if the lid is now closed, save the network state and suspend to ram
    /usr/bin/netcfg all-suspend
    /usr/sbin/pm-suspend
    #echo -n mem >/sys/power/state
    else
    # if the lid is now open, restore the network state
    /usr/bin/netcfg all-resume
    fi
    #echo "LID switched!">/dev/tty5

  • How to suspend only when Laptop is with Battery on systemd

    Hi again , I was capable to make sleep hooks for systemd to lock screen when suspend/hibernate and for wicd to reconect wifi in same way, but i cant figure out is how to make systemd only suspend when is on battery. Because if I edit /etc/systemd/logind.conf to handle the Lid events always suspend wheterever is on battery or AC, before I was using acpi to handle this, to make clear here is my handler.sh
    #!/bin/sh
    # Default acpi script that takes an entry for all actions
    #minspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq`
    #maxspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq`
    #setspeed="/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed"
    set $*
    case "$1" in
    button/power)
    #echo "PowerButton pressed!">/dev/tty5
    case "$2" in
    PBTN|PWRF) logger "PowerButton pressed: $2";;
    *) logger "ACPI action undefined: $2" ;;
    esac
    button/sleep)
    case "$2" in
    SLPB) echo -n mem >/sys/power/state ;;
    *) logger "ACPI action undefined: $2" ;;
    esac
    ac_adapter)
    case "$2" in
    AC|ACAD|ADP0)
    case "$4" in
    00000000)
    #echo -n $minspeed >$setspeed
    #/etc/laptop-mode/laptop-mode start
    00000001)
    #echo -n $maxspeed >$setspeed
    #/etc/laptop-mode/laptop-mode stop
    esac
    *) logger "ACPI action undefined: $2";;
    esac
    battery)
    case "$2" in
    BAT0)
    case "$4" in
    00000000) #echo "offline" >/dev/tty5
    00000001) #echo "online" >/dev/tty5
    esac
    CPU0)
    *) logger "ACPI action undefined: $2" ;;
    esac
    button/lid)
    case "$3" in
    close)
    #echo "LID closed!">/dev/tty5
    STATE=$(cat /proc/sys/vm/dirty_writeback_centisecs)
    if [[ $STATE == 60000 ]]
    then
    #/usr/sbin/pm-suspend
    systemctl suspend
    fi
    open)
    #echo "LID opened!">/dev/tty5
    esac
    logger "ACPI group/action undefined: $1 / $2"
    esac
    In my laptop dirty_writeback_centisecs= 60000 when is on battery if AC is 500. I read this post where one user make a udev rule to know if system is on AC or battery but I cant how to figure out to use in some way like i was using with acpi.
    I was thinking in some sleep hook like this (i will use pseudo code):
    #!/bin/sh
    if [ $1 == 'pre' ] ; then
    STATE=$(cat /proc/sys/vm/dirty_writeback_centisecs)
    if [[ $STATE == 60000 ]]
    then
    systemctl suspend
    elif
    break suspend (this is i dont know how to implement)
    fi
    fi
    I hope I was clear enough, feel fre to ask any questions. And sorry for my bad english

    lahwaacz wrote:You can't do this with systemd AFAIK. What's wrong with acpid? It works, right?
    Yes it works but if systemd can handle this eventes It would be good to get rid off of acpid because following this post I was capable of getting rid pm-utils .
    Guess I'll have to keep using acpi until systemd can handle these events. Thanks.

  • [SOLVED] Lid doesn't suspend anymore with xfce power manager

    The options "When laptop lid is closed" are set to suspend (and used to work), but still, when I close my lid, nothing happens. Using the logout dialog or the suspend button my keyboard works. Is it a problem with xfce-power-manager, or ACPI not registering the lid event anymore? Any idea how to fix that?
    [edit]
    I solved that problem by removing ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml, killing the power manager and reloging in my session to flush the settings. Then I reconfigured the lid closed action to suspend (and everything else to my liking).
    Last edited by benob (2009-07-08 17:36:47)

    Sorry to bother you again, but for some reason it doesn't work anymore...
    Somehow it can't lock the GNOME session, because when I enter the above line from /etc/acpi/handler.sh manually as root in TTY1, I get this error:
    ** Message: Failed to get session bus: Befehlszeile »dbus-launch --autolaunch=c9375f4ea0008d92177b28db000009ae --binary-syntax --close-stderr« brach mit von Null verschiedenem Beenden-Status 1 ab: No protocol specified\nAutolaunch error: X11 initialization failed.\n
    If I enter this command inside GNOME, everything works just fine, it locks the screen and suspends.
    EDIT:
    Setting the XAUTHORITY environment variable properly did the trick. Therefore, I borrowed some lines from here: https://wiki.archlinux.org/index.php/Su … losing_lid
    Thread marked as SOLVED again.
    Last edited by perpetrator (2011-10-17 14:25:11)

  • Intel i915, kernel output if lid opened too fast

    I have an Intel graphics card, and acpid set up to turn off/on the screen based on the lid events (with vbetool's dpms ability).
    At times, if I open the lid too fast, I get this output if I'm on a tty:
    [drm:intel_enable_transcoder] *ERROR* failed to enable transcoder 0
    I'm not quite sure what to do about it.  Other than having the lid open event sleep for 1 second, that seems to have fixed it for now.
    Just wanted to see if anyone else experienced this, had any advice, or thought this should be submitted as a bug report.

    I have an Intel graphics card, and acpid set up to turn off/on the screen based on the lid events (with vbetool's dpms ability).
    At times, if I open the lid too fast, I get this output if I'm on a tty:
    [drm:intel_enable_transcoder] *ERROR* failed to enable transcoder 0
    I'm not quite sure what to do about it.  Other than having the lid open event sleep for 1 second, that seems to have fixed it for now.
    Just wanted to see if anyone else experienced this, had any advice, or thought this should be submitted as a bug report.

  • Kernel doesn't log ACPI events: ACPI module or Bios corruptions

    Well, this is very strange and i dunno where to look at to solve this:
    My new NP530U3C (Samusung ultrabook)is running Arch and i'm currently using acpid to trigger the acpi events couse i have no DE (fluxbox).
    I can't understand the way my kernel and acpid log the LID event:
    Kernel.log
    Oct 6 20:06:46 localhost kernel: [ 2.105259] ACPI: Lid Switch [LID0]
    Oct 6 20:44:31 localhost kernel: [ 2.111136] ACPI: Lid Switch [LID0]
    Oct 6 23:03:18 localhost kernel: [ 2.111244] ACPI: Lid Switch [LID0]
    Oct 6 23:17:14 localhost kernel: [ 2.088524] ACPI: Lid Switch [LID0]
    Messages.log
    Oct 6 20:06:46 localhost kernel: [ 2.105259] ACPI: Lid Switch [LID0]
    Oct 6 20:44:31 localhost kernel: [ 2.111136] ACPI: Lid Switch [LID0]
    Oct 6 20:45:29 localhost logger: LID closed
    Oct 6 20:45:48 localhost logger: LID opened
    Oct 6 20:53:58 localhost logger: LID closed
    Oct 6 20:54:07 localhost logger: LID opened
    Oct 6 23:00:04 localhost logger: LID closed
    Oct 6 23:00:16 localhost logger: LID opened
    Oct 6 23:03:18 localhost kernel: [ 2.111244] ACPI: Lid Switch [LID0]
    Oct 6 23:17:14 localhost kernel: [ 2.088524] ACPI: Lid Switch [LID0]
    Oct 6 23:18:32 localhost logger: LID closed
    Oct 6 23:18:40 localhost logger: LID opened
    Oct 6 23:24:33 localhost logger: LID closed
    Oct 6 23:24:40 localhost logger: LID opened
    Oct 6 23:27:18 localhost logger: LID closed
    Oct 6 23:27:28 localhost logger: LID opened
    Oct 6 23:33:40 localhost logger: LID closed
    Oct 6 23:33:48 localhost logger: LID opened
    When i close the lid, i have to wait 10 sec approx to trigger the LID close event and start the suspend action!
    on wakeup i don't know because my samsung can wakeup only with the power button (no lid in wakeup events).
    So somebody can enlighten me?
    *EDIT <-----
    I can summarize it is a corruption of the Bios/ACPI module that affect this laptop after a certain suspentions circle (I mean not every first suspentions).
    I would like to debug in a better way but i have no instruments to investigate:
    If someone can point me to a way to debug this stuff like Bios corruptions and/or Kernel module failure...
    Any advide is appreciated
    Last edited by j0lly (2012-10-29 14:29:44)

    well, is a samsung ultrabook! i'm doing some m ore tests and still 10 sec delayed!
    a note:
    when the kernel log the LID state i can suspend instantly after i really close the LID.
    after a reboot, and halt/start thigs doesn't changes....
    The kernel logger resume after some reboots or *resetting* (using a needle to click a button above the laptop close to the battery) the laptop <-- this method was whrote somewhere and i tried it, and solved sometinms the issue for 2/3 days.
    is starnge because it appears without any regularity, but i'm not so pro and is difficult for me to figure out what can trigger the event!
    EDIT
    Oct 7 00:21:58 localhost kernel: [ 686.653890] psmouse serio1: Touchpad at isa0060/serio1/input0 lost sync at byte 6
    Oct 7 00:21:59 localhost kernel: [ 686.668774] psmouse serio1: Touchpad at isa0060/serio1/input0 - driver resynced.
    dunno if is important, but after a resume from suspend, i got this messege. i thought it was only after it (like a little error in the resume hooks) but no i'm noticing it in  the messages.log every how
    Last edited by j0lly (2012-10-06 22:24:03)

  • Dell Inspiron 9400 not suspending on lid closing

    I am currently running arch linux 64 bit with LXDE.  I aslo have loaded modules acpid, howvever when I close the laptop lid it does not suspend to ram. After using google, I did not doscover any solution that worked for me.  According to one site, I added tthe following code to /etc/acpi/events/lid
    event=button/lid
    action=/etc/acpi/actions/lid.sh
    /etc/acpi/actions/lid.sh contains:
    #!/bin/bash
    sleep &
    sudo /usr/sbin/pm-suspend
    acpid is runnig, however, when the lid is closed and acpi_listern is running there is printed to the terminal.
    Would appreciate any help that help me solve this problem.

    I tried that first, but it did not work. 
    /etc/acpi/handler.sh contains:
    #!/bin/sh
    # Default acpi script that takes an entry for all actions
    minspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq`
    maxspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq`
    setspeed="/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed"
    set $*
    case "$1" in
    button/power)
    #echo "PowerButton pressed!">/dev/tty5
    case "$2" in
    PBTN|PWRF) logger "PowerButton pressed: $2" ;;
    *) logger "ACPI action undefined: $2" ;;
    esac
    button/sleep)
    case "$2" in
    SLPB|SBTN) echo -n mem >/sys/power/state ;;
    *) logger "ACPI action undefined: $2" ;;
    esac
    ac_adapter)
    case "$2" in
    AC|ACAD|ADP0)
    case "$4" in
    00000000)
    echo -n $minspeed >$setspeed
    #/etc/laptop-mode/laptop-mode start
    00000001)
    echo -n $maxspeed >$setspeed
    #/etc/laptop-mode/laptop-mode stop
    esac
    *) logger "ACPI action undefined: $2" ;;
    esac
    battery)
    case "$2" in
    BAT0)
    case "$4" in
    00000000) #echo "offline" >/dev/tty5
    00000001) #echo "online" >/dev/tty5
    esac
    CPU0)
    *) logger "ACPI action undefined: $2" ;;
    esac
    button/lid)
    case "$3" in
    close)
    #echo "LID closed!">/dev/tty5
    sudo /usr/sbin/pm-suspend
    logger -s "ACPI lid closed";
    open)
    #echo "LID opened!">/dev/tty5
    logger -s "ACPI lid opened"
    esac
    logger "ACPI group/action undefined: $1 / $2"
    esac
    According to one site I give member of the power group the ability to shutdown and restart the system without the requiring a password.
    /etc/sudoers contains:
    ## sudoers file.
    ## This file MUST be edited with the 'visudo' command as root.
    ## Failure to use 'visudo' may result in syntax or file permission errors
    ## that prevent sudo from running.
    ## See the sudoers man page for the details on how to write a sudoers file.
    ## Host alias specification
    ## Groups of machines. These may include host names (optionally with wildcards),
    ## IP addresses, network numbers or netgroups.
    # Host_Alias WEBSERVERS = www1, www2, www3
    ## User alias specification
    ## Groups of users. These may consist of user names, uids, Unix groups,
    ## or netgroups.
    # User_Alias ADMINS = millert, dowdy, mikef
    ## Cmnd alias specification
    ## Groups of commands. Often used to group related commands together.
    # Cmnd_Alias PROCESSES = /usr/bin/nice, /bin/kill, /usr/bin/renice, \
    # /usr/bin/pkill, /usr/bin/top
    ## Defaults specification
    ## You may wish to keep some of the following environment variables
    ## when running commands via sudo.
    ## Locale settings
    # Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET"
    ## Run X applications through sudo; HOME is used to find the
    ## .Xauthority file. Note that other programs use HOME to find
    ## configuration files and this may lead to privilege escalation!
    # Defaults env_keep += "HOME"
    ## X11 resource path settings
    # Defaults env_keep += "XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH"
    ## Desktop path settings
    # Defaults env_keep += "QTDIR KDEDIR"
    ## Allow sudo-run commands to inherit the callers' ConsoleKit session
    # Defaults env_keep += "XDG_SESSION_COOKIE"
    ## Uncomment to enable special input methods. Care should be taken as
    ## this may allow users to subvert the command being run via sudo.
    # Defaults env_keep += "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER"
    ## Uncomment to enable logging of a command's output, except for
    ## sudoreplay and reboot. Use sudoreplay to play back logged sessions.
    # Defaults log_output
    # Defaults!/usr/bin/sudoreplay !log_output
    # Defaults!/usr/local/bin/sudoreplay !log_output
    # Defaults!/sbin/reboot !log_output
    ## Runas alias specification
    ## User privilege specification
    root ALL=(ALL) ALL
    ## Uncomment to allow members of group wheel to execute any command
    %wheel ALL=(ALL) ALL
    ## Same thing without a password
    # %wheel ALL=(ALL) NOPASSWD: ALL
    ## Uncomment to allow members of group sudo to execute any command
    # %sudo ALL=(ALL) ALL
    ## Uncomment to allow any user to run sudo if they know the password
    ## of the user they are running the command as (root by default).
    # Defaults targetpw # Ask for the password of the target user
    # ALL ALL=(ALL) ALL # WARNING: only use this together with 'Defaults targetpw'
    ## Read drop-in files from /etc/sudoers.d
    ## (the '#' here does not indicate a comment)
    #includedir /etc/sudoers.d
    %power ALL=(ALL) NOPASSWD: /usr/sbin/pm-hibernate
    %power ALL=(ALL) NOPASSWD: /usr/sbin/pm-suspend
    %power ALL=(ALL) NOPASSWD: /sbin/halt
    %power ALL=(ALL) NOPASSWD: /sbin/reboot
    %wheel ALL=(ALL) NOPASSWD: /usr/bin/yaourt -Sy
    %jupiter ALL=NOPASSWD: /usr/lib/jupiter/scripts/bluetooth, /usr/lib/jupiter/scripts/camera, /usr/lib/jupiter/scripts/cpu-control, /usr/lib/jupiter/scripts/resolutions, /usr/lib/jupiter/scripts/rotate, /usr/lib/jupiter/scripts/touchpad, /usr/lib/jupiter/scripts/vga-out, /usr/lib/jupiter/scripts/wifi
    The pm-suspend does work, I can suspend from lxde menu and the suspend button but not when the lid is closed.
    Last edited by amcollie (2012-04-16 13:15:36)

  • [Solved] On open lid screen flashes desktop then blanks

    Hello fellow archers, I've been dealing with the following nagging issue:
    On open lid my desktop flashes for a few brief seconds then the screen goes blank. I have to type or use the touchpad to get my desktop again.
    I believe something in Gnome settings is the origin of this problem because:
    - I have 2 users running Gnome and on the second user I do not have this issue.
    - On the user with this issues by stopping gnome-settings-daemon momentarily the issues is resolved.
    gnome-settings-daemon depends on gsettings-desktop-schemas which leads me to believe maybe some setting got mucked up somehow.
    I recently updated Gnome so there may be some connection to that.
    Anywho, any help is appreciate
    Cheers
    Last edited by snoxu (2011-10-21 15:36:44)

    I think I've solved the issue for now, by putting
    the pm-suspend command in the lid event in the /etc/acpi/handler.sh
    and added the laptop monitor off "script" in /etc/acpi/actions/lm_lid.sh as described in
    https://wiki.archlinux.org/index.php/Ac … _Power_Off
    Seems to work.
    Last edited by snoxu (2011-10-21 15:35:30)

  • ACPI button/lid problem

    Hello all,
    I have been running Arch on this laptop for quite some time now. Recently though I had to do a reinstall of it because I messed it up while trying to do something. Anyway, I got everything working except for the lid problem, i have the age old when I close it, it freezes. I have installed ACPI and it recognizes the Lid event, however it is still frozen I checked the /var/log/messages.log and this is what showed up:
    Jun 19 11:33:12 UsbArch logger: ACPI group/action undefined: video / VID1
    Jun 19 11:33:12 UsbArch logger: ACPI group/action undefined: video / VID
    All I can tell is that it doesnt recognize the laptop screen or something. On the last install acpi worked like a charm, I dont know why it is not working now. Any help would be much appreciated. Thank you, Levi.

    I bet it does not freeze.
    Test it, follow these steps exactly as they are written:
    Start xwindows
    open a terminal
    close the lid
    open the lid
    wait for a second
    then type this
    xset dpms force on
    then press enter
    Your monitor should come back on.
    If this works you will need to edit your /etc/acpi/actions/lm_lid.sh file
    also make sure that you install laptop_mode and acpid
    here is the content of my lm_lid.sh
    #!/bin/sh
    test -f /usr/sbin/laptop_mode || exit 0
    #lid button pressed/released event handler
    #From: http://gentoo-wiki.com/HOWTO_Automatically_turn_off_your_monitor
    if grep -q open /proc/acpi/button/lid/LID/state
    then
    XAUTHORITY="$( ps -C xinit f|sed 's/.*-auth \(.*\)serverauth.*/\1Xauthority/p' )" /usr/bin/xset -display :0.0 dpms force on
    /usr/sbin/laptop_mode auto
    /usr/bin logger dpms force on
    else
    XAUTHORITY="$( ps -C xinit f| sed -n 's/.*-auth \(.*\)serverauth.*/\1Xauthority/p' )" /usr/bin/xset -display :0.0 dpms force off
    /usr/bin logger dpms force off
    fi
    Last edited by timetrap (2008-06-20 20:20:51)

  • Thinkpad keys once and for all

    There are lots of people out there having problems to get thinkpad keys to work. I would like to solve this issue and potencially write a wiki page about that.
    Here is the information I got till today:
    1. the ibm-acpi module is renamed to thinkpad-acpi module
    2. both modules create a proc interface under /proc/acpi/ibm/ which sometimes needs to be chrooted 666 to be able to control thinkpad functions from bash.
    3. doing echo enable,0x0000 > /proc/acpi/ibm/hotkey sends key events to the thinkpad firmware (nvram module has to be loaded). Mostly this doesn't work thou...
    4. doing echo enable,0xfffffffff > /proc/acpi/ibm/hotkey sends key events to acpid. This has to be started and does things according to the /etc/acpi/handler.sh script. This seems to work for me (T41). Here's my script:
    #!/bin/sh
    # Default acpi script that takes an entry for all actions
    set $*
    ev_type=`echo "$1" | cut -d/ -f1`
    # We have to take special care for events send by ibm/hotkey:
    if [ "$ev_type" = "ibm" ]; then
    ev_type=`echo "$1" | cut -d/ -f1`
    event=`echo "$1" | cut -d/ -f2`
    key="$2"\ "$3"\ "$4"
    else
    # Take care about the way events are reported
    ev_type=`echo "$1" | cut -d/ -f1`
    if [ "$ev_type" = "$1" ]; then
    event="$2";
    else
    event=`echo "$1" | cut -d/ -f2`
    fi
    fi
    case "$ev_type" in
    button)
    case "$event" in
    power)
    logger "acpid: power button pressed; starting shutdown"
    # logger "acpid: received a shutdown request"
    /sbin/init 0
    break
    sleep)
    logger "acpid: sleep button pressed; initiating hibernate-ram"
    # logger "acpid: received hibernate request"
    /usr/sbin/pm-suspend
    lid)
    logger "acpid: lid event"
    logger "acpid: action $2 is not defined"
    esac
    # BEGIN customization for ibm/hotkey:
    ibm)
    case "$event" in
    hotkey)
    case "$key" in
    "HKEY 00000080 00001002")
    logger "acpid: lock button (Fn+F2) pressed"
    "HKEY 00000080 00001003")
    logger "acpid: blank screen (Fn+F3) pressed; switching display off"
    xset dpms force off
    "HKEY 00000080 00001004")
    logger "acpid: sleep button (Fn+F4) pressed; initiating hibernate-ram"
    /usr/sbin/pm-suspend
    "HKEY 00000080 00001005")
    logger "acpid: bluetooth button (Fn+F5) pressed; toggling bluetooth"
    # echo 3 > /proc/acpi/ibm/beep
    if grep -q enabled /proc/acpi/ibm/bluetooth ; then
    echo disable > /proc/acpi/ibm/bluetooth
    elif grep -q disabled /proc/acpi/ibm/bluetooth ; then
    echo enable > /proc/acpi/ibm/bluetooth
    fi
    "HKEY 00000080 00001007")
    logger "acpid: screen toggle button (Fn+F7) pressed"
    "HKEY 00000080 0000100c")
    logger "acpid: hibernate button (Fn+F12) pressed; initiating hibernate"
    /usr/sbin/pm-hibernate
    "HKEY 00000080 00005001")
    # This is the lid CLOSE event
    # as of now it is already handled above
    "HKEY 00000080 00005002")
    # This is the lid OPEN event
    # as of now it is already handled above
    logger "acpid: $ev_type/$event $key is not defined"
    esac
    dock)
    case "$key" in
    "GDCK 00000003 00000001")
    logger "acpid: Dock eject request"
    "GDCK 00000003 00000002")
    logger "acpid: laptop was undocked"
    "GDCK 00000000 00000003")
    logger "acpid: laptop was docked"
    logger "acpid: $ev_typ $event event $key is not defined"
    esac
    bay)
    case "$key" in
    "MSTR 00000003 00000000")
    logger "acpid: got ultrabay eject request"
    "MSTR 00000001 00000000")
    logger "acpid: ultrabay eject lever inserted"
    esac
    esac
    logger "ACPI group $1 / action $2 is not defined"
    esac
    I have found it here http://priyadi.net/archives/2004/12/20/ … kpad-t41p/.
    5. Allthou thinkpad-acpi should in time be able to handle all keys, as of today, one still needs tpb for some of them. KDE has a module in the control center that has similar functionality and doesn't depend on tpb. I have not yet tried to get all working.
    Any other contribution would be welcome. The handler.sh script can probably be adapted or somehow rewritten, some of this info may be wrong...
    Last edited by jarda-wien (2008-03-28 16:17:24)

    Sorry, no solution, but I noticed the same behaviour on my X61s.
    Here's my handler.sh. It's pretty much the same, but it also takes care of turning on an external VGA display (if connected), adjusting the brightness per custom script, changing the cpu frequency scaling governor on AC plug/unplug and suspending to RAM on LID close. It could be improved at certain points I guess.
    #!/bin/sh
    # Default acpi script that takes an entry for all actions
    # NOTE: This is a 2.6-centric script. If you use 2.4.x, you'll have to
    # modify it to not use /sys
    set $*
    case "$1" in
    ibm/hotkey)
    case "$2" in
    HKEY)
    case "$4" in
    00001002) # Lock screen
    xscreensaver-command -lock
    #00001003) # Battery icon
    00001004) # Suspend to RAM
    hibernate -F /etc/hibernate/ususpend-ram.conf
    00001005) # Switch Bluetooth
    if [ "$(grep "status.*enabled" /proc/acpi/ibm/bluetooth)" ]; then
    echo "disable" > /proc/acpi/ibm/bluetooth
    else
    echo "enable" > /proc/acpi/ibm/bluetooth
    fi
    00001007) # Toggle external display
    if [ "$(xrandr -q | grep "VGA connected")" ]; then
    if [ "$(xrandr -q | grep "VGA connected [0-9]")" ]; then
    xrandr --output VGA --off
    else
    xrandr --output VGA --auto
    fi
    else
    xrandr --output VGA --off
    fi
    #00001008) # Toggle Trackpoint/Touchpad
    #00001009) # Eject from dock
    0000100c) # Hibernate
    hibernate -F /etc/hibernate/ususpend-disk.conf
    #00001014) # Toggle zoom
    #00001018) # ThinkVantage button
    esac
    esac
    button/lid)
    case "$2" in
    LID)
    case "$3" in
    00000080) # Lid opened/closed
    grep open /proc/acpi/button/lid/LID/state || hibernate -F /etc/hibernate/ususpend-ram.conf
    esac
    esac
    ac_adapter)
    case "$2" in
    AC)
    case "$4" in
    00000001) # AC plugged
    echo -n performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
    00000000) # AC unplugged
    echo -n ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
    esac
    esac
    video)
    case "$2" in
    LCD0)
    case "$3" in
    00000086) # Brightness up
    brightness +
    00000087) # Brightness down
    brightness -
    esac
    esac
    esac
    Here's my brightness script too:
    #!/bin/bash
    # This script adjusts the display brightness on my ThinkPad X61s.
    # Usage: brightness +/-
    [ "$UID" != 0 ] && echo "err, you need to be root" && exit 1
    ctrl_file=/sys/class/backlight/acpi_video1/brightness
    max_file=/sys/class/backlight/acpi_video1/max_brightness
    brightness=$(cat $ctrl_file)
    max=$(cat $max_file)
    min=20
    if [ "$1" = "+" ]; then
    if [ $brightness -ge $max ]; then
    brightness=$max
    else
    brightness=$(($brightness+$max/10))
    [ $brightness -gt $max ] && brightness=$max
    fi
    elif [ "$1" = "-" ]; then
    if [ $brightness -le $min ]; then
    brightness=$min
    else
    brightness=$(($brightness-$max/10))
    [ $brightness -lt $min ] && brightness=$min
    fi
    else
    echo $brightness && exit 0
    fi
    echo $brightness > $ctrl_file
    Of course this could be incorporated within the handler.sh itself as well.

  • KDE startup delay

    Hey there,
    ever since I installed KDE (plasma) on my notebook it has been really slow to start and doesn't show a progress bar, just fades in after 30 seconds or thereabout.
    I looked at my journal and it presented this to me
    Apr 27 18:44:58 HOSTNAME kglobalaccel5[647]: Registering key "Screensaver" for "ksmserver" : "Lock Session"
    Apr 27 18:44:58 HOSTNAME kdeinit5[628]: powerdevil: ACTIVE SESSION PATH CHANGED: "/org/freedesktop/login1/session/c2"
    Apr 27 18:44:58 HOSTNAME kdeinit5[628]: powerdevil: Current session is now inactive
    Apr 27 18:44:59 HOSTNAME systemd[528]: Time has been changed
    Apr 27 18:44:59 HOSTNAME systemd[1]: Time has been changed
    Apr 27 18:45:03 HOSTNAME NetworkManager[404]: <info> (wlp3s0): Activation: Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
    Apr 27 18:45:03 HOSTNAME NetworkManager[404]: <info> (wlp3s0): Activation: Stage 4 of 5 (IPv6 Configure Timeout) started...
    Apr 27 18:45:03 HOSTNAME NetworkManager[404]: <info> (wlp3s0): Activation: Stage 4 of 5 (IPv6 Configure Timeout) complete.
    Apr 27 18:45:23 HOSTNAME kdeinit5[628]: kcm_keyboard: New device id: 8
    Apr 27 18:45:23 HOSTNAME kdeinit5[628]: kcm_keyboard: id: 2 name: Virtual core pointer used as: 0
    Apr 27 18:45:23 HOSTNAME kdeinit5[628]: kcm_keyboard: id: 3 name: Virtual core keyboard used as: 1
    Apr 27 18:45:23 HOSTNAME kdeinit5[628]: kcm_keyboard: id: 4 name: Virtual core XTEST pointer used as: 4
    Apr 27 18:45:23 HOSTNAME kdeinit5[628]: kcm_keyboard: id: 5 name: Virtual core XTEST keyboard used as: 3
    It registers and unregisters like a million keys but that 24 seconds delay seems unnecesarry. Do you guys have an idea to what could cause this?
    I attached the whole kde startup log here:
    Apr 27 18:44:39 MYHOSTNAME dbus[407]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
    Apr 27 18:44:39 MYHOSTNAME systemd[1]: Starting Network Manager Script Dispatcher Service...
    Apr 27 18:44:39 MYHOSTNAME dbus[407]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
    Apr 27 18:44:39 MYHOSTNAME systemd[1]: Started Network Manager Script Dispatcher Service.
    Apr 27 18:44:42 MYHOSTNAME login[421]: pam_unix(login:session): session opened for user MYUSERNAME by LOGIN(uid=0)
    Apr 27 18:44:42 MYHOSTNAME systemd[1]: Created slice user-1000.slice.
    Apr 27 18:44:42 MYHOSTNAME systemd[1]: Starting user-1000.slice.
    Apr 27 18:44:42 MYHOSTNAME systemd[1]: Starting User Manager for UID 1000...
    Apr 27 18:44:42 MYHOSTNAME systemd-logind[403]: New session c1 of user MYUSERNAME.
    Apr 27 18:44:42 MYHOSTNAME systemd[1]: Started Session c1 of user MYUSERNAME.
    Apr 27 18:44:42 MYHOSTNAME systemd[1]: Starting Session c1 of user MYUSERNAME.
    Apr 27 18:44:42 MYHOSTNAME systemd[528]: pam_unix(systemd-user:session): session opened for user MYUSERNAME by (uid=0)
    Apr 27 18:44:42 MYHOSTNAME systemd[528]: Unit type .busname is not supported on this system.
    Apr 27 18:44:42 MYHOSTNAME systemd[528]: Unit boot.mount is bound to inactive unit. Stopping, too.
    Apr 27 18:44:42 MYHOSTNAME systemd[528]: Unit boot-bin.mount is bound to inactive unit. Stopping, too.
    Apr 27 18:44:42 MYHOSTNAME systemd[528]: Startup finished in 10ms.
    Apr 27 18:44:42 MYHOSTNAME systemd[528]: Reached target Timers.
    Apr 27 18:44:42 MYHOSTNAME systemd[528]: Starting Timers.
    Apr 27 18:44:42 MYHOSTNAME systemd[528]: Reached target Sockets.
    Apr 27 18:44:42 MYHOSTNAME systemd[528]: Starting Sockets.
    Apr 27 18:44:42 MYHOSTNAME systemd[528]: Reached target Paths.
    Apr 27 18:44:42 MYHOSTNAME systemd[528]: Starting Paths.
    Apr 27 18:44:42 MYHOSTNAME systemd[528]: Reached target Basic System.
    Apr 27 18:44:42 MYHOSTNAME systemd[528]: Starting Basic System.
    Apr 27 18:44:42 MYHOSTNAME systemd[528]: Reached target Default.
    Apr 27 18:44:42 MYHOSTNAME systemd[528]: Starting Default.
    Apr 27 18:44:42 MYHOSTNAME login[421]: LOGIN ON tty1 BY MYUSERNAME
    Apr 27 18:44:45 MYHOSTNAME kdeinit5[621]: Qt: Session management error: networkIdsList argument is NULL
    Apr 27 18:44:45 MYHOSTNAME kdeinit5[621]: Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
    Apr 27 18:44:45 MYHOSTNAME kdeinit5[628]: Qt: Session management error: networkIdsList argument is NULL
    Apr 27 18:44:45 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: "/usr/bin/kbuildsycoca5" (pid 635) up and running.
    Apr 27 18:44:45 MYHOSTNAME kbuildsycoca5[635]: kf5.kservice.sycoca: Trying to open ksycoca from "/home/MYUSERNAME/.cache/ksycoca5"
    Apr 27 18:44:45 MYHOSTNAME kbuildsycoca5[635]: checking file timestamps
    Apr 27 18:44:45 MYHOSTNAME kdeinit5[631]: kf5.kservice.sycoca: Trying to open ksycoca from "/home/MYUSERNAME/.cache/ksycoca5"
    Apr 27 18:44:45 MYHOSTNAME kdeinit5[631]: Initializing "kcm_style" : "kcminit_style"
    Apr 27 18:44:45 MYHOSTNAME kdeinit5[631]: Initializing "kcm_bell" : "kcminit_bell"
    Apr 27 18:44:45 MYHOSTNAME kdeinit5[631]: Initializing "kcm_input" : "kcminit_mouse"
    Apr 27 18:44:45 MYHOSTNAME kdeinit5[631]: Initializing "kcm_access" : "kcminit_access"
    Apr 27 18:44:45 MYHOSTNAME kdeinit5[621]: kf5.kservice.sycoca: Trying to open ksycoca from "/home/MYUSERNAME/.cache/ksycoca5"
    Apr 27 18:44:45 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: "/usr/bin/kaccess" (pid 640) up and running.
    Apr 27 18:44:45 MYHOSTNAME kaccess[640]: QCoreApplication::arguments: Please instantiate the QApplication object first
    Apr 27 18:44:45 MYHOSTNAME kaccess[643]: QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
    Apr 27 18:44:45 MYHOSTNAME kaccess[640]: QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
    Apr 27 18:44:45 MYHOSTNAME kbuildsycoca5[635]: timestamps check ok
    Apr 27 18:44:45 MYHOSTNAME kbuildsycoca5[635]: Emitting notifyDatabaseChanged ()
    Apr 27 18:44:45 MYHOSTNAME kdeinit5[628]: kf5.kservice.sycoca: Trying to open ksycoca from "/home/MYUSERNAME/.cache/ksycoca5"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "networkmanagement" still uses .desktop files ("kded/networkmanagement.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "bluedevil" still uses .desktop files ("kded/bluedevil.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "obexftpdaemon" still uses .desktop files ("kded/obexftpdaemon.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "solidautoeject" still uses .desktop files ("kded/solidautoeject.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "kwrited" still uses .desktop files ("kded/kwrited.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "ksysguard" still uses .desktop files ("kded/ksysguard.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "desktopnotifier" still uses .desktop files ("kded/desktopnotifier.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "kscreen" still uses .desktop files ("kded/kscreen.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "keyboard" still uses .desktop files ("kded/keyboard.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "appmenu" still uses .desktop files ("kded/appmenu.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "platformstatus" still uses .desktop files ("kded/platformstatus.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "khotkeys" still uses .desktop files ("kded/khotkeys.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "ktouchpadenabler" still uses .desktop files ("kded/ktouchpadenabler.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "freespacenotifier" still uses .desktop files ("kded/freespacenotifier.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "ktimezoned" still uses .desktop files ("kded/ktimezoned.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "kmixd" still uses .desktop files ("kded/kmixd.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "statusnotifierwatcher" still uses .desktop files ("kded/statusnotifierwatcher.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "recentdocumentsnotifier" still uses .desktop files ("kded/recentdocumentsnotifier.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "soliduiserver" still uses .desktop files ("kded/soliduiserver.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "powerdevil" still uses .desktop files ("kded/powerdevil.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "proxyscout" has already been found using JSON metadata, please don't install the now unneeded .desktop file ("kded/proxyscout.desktop").
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "networkstatus" still uses .desktop files ("kded/networkstatus.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "remotedirnotify" still uses .desktop files ("kded/remotedirnotify.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "networkwatcher" still uses .desktop files ("kded/networkwatcher.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[642]: Qt: Session management error: networkIdsList argument is NULL
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: found kded module "networkmanagement" by prepending 'kded_' to the library path, please fix your metadata.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: Successfully loaded module "networkmanagement"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[642]: Configuring Lock Action
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: found kded module "ksysguard" by prepending 'kded_' to the library path, please fix your metadata.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: Successfully loaded module "ksysguard"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: found kded module "kscreen" by prepending 'kded_' to the library path, please fix your metadata.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: Successfully loaded module "kscreen"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: found kded module "statusnotifierwatcher" by prepending 'kded_' to the library path, please fix your metadata.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: Successfully loaded module "statusnotifierwatcher"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: found kded module "powerdevil" by prepending 'kded_' to the library path, please fix your metadata.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kf5.kded: Successfully loaded module "powerdevil"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[621]: kf5.kservice.sycoca: Trying to open ksycoca from "/home/MYUSERNAME/.cache/ksycoca5"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: "/usr/lib/kf5/kconf_update" (pid 649) up and running.
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: Loading group "khotkeys"
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: "{d03619b6-9b3c-48cc-9d9c-a2aadb485550}" skipping because key "" is already taken
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: Loading group "krunner"
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: Loading group "kwin"
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: Loading group "kmix"
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: Loading group "kded5"
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: Loading group "plasmashell"
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: Loading group "KDE Keyboard Layout Switcher"
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: Loading group "ksmserver"
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: Registering key "Ctrl+Esc" for "kded5" : "Show System Activity"
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: Registering key "Ctrl+Alt+L" for "ksmserver" : "Lock Session"
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: Registering key "Screensaver" for "ksmserver" : "Lock Session"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[642]: XSync seems available and ready
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[642]: XSync Inited
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[642]: Supported, init completed
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: Loading UPower backend...
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: UPower service, org.freedesktop.UPower , is not registered on the bus. Trying to find out if it is activated.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: UPower was found, activating service...
    Apr 27 18:44:46 MYHOSTNAME dbus[407]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service'
    Apr 27 18:44:46 MYHOSTNAME systemd[1]: Starting Daemon for power management...
    Apr 27 18:44:46 MYHOSTNAME dbus[407]: [system] Successfully activated service 'org.freedesktop.UPower'
    Apr 27 18:44:46 MYHOSTNAME systemd[1]: Started Daemon for power management.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: Success!
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: Backend loaded, loading core
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: Core loaded, initializing backend
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: Using XRandR
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: Screen brightness value: 7
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: current screen brightness value: 7
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: Backend is ready, KDE Power Management system initialized
    Apr 27 18:44:46 MYHOSTNAME dbus[407]: [system] Activating via systemd: service name='org.freedesktop.UDisks2' unit='udisks2.service'
    Apr 27 18:44:46 MYHOSTNAME systemd[1]: Starting Disk Manager...
    Apr 27 18:44:46 MYHOSTNAME udisksd[665]: udisks daemon version 2.1.5 starting
    Apr 27 18:44:46 MYHOSTNAME dbus[407]: [system] Successfully activated service 'org.freedesktop.UDisks2'
    Apr 27 18:44:46 MYHOSTNAME systemd[1]: Started Disk Manager.
    Apr 27 18:44:46 MYHOSTNAME udisksd[665]: Acquired the name org.freedesktop.UDisks2 on the system message bus
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: A new battery was detected
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: XSync seems available and ready
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: XSync Inited
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: Supported, init completed
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: Session path: "/org/freedesktop/login1/session/c1"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: ACTIVE SESSION PATH: "/org/freedesktop/login1/session/c1"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: Current session is now active
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: fd passing available: true
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: systemd powersave events handling inhibited, descriptor: 18
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: systemd support initialized
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: Got a valid offer for "DPMSControl"
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: Registering key "Monitor Brightness Up" for "kded5" : "Increase Screen Brightness"
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: Registering key "Monitor Brightness Down" for "kded5" : "Decrease Screen Brightness"
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: Registering key "Keyboard Brightness Up" for "kded5" : "Increase Keyboard Brightness"
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: Registering key "Keyboard Brightness Down" for "kded5" : "Decrease Keyboard Brightness"
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: Registering key "Keyboard Light On/Off" for "kded5" : "Toggle Keyboard Backlight"
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: Registering key "Sleep" for "kded5" : "Sleep"
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: Registering key "Hibernate" for "kded5" : "Hibernate"
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: "Hibernate" : Failed to register "Hibernate"
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: Registering key "Power Off" for "kded5" : "PowerOff"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: Core is ready, registering various services on the bus...
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: Can't contact ck
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: We are now into activity "default"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: () ()
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: () ()
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: Loading profile for plugged AC
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: Activity is not forcing a profile
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: Created alarm 16777217
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: Created alarm 16777222
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: Profiles: "AC" ""
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: set screen brightness percentage: 100
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: Screen brightness value max: 15
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: set screen brightness value: 15
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil:
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: Loading timeouts with 300000
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: Created alarm 16777223
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: Created alarm 16777224
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: Created alarm 16777225
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.9'
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: QDBusConnection: name 'org.freedesktop.UDisks2' had owner '' but we thought it was ':1.13'
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: Unregistering key "Keyboard Brightness Up" for "kded5" : "Increase Keyboard Brightness"
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: Unregistering key "Keyboard Brightness Down" for "kded5" : "Decrease Keyboard Brightness"
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: Unregistering key "Keyboard Light On/Off" for "kded5" : "Toggle Keyboard Backlight"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: Screen brightness value: 15
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: Brightness changed!!
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: Screen brightness value max: 15
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: Screen brightness value: 15
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: Brightness changed!!
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: Screen brightness value: 15
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: powerdevil: Brightness changed!!
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: detected kglobalaccel restarting, re-registering all shortcut keys
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[642]: Created alarm 20971521
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[642]: ksmserver: "/run/user/1000/KSMserver"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[642]: ksmserver: KSMServer: SetAProc_loc: conn 0 , prot= local , file= @/tmp/.ICE-unix/642
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[642]: ksmserver: KSMServer: SetAProc_loc: conn 1 , prot= unix , file= /tmp/.ICE-unix/642
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[642]: ksmserver: KSMServer::restoreSession "saved at previous logout"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: Service: 0 "/etc/xdg/autostart/krunner.desktop"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[642]: QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.9'
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[642]: detected kglobalaccel restarting, re-registering all shortcut keys
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[642]: Session path: "/org/freedesktop/login1/session/c1"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: "/usr/bin/krunner" (pid 677) up and running.
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: Qt: Session management error: networkIdsList argument is NULL
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.backendLauncher: Requested backend: ""
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.backendLauncher: Lookup paths: ("/usr/lib/qt/plugins", "/usr/lib/kf5")
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.backendLauncher: Trying "/usr/lib/qt/plugins//kf5/kscreen/KSC_XRandR.so"
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.xcb.helper: Detected XRandR 1.4
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.xcb.helper: Event Base: 89
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.xcb.helper: Event Error: 147
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.backendLauncher: Loading "XRandR" backend
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: appId= ":1.10" newAppId= ":1.10" pendingAppId= "org.kde.krunner"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: appId= "org.kde.KScreen.Backend.XRandR" newAppId= "org.kde.KScreen.Backend.XRandR" pendingAppId= "org.kde.krunner"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kscreen: launcherDataAvailable: "org.kde.KScreen.Backend.XRandR"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: appId= ":1.11" newAppId= ":1.11" pendingAppId= "org.kde.krunner"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: Service: 0 "/etc/xdg/autostart/plasmashell.desktop"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kscreen.kded: Config KScreen::Config(0x138e860) is ready
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: Registering key "Display" for "kded5" : "display"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kscreen.kded: Applying config
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kscreen.kded: Calculating config ID for KScreen::Config(0x138e860)
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kscreen.kded: Part of the Id: "46d063b31aa4bfa4aa488b784881c4eb"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kscreen.kded: Config ID: "b42afda34ff5f252655c26442199ed66"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kscreen.kded: Calculating config ID for KScreen::Config(0x138e860)
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kscreen.kded: Part of the Id: "46d063b31aa4bfa4aa488b784881c4eb"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kscreen.kded: Config ID: "b42afda34ff5f252655c26442199ed66"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kscreen.kded: Applying known config "b42afda34ff5f252655c26442199ed66"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kscreen.kded: Finding a mode for QSize(1440, 900) @ 60.0375
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kscreen.kded: Found: "76" QSize(1440, 900) @ 60.0375
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kscreen.kded: doApplyConfig()
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: "/usr/bin/plasmashell" (pid 680) up and running.
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.xrandr: XRandR::setConfig
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.xrandr: Output: "LVDS1" Size: QSize(1440, 900) Pos: QPoint(0,0)
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.xrandr: Disabled/Disconnected output: "DP1"
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.xrandr: Disabled/Disconnected output: "DP2"
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.xrandr: Disabled/Disconnected output: "DP3"
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.xrandr: Disabled/Disconnected output: "HDMI1"
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.xrandr: Disabled/Disconnected output: "HDMI2"
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.xrandr: Disabled/Disconnected output: "HDMI3"
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.xrandr: Disabled/Disconnected output: "VGA1"
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.xrandr: Disabled/Disconnected output: "VIRTUAL1"
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.xrandr: Requested screen size is QSize(1440, 900)
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.xrandr: 1
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.xrandr: Actions to perform:
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.xrandr: Primary Output: 66
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.xrandr: Change Screen Size: false
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.xrandr: Disable outputs: false
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.xrandr: Change outputs: false
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.xrandr: Enable outputs: false
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.xrandr: XRandR::setConfig done!
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: appId= ":1.12" newAppId= ":1.12" pendingAppId= "org.kde.plasmashell"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kscreen.kded: Config applied
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kscreen.kded: Monitor for changes: true
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: appId= "org.kde.kwin" newAppId= "org.kde.kwin" pendingAppId= "org.kde.plasmashell"
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: Registering key "Alt+Space" for "krunner" : "run command"
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: Registering key "Alt+F2" for "krunner" : "run command"
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: Registering key "Search" for "krunner" : "run command"
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: Registering key "Alt+Shift+F2" for "krunner" : "run command on clipboard contents"
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.xcb.helper: OUTPUT CHANGE
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.xcb.helper: Output: 66
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.xcb.helper: CRTC: 63
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.xcb.helper: Mode: 76
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.xcb.helper: Rotation: "RR_Rotate_0"
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.xcb.helper: Connection: "RR_Connected"
    Apr 27 18:44:46 MYHOSTNAME kscreen_backend_launcher[673]: kscreen.xcb.helper: Subpixel Order: 1
    Apr 27 18:44:46 MYHOSTNAME kwin_x11[676]: kwin_core: Extensions: shape: 0x "11" composite: 0x "4" render: 0x "b" fixes: 0x "50" randr: 0x "14" sync: 0x "31" damage: 0x "11"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kscreen: Requesting missing EDID for outputs (66)
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[628]: kscreen.kded: Change detected
    Apr 27 18:44:46 MYHOSTNAME krunner[677]: Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib/qt/plugins/plasma/packagestructure/plasma_packagestructure_share.so" instead.
    Apr 27 18:44:46 MYHOSTNAME krunner[677]: Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib/qt/plugins/plasma/packagestructure/plasma_packagestructure_wallpaper.so" instead.
    Apr 27 18:44:46 MYHOSTNAME krunner[677]: Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib/qt/plugins/plasma/packagestructure/plasma_packagestructure_layoutemplate.so" instead.
    Apr 27 18:44:46 MYHOSTNAME krunner[677]: Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib/qt/plugins/plasma/packagestructure/plasma_packagestructure_lookandfeel.so" instead.
    Apr 27 18:44:46 MYHOSTNAME krunner[677]: Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib/qt/plugins/plasma/packagestructure/plasma_packagestructure_plasmashell.so" instead.
    Apr 27 18:44:46 MYHOSTNAME krunner[677]: Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib/qt/plugins/plasma/packagestructure/plasma_packagestructure_wallpaperimages.so" instead.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: appId= ":1.13" newAppId= ":1.13" pendingAppId= "org.kde.plasmashell"
    Apr 27 18:44:46 MYHOSTNAME kwin_x11[676]: Constructing a KPluginInfo object from old style JSON. Please use kcoreaddons_desktop_to_json() for "/usr/lib/qt/plugins/org.kde.kdecoration2/breezedecoration.so" instead of kservice_desktop_to_json() in your CMake code.
    Apr 27 18:44:46 MYHOSTNAME kwin_x11[676]: Constructing a KPluginInfo object from old style JSON. Please use kcoreaddons_desktop_to_json() for "/usr/lib/qt/plugins/org.kde.kdecoration2/kwin5_aurorae.so" instead of kservice_desktop_to_json() in your CMake code.
    Apr 27 18:44:46 MYHOSTNAME kwin_x11[676]: kf5.kservice.sycoca: Trying to open ksycoca from "/home/MYUSERNAME/.cache/ksycoca5"
    Apr 27 18:44:46 MYHOSTNAME kwin_x11[676]: Trying to load decoration plugin: "/usr/lib/qt/plugins/org.kde.kdecoration2/breezedecoration.so"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: Service: 0 "/etc/xdg/autostart/polkit-kde-authentication-agent-1.desktop"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: "/usr/lib/polkit-kde/polkit-kde-authentication-agent-1" (pid 688) up and running.
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: appId= "org.kde.KWin" newAppId= "org.kde.KWin" pendingAppId= "*.polkit-kde-authentication-agent-1"
    Apr 27 18:44:46 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: appName= "KWin"
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: Registering key "Alt+F3" for "kwin" : "Window Operations Menu"
    Apr 27 18:44:46 MYHOSTNAME kglobalaccel5[647]: Registering key "Alt+F4" for "kwin" : "Window Close"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Ctrl+Alt+A" for "kwin" : "Activate Window Demanding Attention"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Ctrl+F12" for "plasmashell" : "show dashboard"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Meta+Q" for "plasmashell" : "manage activities"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Meta+Tab" for "plasmashell" : "next activity"
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: appId= ":1.14" newAppId= ":1.14" pendingAppId= "*.polkit-kde-authentication-agent-1"
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: appName= "14"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Meta+Shift+Tab" for "plasmashell" : "previous activity"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Meta+S" for "plasmashell" : "stop current activity"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Meta+Alt+Up" for "kwin" : "Switch Window Up"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Meta+Alt+Down" for "kwin" : "Switch Window Down"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Meta+Alt+Right" for "kwin" : "Switch Window Right"
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[642]: completeShutdownOrCheckpoint called
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Meta+Alt+Left" for "kwin" : "Switch Window Left"
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: appId= ":1.15" newAppId= ":1.15" pendingAppId= "*.polkit-kde-authentication-agent-1"
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: appName= "15"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Ctrl+Alt+Esc" for "kwin" : "Kill Window"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Alt+Shift+F12" for "kwin" : "Suspend Compositing"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Alt+Tab" for "kwin" : "Walk Through Windows"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Alt+Shift+Backtab" for "kwin" : "Walk Through Windows (Reverse)"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Alt+`" for "kwin" : "Walk Through Windows of Current Application"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Alt+~" for "kwin" : "Walk Through Windows of Current Application (Reverse)"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: adding shift to the grab
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Ctrl+F1" for "kwin" : "Switch to Desktop 1"
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[642]: completeShutdownOrCheckpoint called
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Ctrl+F2" for "kwin" : "Switch to Desktop 2"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Ctrl+F3" for "kwin" : "Switch to Desktop 3"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Ctrl+F4" for "kwin" : "Switch to Desktop 4"
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: appId= ":1.16" newAppId= ":1.16" pendingAppId= "*.polkit-kde-authentication-agent-1"
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: appName= "16"
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: appId= "org.kde.ActivityManager" newAppId= "org.kde.ActivityManager" pendingAppId= "*.polkit-kde-authentication-agent-1"
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: appName= "ActivityManager"
    Apr 27 18:44:47 MYHOSTNAME kactivitymanagerd[697]: org.kde.kactivities.activities: Starting the KDE Activity Manager daemon QDateTime("2015-04-27 18:44:47.205 CEST Qt::LocalTime")
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: appId= ":1.17" newAppId= ":1.17" pendingAppId= "*.polkit-kde-authentication-agent-1"
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: appName= "17"
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kscreen.kded: Saving current config to file
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kscreen.kded: Calculating config ID for KScreen::Config(0x138e860)
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kscreen.kded: Part of the Id: "46d063b31aa4bfa4aa488b784881c4eb"
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kscreen.kded: Config ID: "b42afda34ff5f252655c26442199ed66"
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kscreen.kded: Config saved on: "/home/MYUSERNAME/.local/share/kscreen/b42afda34ff5f252655c26442199ed66"
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: screens: 1 desktops: 1
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Done.
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: screens: 1 desktops: 1
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Done.
    Apr 27 18:44:47 MYHOSTNAME polkit-kde-authentication-agent-1[688]: New PolkitAgentListener 0x165b320
    Apr 27 18:44:47 MYHOSTNAME polkit-kde-authentication-agent-1[688]: Adding new listener PolkitQt1::Agent::Listener(0x167a790) for 0x165b320
    Apr 27 18:44:47 MYHOSTNAME polkit-kde-authentication-agent-1[688]: Listener online
    Apr 27 18:44:47 MYHOSTNAME polkitd[445]: Registered Authentication Agent for unix-session:c1 (system bus name :1.16 [/usr/lib/polkit-kde/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
    Apr 27 18:44:47 MYHOSTNAME polkit-kde-authentication-agent-1[688]: true
    Apr 27 18:44:47 MYHOSTNAME polkit-kde-authentication-agent-1[688]: Invalid service name "/org/kde/polkit-kde-authentication-agent-1" using: "/org/kde/polkitkdeauthenticationagent1"
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: Service: 0 ""
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[642]: ksmserver: Autostart 0 done
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[642]: kcminit not running? If we are running with mobile profile or in another platform other than X11 this is normal.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[642]: ksmserver: Kcminit phase 1 done
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: Service: 1 "/etc/xdg/autostart/restore_kmix_volumes.desktop"
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: "/usr/bin/kmixctrl" (pid 706) up and running.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: Service: 1 ""
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[642]: ksmserver: Autostart 1 done
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Ctrl+Alt+Del" for "ksmserver" : "Log Out"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Ctrl+Alt+Shift+Del" for "ksmserver" : "Log Out Without Confirmation"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Ctrl+Alt+Shift+PgDown" for "ksmserver" : "Halt Without Confirmation"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Ctrl+Alt+Shift+PgUp" for "ksmserver" : "Reboot Without Confirmation"
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[642]: completeShutdownOrCheckpoint called
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[642]: completeShutdownOrCheckpoint called
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: "/usr/bin/kactivitymanagerd" (pid 707) up and running.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[642]: completeShutdownOrCheckpoint called
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: screens: 1 desktops: 1
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Done.
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Initializing OpenGL compositing
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Choosing GLXFBConfig 0x66 X visual 0x7a depth 24 RGBA 8:8:8:8 ZS 0:0
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: Direct rendering: true
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Color correction: false
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: 0x3: 0:1(12): warning: extension `GL_AMD_vertex_shader_layer' unsupported in vertex shader
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[642]: completeShutdownOrCheckpoint called
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: OpenGL 2 compositing successfully initialized
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Vertical Refresh rate 60 Hz
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kf5.kservice.sycoca: Trying to open ksycoca from "/home/MYUSERNAME/.cache/ksycoca5"
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: Using FBConfig 0x6c for visual 0x61
    Apr 27 18:44:47 MYHOSTNAME krunner[677]: Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Enabled by default function disables effect: "blur"
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Enabled by default function disables effect: "contrast"
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Session path: "/org/freedesktop/login1/session/c1"
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Successfully loaded built-in effect: "dashboard"
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Successfully loaded scripted effect: "kwin4_effect_maximize"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Ctrl+F8" for "kwin" : "ShowDesktopGrid"
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Successfully loaded built-in effect: "desktopgrid"
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Successfully loaded scripted effect: "kwin4_effect_login"
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Successfully loaded built-in effect: "highlightwindow"
    Apr 27 18:44:47 MYHOSTNAME kactivitymanagerd[697]: kf5.kservice.sycoca: Trying to open ksycoca from "/home/MYUSERNAME/.cache/ksycoca5"
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Successfully loaded scripted effect: "kwin4_effect_dialogparent"
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Successfully loaded built-in effect: "kscreen"
    Apr 27 18:44:47 MYHOSTNAME kactivitymanagerd[697]: Setting the name: "org.kde.ActivityManager.ActivityTemplates"
    Apr 27 18:44:47 MYHOSTNAME kactivitymanagerd[697]: org.kde.kactivities.application: [ OK ] loaded: "Activity Templates"
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Successfully loaded scripted effect: "kwin4_effect_fade"
    Apr 27 18:44:47 MYHOSTNAME kactivitymanagerd[697]: org.kde.kactivities.application: [ OK ] loaded: "Share-Like-Connect"
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Successfully loaded built-in effect: "logout"
    Apr 27 18:44:47 MYHOSTNAME kactivitymanagerd[697]: Setting the name: "org.kde.ActivityManager.Resources.Scoring"
    Apr 27 18:44:47 MYHOSTNAME kactivitymanagerd[697]: Creating directory: "/home/MYUSERNAME/.local/share/kactivitymanagerd/resources/"
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: "/usr/bin/bluedevil-monolithic" (pid 717) up and running.
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Successfully loaded scripted effect: "kwin4_effect_translucency"
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Successfully loaded built-in effect: "minimizeanimation"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Ctrl+F9" for "kwin" : "Expose"
    Apr 27 18:44:47 MYHOSTNAME kactivitymanagerd[697]: Database connection: "kactivities_db_resources_139855001909184_readwrite"
    query_only: QVariant(qlonglong, 0)
    journal_mode: QVariant(QString, "wal")
    wal_autocheckpoint: QVariant(qlonglong, 100)
    synchronous: QVariant(qlonglong, 1)
    Apr 27 18:44:47 MYHOSTNAME kactivitymanagerd[697]: org.kde.kactivities.application: [ OK ] loaded: "Sqlite Feeder"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Ctrl+F10" for "kwin" : "ExposeAll"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Launch (C)" for "kwin" : "ExposeAll"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Ctrl+F7" for "kwin" : "ExposeClass"
    Apr 27 18:44:47 MYHOSTNAME kactivitymanagerd[697]: org.kde.kactivities.application: [ OK ] loaded: "Event Spy"
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[642]: completeShutdownOrCheckpoint called
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Successfully loaded built-in effect: "presentwindows"
    Apr 27 18:44:47 MYHOSTNAME kernel: QXcbEventReader[692]: segfault at 7fb8321d8399 ip 00007fb8321d8399 sp 00007fb8250f4e20 error 14
    Apr 27 18:44:47 MYHOSTNAME kscreen_backend_launcher[711]: kscreen.backendLauncher: Requested backend: ""
    Apr 27 18:44:47 MYHOSTNAME kscreen_backend_launcher[711]: kscreen.backendLauncher: Lookup paths: ("/usr/lib/qt/plugins", "/usr/lib/kf5")
    Apr 27 18:44:47 MYHOSTNAME kscreen_backend_launcher[711]: kscreen.backendLauncher: Trying "/usr/lib/qt/plugins//kf5/kscreen/KSC_XRandR.so"
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Successfully loaded built-in effect: "screenedge"
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Successfully loaded built-in effect: "screenshot"
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Successfully loaded built-in effect: "slide"
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Successfully loaded built-in effect: "slidingpopups"
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Successfully loaded built-in effect: "startupfeedback"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Meta+=" for "kwin" : "view_zoom_in"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Meta+-" for "kwin" : "view_zoom_out"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Meta+0" for "kwin" : "view_actual_size"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Meta+Left" for "kwin" : "MoveZoomLeft"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Meta+Right" for "kwin" : "MoveZoomRight"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Meta+Up" for "kwin" : "MoveZoomUp"
    Apr 27 18:44:47 MYHOSTNAME kscreen_backend_launcher[711]: kscreen.xcb.helper: Detected XRandR 1.4
    Apr 27 18:44:47 MYHOSTNAME kscreen_backend_launcher[711]: kscreen.xcb.helper: Event Base: 89
    Apr 27 18:44:47 MYHOSTNAME kscreen_backend_launcher[711]: kscreen.xcb.helper: Event Error: 147
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Meta+Down" for "kwin" : "MoveZoomDown"
    Apr 27 18:44:47 MYHOSTNAME kscreen_backend_launcher[711]: kscreen.backendLauncher: Loading "XRandR" backend
    Apr 27 18:44:47 MYHOSTNAME kscreen_backend_launcher[711]: kscreen.backendLauncher: Failed to register as DBus service: another launcher already running?
    Apr 27 18:44:47 MYHOSTNAME kscreen_backend_launcher[711]: kscreen.backendLauncher: ""
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Meta+F5" for "kwin" : "MoveMouseToFocus"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Meta+F6" for "kwin" : "MoveMouseToCenter"
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Successfully loaded built-in effect: "zoom"
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 886, resource id: 50331653, major code: 18 (ChangeProperty), minor code: 0
    Apr 27 18:44:47 MYHOSTNAME systemd-coredump[718]: Process 691 (kactivitymanage) of user 1000 dumped core.
    Apr 27 18:44:47 MYHOSTNAME kmixctrl[706]: QString::arg: Argument missing: "hw%i" , 0
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 890, resource id: 50331654, major code: 18 (ChangeProperty), minor code: 0
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 902, resource id: 48234501, major code: 18 (ChangeProperty), minor code: 0
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[642]: completeShutdownOrCheckpoint called
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: "/usr/bin/kmix" (pid 722) up and running.
    Apr 27 18:44:47 MYHOSTNAME bluedevil-monolithic[717]: service is "org.kde.StatusNotifierItem-717-1"
    Apr 27 18:44:47 MYHOSTNAME bluedevil-monolithic[717]: Registering a client interface to the KStatusNotifierWatcher
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Alt+F1" for "plasmashell" : "activate widget 2"
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: Registering "org.kde.StatusNotifierItem-717-1/StatusNotifierItem" to system tray
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[642]: completeShutdownOrCheckpoint called
    Apr 27 18:44:47 MYHOSTNAME kmix[726]: QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
    Apr 27 18:44:47 MYHOSTNAME kmix[722]: QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: "Thunar" (pid 731) up and running.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[642]: completeShutdownOrCheckpoint called
    Apr 27 18:44:47 MYHOSTNAME kmix[726]: KXMLGUI file found at deprecated location ("/usr/share/kmix/kmixui.rc") -- please use ${KXMLGUI_INSTALL_DIR} to install this file instead.
    Apr 27 18:44:47 MYHOSTNAME kmix[726]: Shortcut for action "hide_kmixwindow" "Hide Mixer Window" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
    Apr 27 18:44:47 MYHOSTNAME kmix[726]: Shortcut for action "save_1" "Save volume profile 1" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
    Apr 27 18:44:47 MYHOSTNAME kmix[726]: Shortcut for action "save_2" "Save volume profile 2" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
    Apr 27 18:44:47 MYHOSTNAME kmix[726]: Shortcut for action "save_3" "Save volume profile 3" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
    Apr 27 18:44:47 MYHOSTNAME kmix[726]: Shortcut for action "save_4" "Save volume profile 4" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
    Apr 27 18:44:47 MYHOSTNAME kmix[726]: Shortcut for action "load_1" "Load volume profile 1" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
    Apr 27 18:44:47 MYHOSTNAME kmix[726]: Shortcut for action "load_2" "Load volume profile 2" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
    Apr 27 18:44:47 MYHOSTNAME kmix[726]: Shortcut for action "load_3" "Load volume profile 3" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
    Apr 27 18:44:47 MYHOSTNAME kmix[726]: Shortcut for action "load_4" "Load volume profile 4" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Volume Up" for "kmix" : "increase_volume"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Volume Down" for "kmix" : "decrease_volume"
    Apr 27 18:44:47 MYHOSTNAME kglobalaccel5[647]: Registering key "Volume Mute" for "kmix" : "mute"
    Apr 27 18:44:47 MYHOSTNAME kmix[726]: Your code needs to be ported in KF5. See the Ki18n programmers guide.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kf5.kded: Loading second phase autoload
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: Service: 2 "/home/MYUSERNAME/.config/autostart/cutegram.desktop"
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "networkmanagement" still uses .desktop files ("kded/networkmanagement.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "bluedevil" still uses .desktop files ("kded/bluedevil.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "obexftpdaemon" still uses .desktop files ("kded/obexftpdaemon.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "solidautoeject" still uses .desktop files ("kded/solidautoeject.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: "/usr/bin/cutegram" failed.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "kwrited" still uses .desktop files ("kded/kwrited.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: Service: 2 "/etc/xdg/autostart/kmix_autostart.desktop"
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: "/usr/bin/kmix" (pid 739) up and running.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "ksysguard" still uses .desktop files ("kded/ksysguard.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "desktopnotifier" still uses .desktop files ("kded/desktopnotifier.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "kscreen" still uses .desktop files ("kded/kscreen.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "keyboard" still uses .desktop files ("kded/keyboard.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "appmenu" still uses .desktop files ("kded/appmenu.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "platformstatus" still uses .desktop files ("kded/platformstatus.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "khotkeys" still uses .desktop files ("kded/khotkeys.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "ktouchpadenabler" still uses .desktop files ("kded/ktouchpadenabler.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "freespacenotifier" still uses .desktop files ("kded/freespacenotifier.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "ktimezoned" still uses .desktop files ("kded/ktimezoned.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "kmixd" still uses .desktop files ("kded/kmixd.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "statusnotifierwatcher" still uses .desktop files ("kded/statusnotifierwatcher.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "recentdocumentsnotifier" still uses .desktop files ("kded/recentdocumentsnotifier.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "soliduiserver" still uses .desktop files ("kded/soliduiserver.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "powerdevil" still uses .desktop files ("kded/powerdevil.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "proxyscout" has already been found using JSON metadata, please don't install the now unneeded .desktop file ("kded/proxyscout.desktop").
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: User timestamp, ASN: 4294967295
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "networkstatus" still uses .desktop files ("kded/networkstatus.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: User timestamp, final: 'ID: 37748741 ;WMCLASS: "kmix" : "kmix" ;Caption: "kmix" ' : 37806
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "remotedirnotify" still uses .desktop files ("kded/remotedirnotify.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Activation: No client active, allowing
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: screens: 1 desktops: 1
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Done.
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: screens: 1 desktops: 1
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: kwin_core: Done.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kf5.kded: kded module "networkwatcher" still uses .desktop files ("kded/networkwatcher.desktop"). Please port it to JSON metadata.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kf5.kded: 2nd phase: loading "solidautoeject"
    Apr 27 18:44:47 MYHOSTNAME kwin_x11[676]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1137, resource id: 31457305, major code: 18 (ChangeProperty), minor code: 0
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kf5.kded: found kded module "solidautoeject" by prepending 'kded_' to the library path, please fix your metadata.
    Apr 27 18:44:47 MYHOSTNAME kmix[726]: QString::arg: Argument missing: "hw%i" , 0
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[621]: kf5.kinit.klauncher: Service: 2 ""
    Apr 27 18:44:47 MYHOSTNAME kmix[741]: QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
    Apr 27 18:44:47 MYHOSTNAME kmix[739]: QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kf5.kded: Successfully loaded module "solidautoeject"
    Apr 27 18:44:47 MYHOSTNAME kdeinit5[628]: kf5.kded: 2nd phase: loading "kwrited"
    Apr 27 18:44:47 MYHOSTNAME kmix[726]: Cannot load profile "MPRIS2.Playback_Streams.1.default" . It was removed by the user, or the KMix config file is defective.
    Apr 27 18:44:48 MYHOSTNAME kmix[726]: service is "org.kde.StatusNotifierItem-726-1"
    Apr 27 18:44:48 MYHOSTNAME kmix[726]: Registering a client interface to the KStatusNotifierWatcher
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kf5.kded: found kded module "kwrited" by prepending 'kded_' to the library path, please fix your metadata.
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kf5.kded: Successfully loaded module "kwrited"
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kf5.kded: 2nd phase: loading "keyboard"
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kf5.kded: found kded module "keyboard" by prepending 'kded_' to the library path, please fix your metadata.
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kcm_keyboard: Fetched layout groups from X server: layouts: ("us") variants: ("")
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kcm_keyboard: Parsing xkb rules from "/usr/share/X11/xkb/rules/evdev.xml"
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kcm_keyboard: xkbConfigRegistry version "1.1"
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: "Trying to convert empty KLocalizedString to QString."
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: "Trying to convert empty KLocalizedString to QString."
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: "Trying to convert empty KLocalizedString to QString."
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kcm_keyboard: Parsing xkb rules from "/usr/share/X11/xkb/rules/evdev.extras.xml"
    Apr 27 18:44:48 MYHOSTNAME kwin_x11[676]: kwin_core: User timestamp, ASN: 37485
    Apr 27 18:44:48 MYHOSTNAME kwin_x11[676]: kwin_core: User timestamp, final: 'ID: 33554449 ;WMCLASS: "plasmashell" : "plasmashell" ;Caption: "Desktop — Plasma" ' : 37485
    Apr 27 18:44:48 MYHOSTNAME kwin_x11[676]: kwin_core: Activation: No client active, allowing
    Apr 27 18:44:48 MYHOSTNAME kwin_x11[676]: kwin_core: screens: 1 desktops: 1
    Apr 27 18:44:48 MYHOSTNAME kwin_x11[676]: kwin_core: Done.
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kcm_keyboard: Merged from extra rules: 37 layouts, 0 models, 0 option groups
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kcm_keyboard: Configuring keyboard
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kcm_keyboard: configuring layouts false configuring options false
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kcm_keyboard: Fetched layout groups from X server: layouts: ("us") variants: ("")
    Apr 27 18:44:48 MYHOSTNAME kglobalaccel5[647]: Registering key "Ctrl+Alt+K" for "KDE Keyboard Layout Switcher" : "Switch to Next Keyboard Layout"
    Apr 27 18:44:48 MYHOSTNAME kglobalaccel5[647]: 1
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kcm_keyboard: Cleaning component shortcuts on load false
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kcm_keyboard: Registered for new device events from XInput, class 81
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kcm_keyboard: qCoreApp QApplication(0x7fffb4e34b00)
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kcm_keyboard: loginMode: ""
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: Failed to open layout memory xml file for reading "/home/MYUSERNAME/.local/share/kded5/keyboard/session/layout_memory.xml" error: 5
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kf5.kded: Successfully loaded module "keyboard"
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kf5.kded: 2nd phase: loading "appmenu"
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kf5.kded: found kded module "appmenu" by prepending 'kded_' to the library path, please fix your metadata.
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kf5.kded: Successfully loaded module "appmenu"
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kf5.kded: 2nd phase: loading "platformstatus"
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kf5.kded: Successfully loaded module "platformstatus"
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kf5.kded: 2nd phase: loading "khotkeys"
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kf5.kded: found kded module "khotkeys" by prepending 'kded_' to the library path, please fix your metadata.
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: Installing the delayed initialization callback.
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kf5.kded: Successfully loaded module "khotkeys"
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kf5.kded: 2nd phase: loading "ktimezoned"
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kf5.kded: found kded module "ktimezoned" by prepending 'kded_' to the library path, please fix your metadata.
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kf5.kded: Successfully loaded module "ktimezoned"
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kf5.kded: 2nd phase: loading "kmixd"
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kf5.kded: found kded module "kmixd" by prepending 'kded_' to the library path, please fix your metadata.
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kmix: kmixd: Triggering delayed initialization
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kf5.kded: Successfully loaded module "kmixd"
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kf5.kded: 2nd phase: loading "networkstatus"
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kf5.kded: Successfully loaded module "networkstatus"
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kf5.kded: 2nd phase: loading "remotedirnotify"
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kf5.kded: found kded module "remotedirnotify" by prepending 'kded_' to the library path, please fix your metadata.
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: kf5.kded: Successfully loaded module "remotedirnotify"
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: Delayed initialization.
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[642]: ksmserver: Kcminit phase 2 done
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[642]: ksmserver: Autostart 2 done
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: true
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: Reloading the khotkeys configuration
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: Version 2 File!
    Apr 27 18:44:48 MYHOSTNAME kwin_x11[676]: kwin_core: User timestamp, ASN: 4294967295
    Apr 27 18:44:48 MYHOSTNAME kwin_x11[676]: kwin_core: User timestamp, final: 'ID: 44040196 ;WMCLASS: "thunar" : "thunar" ;Caption: "EtPraktikum 2 - File Manager" ' : 38057
    Apr 27 18:44:48 MYHOSTNAME kwin_x11[676]: kwin_core: Activation: No client active, allowing
    Apr 27 18:44:48 MYHOSTNAME kwin_x11[676]: kwin_core: screens: 1 desktops: 1
    Apr 27 18:44:48 MYHOSTNAME kwin_x11[676]: kwin_core: Done.
    Apr 27 18:44:48 MYHOSTNAME kglobalaccel5[647]: Registering key "Print" for "khotkeys" : "{a8b57573-0f1c-47db-9523-81e666733509}"
    Apr 27 18:44:48 MYHOSTNAME kglobalaccel5[647]: Registering key "Launch (3)" for "khotkeys" : "{a7837fe3-e8bb-4e31-8e86-6cc88eb4fa61}"
    Apr 27 18:44:48 MYHOSTNAME kglobalaccel5[647]: Unregistering key "Launch (3)" for "khotkeys" : "{a7837fe3-e8bb-4e31-8e86-6cc88eb4fa61}"
    Apr 27 18:44:48 MYHOSTNAME kglobalaccel5[647]: Registering key "Launch (3)" for "khotkeys" : "{a7837fe3-e8bb-4e31-8e86-6cc88eb4fa61}"
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: true
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: false
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: Enabled: false
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: Handler: 0
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: Exclude: 0x0 Match? false
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: false
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: Gesture ungrab
    Apr 27 18:44:48 MYHOSTNAME kglobalaccel5[647]: 3
    Apr 27 18:44:48 MYHOSTNAME kglobalaccel5[647]: 3
    Apr 27 18:44:48 MYHOSTNAME kglobalaccel5[647]: 3
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: Imported file "/usr/share/khotkeys/kde32b1.khotkeys"
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: Imported file "/usr/share/khotkeys/konqueror_gestures_kde321.khotkeys"
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: Imported file "/usr/share/khotkeys/printscreen.khotkeys"
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: Imported file "/usr/share/khotkeys/defaults.khotkeys"
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: Enabled: false
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: Handler: 0
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: Exclude: 0x0 Match? false
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: false
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: Gesture ungrab
    Apr 27 18:44:48 MYHOSTNAME kwin_x11[676]: Using FBConfig 0x67 for visual 0x7b
    Apr 27 18:44:48 MYHOSTNAME kdeinit5[628]: Registering "org.kde.StatusNotifierItem-726-1/StatusNotifierItem" to system tray
    Apr 27 18:44:49 MYHOSTNAME kwin_x11[676]: kwin_core: User timestamp, ASN: 38162
    Apr 27 18:44:49 MYHOSTNAME kwin_x11[676]: kwin_core: User timestamp, final: 'ID: 33554455 ;WMCLASS: "plasmashell" : "plasmashell" ;Caption: "Plasma" ' : 38162
    Apr 27 18:44:49 MYHOSTNAME kwin_x11[676]: kwin_core: Activation, compared: 'ID: 33554455 ;WMCLASS: "plasmashell" : "plasmashell" ;Caption: "Plasma" ' : 38162 : 38057 : true
    Apr 27 18:44:49 MYHOSTNAME kwin_x11[676]: kwin_core: screens: 1 desktops: 1
    Apr 27 18:44:49 MYHOSTNAME kwin_x11[676]: kwin_core: Done.
    Apr 27 18:44:49 MYHOSTNAME kdeinit5[628]: Registering "org.kde.StatusNotifierHost-680" as system tray
    Apr 27 18:44:49 MYHOSTNAME kmix[726]: Registering a client interface to the KStatusNotifierWatcher
    Apr 27 18:44:49 MYHOSTNAME bluedevil-monolithic[717]: Registering a client interface to the KStatusNotifierWatcher
    Apr 27 18:44:49 MYHOSTNAME kdeinit5[628]: powerdevil: Screen brightness value: 15
    Apr 27 18:44:49 MYHOSTNAME kdeinit5[628]: powerdevil: Screen brightness value max: 15
    Apr 27 18:44:49 MYHOSTNAME kdeinit5[628]: powerdevil: Screen brightness value: 15
    Apr 27 18:44:49 MYHOSTNAME

    Check the setting in the Startup Disk pane of System Preferences.
    (52278)

  • Cannot resume after suspend

    Hello friends!
    My problem with Arch Linux is that i could not resume my laptop after open the lid. Its just resume for 5 seconds and then shutdown by itself...
    Can somebody tell me how to fix this? My laptop is HP g62
    Everything works fine except the resume from suspend.
    Thanks in advance.

    button/lid)
        if [[ `cat /proc/acpi/button/lid/LID/state | awk '{print $2}'` = "closed" ]]
        then
        /usr/sbin/pm-suspend
        fi
        #echo "LID switched!">/dev/tty2
            logger "ACPI group/action undefined: $1 / $2"
    esac
    This is my handler.sh lid event but do not work..

  • Suspend fails 50% of time on Linux 3.1.1, works on 3.0.4

    Hi folks,
    I upgraded yesterday from 3.0.4 to 3.1.1 and noticed that suspend wasn't working anymore as it used to. I began to investigate the problem and at it's core I believe that the cause is a buggy BIOS - the lid states are not correctly reported. To be precise, after resume, the lid state is:
    $ cat /proc/acpi/button/lid/LID/state
    state: closed
    which is obviously invalid. The problem is described in detail already in a 2006 bug report on ubuntu bug tracker.
    However, to my Toshiba Satellite U300, this didn't pose a big problem, because the Linux 3.0.4 always returned a lid close event, regardless of the lid state. However, in 3.1.1 it seems that a lid close event is not generated if the lid state is already closed. Thus when the lid is closed, no event is generated and the computer does not suspend. But when the lid is opened, a lid open event is generated (note: lid open is never generated when resuming from a suspend!) which corrects the lid state as open!
    This means that to suspend the computer, the lid has to be closed every time twice. I know this problem affects other models too.. I seem to have an HP laptop in this household that's showing roughly the same symptoms.. lid needs to be closed twice. It's running Linux Mint though, and I haven't diagnosed the problem at all yet.
    Here are the differences between 3.0.4 and 3.1.1 in acpi_listen
    linux 3.1.1
    $ acpi_listen
    (CLOSE LID)
    button/lid LID close
    (OPEN LID - No lid event!)
    battery PNP0C0A:00 00000081 00000001
    processor LNXCPU:00 00000081 00000000
    processor LNXCPU:01 00000081 00000000
    ac_adapter ACPI0003:00 00000080 00000001
    battery PNP0C0A:00 00000080 00000001
    (CLOSE LID - No lid event, no suspend!)
    (OPEN LID)
    button/lid LID open
    (CLOSE LID)
    button/lid LID close
    (OPEN LID - No lid event!)
    battery PNP0C0A:00 00000081 00000001
    processor LNXCPU:00 00000081 00000000
    processor LNXCPU:01 00000081 00000000
    ac_adapter ACPI0003:00 00000080 00000001
    battery PNP0C0A:00 00000080 00000001
    linux 3.0.4
    $ acpi_listen
    (CLOSE LID)
    button/lid LID 00000080 00000003
    (OPEN LID - No lid event!)
    battery BAT1 00000081 00000001
    processor CPU0 00000081 00000000
    processor CPU1 00000081 00000000
    ac_adapter ACAD 00000080 00000001
    battery BAT1 00000080 00000001
    (CLOSE LID)
    button/lid LID 00000080 00000004
    (OPEN LID)
    battery BAT1 00000081 00000001
    processor CPU0 00000081 00000000
    processor CPU1 00000081 00000000
    ac_adapter ACAD 00000080 00000001
    battery BAT1 00000080 00000001
    They both repeat the same pattern. Any gurus here got any advices/ways to deal with this situation? I suppose a DSDT fix would be in place.. it would be nice to catch the lid open event too! For now I'll be sticking with 3.0.4 for the sake of convenience.
    Last edited by snaip (2011-11-18 09:39:14)

    skunktrader wrote:Same problem here https://bbs.archlinux.org/viewtopic.php?id=130372 complete with a workaround
    Thanks, but unfortunately not the same problem. In the above url the problem was about laptops suspending upon receiving a "lid open" event. I noticed that (my laptop was suspending when opening the lid..) and corrected it already before posting this thread.
    I'll try to clarify, step by step. Here is what happens, from the point when computer is freshly rebooted and turned on.
    Action - output of /proc/acpi/button/lid/LID/state - ACPI event generated - Result
    1) Close the lid - state: closed - button/lid LID close - computer suspends
    2) Open the lid - state: closed - no event - computer resumes, everything works great, but no lid open event.
    3) Close the lid - state: closed - no event - Nothing happens
    4) Open the lid - state: open - button/lid LID open - Lid open event.. state changes.
    5) Close the lid - state: close - button/lid LID close - Computer suspends
    6) Move to step 2
    The only difference between 3.1.1 and 3.0.4 behaviour is that in 3.0.4 a LID close event is generated in step 3 (and thus the next step is step 2). The proc/acpi/button/lid/LID/state is always "closed". I've been browsing the kernel git, but haven't found at least so far what has caused it.
    I'll try to pinpoint the exact version change where the problem occurs.
    Last edited by snaip (2011-11-18 11:56:23)

  • [SOLVED] /sys/class/power_supply/BAT0 reads 0 for all power files

    I'm on a Macbook 2,1 running Arch and just recently noticed that my conky started showing 2 billion % for my battery's charge. Conky simply uses:
    ${battery_percent BAT0}%
    In any case, I've manually dug around as well in /sys/class/power_supply before to figure things out and in doing so found:
    ]$ ls /sys/class/power_supply/BAT0
    alarm energy_now present type
    cycle_count manufacturer serial_number uevent
    device model_name status voltage_min_design
    energy_full power subsystem voltage_now
    energy_full_design power_now technology
    $ cat /sys/class/power_supply/BAT0/energy_full
    0
    $ cat /sys/class/power_supply/BAT0/energy_now
    0
    $ cat /sys/class/power_supply/BAT0/power_now
    0
    $ cat /sys/class/power_supply/BAT0/present
    1
    $ cat /sys/class/power_supply/BAT0/status
    Discharging
    $ cat /sys/class/power_supply/BAT0/voltage_now
    0
    These use to contain non-zero values such that (energy_now/energy_full)=% charge.
    Any suggestions on how to figure out what happened?
    Last edited by jwhendy (2012-01-18 04:49:57)

    @ManitOu:
    -- Using ${battery BAT0) gives me [charging], so it must be looking at /sys/class/power_supply/status.
    -- I didn't have acpid installed. I don't consider the battery an "event," but could be wrong. My read of the wiki is that acpid handles buttons and lid events and the like. This is simply looking for how much battery power I have. I installed acpid and started the daemon. There doesn't seem to be a change in /sys/class files or in conky's output. Do I need to restart after adding it to rc.conf for it to take effect?

  • Logind.conf no effect

    Hello,
    I would like my laptop to suspend when the lid closes. This is the default action of logind.conf from what I understand yet strangely it doesn't happen(instead the screen switches off). I have read dozens of posts about related problems, but none seem to solve my problem. From what understand the information of the lid closing never reaches logind.conf, it seems to be handled somewhere before that to which the reaction is switching off the screen. I am quite a Linux noob, so I have no idea if what I am saying is possible.
    So the problem is that the logind.conf configurations such as "HandleLidSwitch=lock" all have no effect. The screen just always switches off and that is all. Any suggestions?

    I'm running gnome, but I know that gnome isn't inhibiting it. I checked the list of inhibitors and all that. Also gnome claims that it doesn't recognize any lid switch. So yes no lid event seems to be the problem. I am pretty sure the lid event is software though, considering in windows closing the lid did suspend the pc.
    I will check out the DSDT and update firmware. If I find a solution I will post it.

Maybe you are looking for

  • Facetime on my ipad does not recognise my apple id password after i have upgraded to iOS 6.1

    After upgrading my ipad to iOS 6.1, Facetime does not recognise my Apple ID password. The password works fine on the app store, I have even tried changing the password, but Facetime refuses to recognise the password, and therefore unable to activate.

  • Sending purchase order through internet.

    hi, all of u,                 please tell me how to send purchase order to supplier through mail. thanks rgds sudhir pawar.

  • Un-installing Virus software

    I need to un-install the Mac virus software on my iMac in order to install my IDSN. However, I can't seem to figure out how to do this and my IDSN won't override/install without me doing so. Any advice?

  • Google Images - unable to open in new tabs since update to 27.0

    Ever since updating to 27.0 a few days ago, I am no longer able to middle-click on images in Google Images search results in order to open them in a new tab. When doing so, the new tab only contains a blank page with a gray background. This is quite

  • Alternative Valuation Run

    Hi Sap Experts, In one of our companies, we have decided to use alternative valuation run (CKMLCPAVR) in order to handle the differences between IFRS requirements and Local Requirements. I have two questions: 1-) What is the customization steps of al