Xfce laptop lid disabling HDMI monitor

Friday, January 8th, 2016

Prio to Linux Mint 17.0 I used to run my laptop with the lid shut and used just the HDMI monitor connected to it when I was in the office.  When I upgraded to Linux Mint 17.0 closing the lid caused both the laptop monitor and HDMI monitor to go off.

After finally getting annoyed with the laptop monitor changing in the peripheral of my vision I decided to fix it.

After a little googling I found

Which says





I restarted and logged in and now I can shut the laptop lid without the HDMI monitor going off.

Upgrade Linux Mint 17.0 Qiana to 17.1 Rebecca

Friday, March 6th, 2015

This is the way I upgraded my latop from Mint 17.0 to Mint 17.1.

Edit file : /etc/apt/sources.list.d/official-package-repositories.list

# Add new Mint 17.1
deb rebecca main upstream import 
deb rebecca main

# Comment out 17.0 packages
#deb qiana main upstream import 
#deb qiana main
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
# reboot and pray
# check if anything needs to be cleaned up - maybe old kernels
sudo apt-get autoremove

Disable ipv6 on mint/ubuntu

Thursday, February 5th, 2015

How to disable ipv6 on ubunut distros

Edit the sysctl.conf file

sudo emacs /etc/sysctl.conf

append the following to the end of the file

# IPv6 disabled
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

Reload sysctl config

sudo sysctl -p

Now checks its gone by running ipconfig

eth0   Link encap:Ethernet HWaddr e0:db:55:bc:1e:bb 
       inet addr: Bcast: Mask:
       RX packets:429875 errors:0 dropped:0 overruns:0 frame:0
       TX packets:154053 errors:0 dropped:0 overruns:0 carrier:0
       collisions:0 txqueuelen:1000 
       RX bytes:300878637 (300.8 MB) TX bytes:17446275 (17.4 MB)