User Tools

Site Tools


laptop_hacks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
laptop_hacks [2018/09/19 16:25] – [Power Disconnect/Connect events] adminlaptop_hacks [2018/10/25 15:52] – [Power Disconnect/Connect events] admin
Line 46: Line 46:
 These events come through DBus, so I run this in my ''.xsession''. These events come through DBus, so I run this in my ''.xsession''.
  
-  # if there's a battery battery then listen on dbus for a/c connect/disconnect:+  # if there's a battery then listen on dbus for a/c connect/disconnect:
   upower -e |grep -q battery && {   upower -e |grep -q battery && {
       power-monitor &       power-monitor &
laptop_hacks.txt · Last modified: 2020/02/08 16:41 by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki