sudo rm /usr/bin/ubuntu-lxde
nano /usr/bin/xephwm5
#!/bin/sh ################################## #Change these two variables to the WM of your choice. WMNAME="$1" ; WMEXEC="$2" [ "x$WMNAME" != x ] || WMNAME="Xephyr" [ "x$WMEXEC" != x ] || WMEXEC="startlxde2" ################################## export DISPLAY=:0 export TSLIB_TSDEVICE=/dev/input/event3 #export TSLIB_CALIBFILE=/etc/pointercal export GTK_MODULES=libgtkstylus.so zenity --display=:0 --info --text="Welcome to Ubuntu LXDE. This window is needed to gain keyboard focus in LXDE. Click OK." & /usr/bin/Xephyr :2 -screen 800x480 -br -ac & while [ "x$PARWIN" = "x" ] ; do # wait for Xephyr window to appear export PARWIN=`wmctrl -l | grep -i $WMNAME | awk '{print $1}'` echo "($PARWIN)" done DISPLAY=:2 ; habak -mf /usr/share/fonts/truetype/DroidSans-Bold.ttf \ -ht 'Ctrl-back to return to dashboard.' DISPLAY=:0 ; wmctrl -i -r $PARWIN -T 'Easy Ubuntu' wmctrl -i -r $PARWIN -b toggle,fullscreen while [ "x$TWOWIN" = "x" ] ; do # wait for Zenity dialog to pop up... export TWOWIN=`wmctrl -l | grep -i Information | awk '{print $1}'` done #echo window id: $TWOWIN wmctrl -i -a $TWOWIN #/sbin/qobi-wmhint-fix $PARWIN /usr/bin/set-focus $PARWIN wmctrl -i -a $PARWIN /usr/bin/$WMEXEC killall Xephyr export DISPLAY=:0