http://qt-project.org/doc/qt-5.1/qtx11extras/qx11info.html