Fix reading and settings keyboard layouts

Reading from setxkbmap's output to get user layouts and calling setxkbmap to set
new layouts are broken. This PR solves lxde/lxde-qt#195.

I wonder if it has ever worked, as ```setxkbmap```'s code is frozen for years.