![]() |
2010-12-19
, 20:13
|
|
Posts: 1,187 |
Thanked: 816 times |
Joined on Apr 2010
@ Australia
|
#262
|
![]() |
2010-12-19
, 22:03
|
|
Posts: 203 |
Thanked: 201 times |
Joined on Jun 2010
@ Ecuador
|
#263
|
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
The Following User Says Thank You to juandp77 For This Useful Post: | ||
![]() |
2010-12-19
, 22:57
|
|
Posts: 1,187 |
Thanked: 816 times |
Joined on Apr 2010
@ Australia
|
#264
|
![]() |
2010-12-19
, 23:04
|
|
Posts: 203 |
Thanked: 201 times |
Joined on Jun 2010
@ Ecuador
|
#265
|
Whats the differences with this new and the original one you posted?
![]() |
2010-12-19
, 23:09
|
|
Posts: 293 |
Thanked: 373 times |
Joined on Jul 2010
@ Westside
|
#266
|
so if anyone want to try here it is ubuntu-n900.deb
if you had previous version please do this:
also remove all the desktop entriesCode:sudo rm /usr/bin/ubuntu-lxde
now install the .deb file and open ubuntu chroot
copy this:Code:nano /usr/bin/xephwm5
save it and exit now open Ubuntu LXDECode:#!/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
let me know if it works
Enjoy it!!!
![]() |
2010-12-19
, 23:14
|
|
Posts: 203 |
Thanked: 201 times |
Joined on Jun 2010
@ Ecuador
|
#267
|
Thanks again, I'll give this one a shot. Also, what's the latest on Arch repos? All I'm after, at least for now, is a web browser + jre/jdk so I can run a java applet via the web browser.
The Following User Says Thank You to juandp77 For This Useful Post: | ||
![]() |
2010-12-19
, 23:31
|
|
Posts: 293 |
Thanked: 373 times |
Joined on Jul 2010
@ Westside
|
#268
|
![]() |
2010-12-20
, 00:03
|
|
Posts: 203 |
Thanked: 201 times |
Joined on Jun 2010
@ Ecuador
|
#269
|
![]() |
2010-12-20
, 00:12
|
|
Posts: 95 |
Thanked: 51 times |
Joined on Sep 2010
@ staffordshire, uk
|
#270
|
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!