Monday, December 21, 2015

wretched dell 3537 debian 8 laptop lid crash issue

Recently my laptop is all explode on closing the lid.

It turns out this is fixable, and the answers were on various stack exchange sites.

First fix the actual problem:
Open the file /etc/systemd/logind.conf as root.

Find this: HandleLidSwitch

If it's commented, uncomment and change the value to ignore. The line after editing should be:


And then get the bloody thing to notice without having to reboot:

sudo systemctl stop systemd-logind && sudo systemctl start systemd-logind

apt-get command with all favourite stuff

sudo apt-get update
sudo apt-get upgrade --assume-yes sudo apt-get install --assume-yes gitk mplayer epiphany-browser chromium maven2 tree git-gui mercurial rlwrap vim xclip filelight htop gparted idle3 unison build-essential gparted imagemagick fail2ban kate arandr feh xscreensaver xscreensaver-data xscreensaver-gl xscreensaver-gl-extra xscreensaver-data-extra tig ack-grep wxmaxima npm nodejs-dev texlive texlive-science jekyll haskell-platform mesa-utils nethogs fldiff fortunes fortunes-fr idle mesa-utils haskell-platform get-iplayer npm mypaint mypaint-data-extras libreoffice curl wget xxdiff ufw cdargs krita firmware-ralink workrave emacs emacs-goodies-el cdargs pm-utils octave octave-info screen emacs emacs-goodies-el cdargs ufw gxine xine-ui libdvdcss2 gxineplugin xinput x-tile browser-plugin-gnash transmission gddrescue handbrake handbrake-cli