The Following 2 Users Say Thank You to qole For This Useful Post: | ||
|
2008-05-27
, 05:29
|
|
Posts: 2,142 |
Thanked: 2,054 times |
Joined on Dec 2006
@ Sicily
|
#2
|
#!/bin/sh if [ `id -u` != 0 ] ; then #if not already root, call itself as root sudo gainroot <<EOF exec $0 $* EOF exit fi exec /home/user/MyDocs/bin/debian hilda $*
The Following User Says Thank You to debernardis For This Useful Post: | ||
|
2008-05-27
, 18:32
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#3
|
exec=sudo debian hilda abiword
|
2008-05-28
, 01:28
|
Posts: 156 |
Thanked: 44 times |
Joined on Dec 2007
|
#4
|
|
2008-05-28
, 17:24
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#5
|
|
2008-05-29
, 05:40
|
|
Posts: 2,142 |
Thanked: 2,054 times |
Joined on Dec 2006
@ Sicily
|
#6
|
|
2008-05-29
, 09:45
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#7
|
Ta-dah! Full screen xfce4 (with abiword, openoffice and all the band) along with hildon-matchbox and those other odd things. Two worlds together! I am verrrrry happy :-)
apt-get install xserver-xephyr apt-get install wmctrl
#!/bin/sh #--------------------------------------- #Start the Xephyr server. Don't use host-cursor! There is none! export DISPLAY=:0 Xephyr :1 -screen 800x480x16 -dpi 96 -ac & #--------------------------------------- #Make Xephyr full screen and bring it to the front. wmctrl -r Xephyr -b toggle,fullscreen wmctrl -a Xephyr #--------------------------------------- #Make a bunch of important files writable #by the user. Maybe not needed in all setups. chown user /home/user/.ICEauthority chgrp users /home/user/.ICEauthority chown user /home/user/.cache chgrp users /home/user/.cache chown user /home/user/.dbus/session-bus chgrp users /home/user/.dbus/session-bus #--------------------------------------- #run xfce4 as user. su user -c 'export DISPLAY=:1; xfce4-session' &
sudo debian xephce4
|
2008-05-29
, 18:03
|
|
Posts: 305 |
Thanked: 154 times |
Joined on Aug 2006
@ Colorado
|
#8
|
|
2008-05-29
, 19:12
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#9
|
|
2008-05-30
, 05:54
|
|
Posts: 2,142 |
Thanked: 2,054 times |
Joined on Dec 2006
@ Sicily
|
#10
|
Tags |
chroot, debian, easy debian |
|
UPDATE, AUGUST 10 2008:
I have posted the newest versions of the chroot scripts (/sbin/debian, /sbin/closechroot, /sbin/synchroot, /usr/bin/debbie) and the chroot config file (/home/user/.chroot) in this post. You can use these scripts to set up your own custom chroot solution. If you just wish to have the applications that Debian gives you (OpenOffice, Firefox, etc) without the hassle, use the Easy Debian package.
UPDATE, JULY 3 2008:
The post with the first installable .deb files and a link to the first version of the chroot image file is here on page 9, and there is an empty 1GB image file with some cool ideas for other chroot options a few posts later, here.
I posted a smaller image file (730MB) with all of the applications installed a bit later, here.
Lastly, I posted a 1GB image file with only minimal applications installed here, so that those who want to experiment with installing lots of different apps can have more "play-space".
The rest of the thread is a bunch of hardcore Debian chroot enthusiasts trying to get stuff working and keeping each other up to date.
Oh yes, and one very cool video.
ORIGINAL POST FOLLOWS:
Hi all,
I have a wiki entry, Running Debian in a chroot
This method allows you to install and run any of the thousands of applications, including things like Gimp and OpenOffice, compiled for the Debian armel port, without rebooting your tablet. Many of them run under the default OS, but you may need to use penguinbait's KDE to run some of the apps, because they are designed for a desktop OS and they have problems like dialog boxes that don't fit on the standard tablet operating system's screen.
I have posted about this in various threads, but I wanted to start a new thread so that people can discuss this in one place and propose better ways to do it. I would love to see a simple, newbie-friendly way to set this up so that anyone can install and run Debian apps with a minimum of hassle. This thread might help to make that happen.
Also, if you find Debian apps that work particularly well, apps that totally crash the system, or tricks for getting certain Debian apps to work on the tablet (eg. make sure you install esound support to get sound working on several apps), you can report your findings here.
EDIT: The "Discussion" tab on the wiki now links back to this thread. Nice.
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!
Last edited by qole; 2008-08-10 at 19:07. Reason: links to the important posts