View Single Post
juandp77's Avatar
Posts: 203 | Thanked: 201 times | Joined on Jun 2010 @ Ecuador
#263
so if anyone want to try here it is ubuntu-n900.deb

if you had previous version please do this:

Code:
sudo rm /usr/bin/ubuntu-lxde
also remove all the desktop entries

now install the .deb file and open ubuntu chroot

Code:
nano /usr/bin/xephwm5
copy this:

Code:
#!/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
save it and exit now open Ubuntu LXDE

let me know if it works

Enjoy it!!!
 

The Following User Says Thank You to juandp77 For This Useful Post: