laptop_hacks
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
laptop_hacks [2017/08/16 19:00] – [Power Disconnect/Connect events] admin | laptop_hacks [2018/07/15 18:08] – [Power Disconnect/Connect events] admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
=====Laptop Hacks===== | =====Laptop Hacks===== | ||
- | Ho boy, this got difficult really quickly - in 2012 I had everything working on my laptop with the LXDE spin of fedora plus fluxbox. After a quick spurt of travel using all the laptoppy things like conserving battery life, suspend/ | + | Ho boy, this got difficult really quickly - in 2011 I had everything working on my laptop |
Maybe it'll help you too - but you will almost certainly need to some make tweaks for your particular setup. | Maybe it'll help you too - but you will almost certainly need to some make tweaks for your particular setup. | ||
- | Why go through all this? Why not just use a full DE like KDE or gnome to take care of it? With KDE the best I could get (without digging just as deep as I have done here) was about 4 hours of battery life. By doing the hard work and understanding what's going on I can get up to 6.5 hours! Not bad. | + | Why go through all this? Why not just use a full DE like KDE or gnome to take care of it? With KDE the best I could get was about 4 hours of battery life. By doing the hard work and understanding what's going on I can get up to 6.5 hours! Not bad. |
====Who' | ====Who' | ||
Line 47: | Line 47: | ||
# if there' | # if there' | ||
- | upower -e |grep -q battery && power-monitor & | + | upower -e |grep -q battery && |
+ | | ||
+ | xfce4-power-manager & | ||
+ | } | ||
Where, '' | Where, '' | ||
Line 54: | Line 57: | ||
| | ||
# needs to run as normal user under X (so that battery-alarm can popup) | # needs to run as normal user under X (so that battery-alarm can popup) | ||
+ | # requires dbus-python | ||
| | ||
import gobject, os, sys | import gobject, os, sys |
laptop_hacks.txt · Last modified: 2020/02/08 16:41 by admin