View Single Post
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#1
How to easily install XFCE on your tablet. You need some free space, but NO PARTITIONING CARDS NECESSARY, NOT EVEN SCRIPTED

More information about XFCE can be found
http://www.internettablettalk.com/fo...ad.php?p=75210


This will create a 512MB file on your SD card
Its just a file and can sit on the VFAT (windows formatted) MMC card

/media/mmc1/XFCE.img
or
/media/mmc2/XFCE.img
or
Somewhere else (maybe version 2)
there is a third menu option, but I did not make it work yet



You will choose from the menu, once you start the XFCE-INSTALL.sh script, but I am getting ahead of myself... Just keep reading!!! :-)

Anyway we will make a 512MB EXT2 or Linux partition on inside that file, and then mount it on /usr/local, this will give you enough room to install XFCE without needing bootmenu or partitioning you SD cards. Nice for the newbies!!!! And the Lazy like myself...



INSTALL BECOMEROOT


http://eko.one.pl/maemo/dists/bora/u....1-2_armel.deb

~~~~~~~~~~~~~~`
Setup xterm Repository

#Maemo Hackers
http://maemo-hackers.org/apt
bora
main

~~~~~~~~~~~~~~

INSTALL XTERM

~~~~~~~~~~~~~~

Download TARBALL
http://penguinbait.com/XFCE-INSTALL.tar
Sleeps over, enjoy

If you save this in your documents directory, run the following
If you save somewhere else, adjust command accordingly

~~~~~~~~~~~~~~

Run xterm

type
sudo gainroot
cd /root
tar xvf /home/user/MyDocs/.documents/XFCE-INSTALL.tar

~~~~~~~~~~~~~~
DO THIS STEP BEFORE PRECEEDING!!!

You will need some sources setup in order to complete this, I DO NOT WANT TO MESS UP YOUR SOURCES
So, that being said, you need these sources to complete the install, e2fsprogs is needed.
You can manually enter and update in the application manager or you may already have these setup.

You can also run sources.sh in XFCE-INSTALL/ To add and update

#maemo:name Maemo Extras
http://repository.maemo.org/extras
bora free
non-free

#maemo:name Maemo
http://repository.maemo.org/
bora
free non-free

#maemo:name Minimo
http://home.ufam.edu.br/~agan/minimo
bora
user

i
~~~~~~~~~~~~~~~
RUN INSTALL SCRIPTS

cd XFCE-INSTALL

./source.sh (If you need it) If there it a problem and you don't have these setup, it will tell you ERROR ERROR it can not find e2fsprogs or some such

./XFCE-INSTALL.sh
(NOTICE There are some things you may need to answer yes, a no, and you will have to start all over.)

Also if you already downloaded the XFCE-6-INSTALL.tar.bz2 file, or if you want to download it manually, just place the file in the XFCE-INSTALL/ directory and run ./XFCE-INSTALL.sh , and it will use the local copy.

~~~~~~~~~~~~~~~
Just follow the menus


follow menu options to install, its that simple, this installs without partitioning your SD/mmc card. It creates an EXT2 filesystem in a fle on the VFAT partition. Answer yes to everything or you will need to start over.

~~~~~~~~~~~~~~
INSTALL COMPLETE


Want to try XFCE, this is your opportunity, WOO HOO, let me know how it goes, who dares to be first????



What you need to know, do you have enough space on your mmc? and root filesystems?



Nokia-N800-26:~/INSTALL# df -h
Filesystem Size Used Available Use% Mounted on
/dev/mtdblock4 2.0M 1.8M 256.0k 88% /mnt/initfs
none 512.0k 64.0k 448.0k 13% /mnt/initfs/tmp
/dev/mtdblock4 251.5M 240.8M 80.7M 76% /
none 512.0k 64.0k 448.0k 13% /tmp
none 1.0M 60.0k 964.0k 6% /dev
/dev/mmcblk1p1 7.6G 2.9G 4.7G 38% /media/mmc1
/dev/mmcblk0p1 1.9G 1.4G 594.9M 70% /media/mmc2



In the case shown here mmc1 has 4.7GB Free and mmc2 has 594MB free, we only need 512MB, so you can install to either mmc card



Notice also / (root) has 80MB free, we need about 65MB to install. The install script will download the 61MB file to install XFCE, this may take a long time depending on your connection and the number of others downloading. It will download into the XFCE-INSTALL directory, so wherever you untar it, you need to have 65MB free. You can also download the file manually and place it in this directory, and it will install from there.


When you are done you should move/delete the 62MB install file onto mmc, if its on your flash filesystems, or you could put it in /usr/local/.



NOTICE IF YOU CANCEL A DOWNLOAD IN PROGRESS AND YOU WANT TO RE-RUN THE INSTALL, remove XFCE-6-INSTALL-tzr.bz2 before restarting the install script



This is version one, I look forward to others building off my script to update this into a uber script, please feel free to submit any suggested changes to 770@penguinbait.com or here. Again this is version one and I test on fresh flash only, and it installs XFCE for you, so it meets its purpose, no matter its crudeness


This is a separate thread, because I did not want to muck up the other thread with install-script related questions, they should be posted here



NOTICE NOTICE NOTICE NOTICE NOTICE

If you downloaded this script prior to 4:10PM EST on Friday Sep 14, 2007, please download it again.

I found a small problem in my script, the tarball has been fixed as of right now.

If you installed to mmc1 it created a file in /usr/bin/ called mount1.sh

inside /usr/bin/mount1.sh

Download -> mount.sh

You need to change this
sudo mount -t vfat /dev/mmcblk1p1 /media/mmc1
sudo mount -t vfat /dev/mmcblk0p1 /media/mmc1

to this
sudo mount -t vfat /dev/mmcblk1p1 /media/mmc1
sudo mount -t vfat /dev/mmcblk0p1 /media/mmc2


Sorry, intall script has been updated,

Last edited by penguinbait; 2007-09-14 at 20:20.