Reply
Thread Tools
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,493 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; 09-14-2007 at 04:20 PM.
 
torx's Avatar
Posts: 231 | Thanked: 21 times | Joined on May 2007 @ Singapore
#2
Any feedback guys? Would like to know how well it runs and the apps available.
 
johsua's Avatar
Posts: 449 | Thanked: 18 times | Joined on Apr 2006 @ Eureka, CA
#3
I will give this a try asap. Which in my world these days means maybe this weekend - if I am lucky.
 
Posts: 144 | Thanked: 21 times | Joined on Mar 2007 @ Finland
#4
Not yet available.

The requested URL /XFCE-INSTALL.tar was not found on this server.
Apache/2.0.46 (Red Hat) Server at penguinbait.com Port 80
 
iball's Avatar
Posts: 729 | Thanked: 19 times | Joined on Mar 2007
#5
I'm jumping apartments at the moment...will try this when he makes the link available after my new internet hookup tomorrow.
__________________
Kicking Nokia in the jimmy, one marketing exec at a time.
Originally Posted by Mr. T
Well maybe Mr. T hacked the game, and made a mowhawk class? And maybe Mr. T is pretty handy with computers? Had that occurred to you Mr. Condescending Director?
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,493 times | Joined on Jan 2006 @ Michigan, USA
#6
LINK NOW ACTIVATED, PLEASE POST YOUR EXPERIENCES


Note, you might have to zoom out in xterm to shrink the font to show whole menu



INSTALLATION XFCE ON NOKIA 770/800


Please Select:


1. READ INSTALL INFO XFCE ON MMC1

2. READ INSTALL INFO XFCE ON MMC2

3. READ INSTALL INFO XFCE IN ALTERNATE LOCATION

4. EXIT WITHOUT RUNNING





Thu Sep 13 13:15:44 EDT 2007

Select by pressing a number and then ENTER
 
Posts: 76 | Thanked: 13 times | Joined on Apr 2007
#7
Looks like I'm going first! So far, so good. Currently creating the image on mmc2. I'll keep you all posted!

Woah - went dark somewhere...

First time through, the machine crashed? I'm not sure. All of a sudden, I noticed it was OFF! Here's where I got to:

STARTING CREATION OF XFCE.img on /media/mmc2/
THIS MAY TAKE ABOUT 10-15 MINUTES
1048576+0 records in
1048576+0 records out
LOOKS LIKE IT WAS SUCCESSFUL
/media/mmc2/XFCE.img
-rw-r--r-- 1 root root 512.0M Sep 13 21:49 /media/mmc2/XFCE.img
mkfs.ext2 exists e2fsprogs is already installed, skipping install
FORMATTING EXT2 IMAGE
NOTICE: /media/mmc2/XFCE.img is not a block special device.
NOTICE: Proceed anyway? y,n
NOTICE: TYPE y AND PRESS ENTER, its OK I swear
mke2fs 1.37 (21-Mar-2005)
/media/mmc2/XFCE.img is not a block special device.
Proceed anyway? (y,n) y
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
131072 inodes, 524288 blocks
26214 blocks (5.00%) reserved for the super user
First data block=1
64 block groups
8192 blocks per group, 8192 fragments per group
2048 inodes per group
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409

Writing inode tables: done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 28 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
EXT2 PARTITION CREATED SUCCESSFULLY

READY TO MOUNT
LOADING MODULES
insmod: cannot insert '/mnt/initfs/lib/modules/2.6.18-omap1/mbcache.ko': File exists (-1): File exists
insmod: cannot insert '/mnt/initfs/lib/modules/2.6.18-omap1/ext2.ko': File exists (-1): File exists
RUNNING FSCK JUST TO VERIFY ITS GOOD

fsck 1.37 (21-Mar-2005)
e2fsck 1.37 (21-Mar-2005)
/media/mmc2/XFCE.img: clean, 11/131072 files, 16553/524288 blocks

Mount seems good!!!

/dev/loop0 495.8M 13.0k 470.2M 0% /usr/local

LOOKING FOR FILE LOCALLY
FOUND LOCAL FILE ./XFCE-6-INSTALL.tar.bz2
STARTING XFCE INSTALL
./
./usr/
./usr/local/
./usr/local/bin/
./usr/local/bin/xfce-setting-show
./usr/local/bin/xfce-mcs-manager
./usr/local/bin/exo-csource
./usr/local/bin/exo-desktop-item-edit
./usr/local/bin/exo-preferred-applications
./usr/local/bin/exo-mount
./usr/local/bin/exo-eject
./usr/local/bin/exo-unmount
./usr/local/bin/exo-open
./usr/local/bin/xfwm4
./usr/local/bin/vte
./usr/local/bin/Thunar
./usr/local/bin/thunar
./usr/local/bin/Terminal
./usr/local/bin/terminal
./usr/local/bin/xfrun4
./usr/local/bin/xfterm4
./usr/local/bin/xflock4
./usr/local/bin/xfmountdev4
./usr/local/bin/xfbrowser4
./usr/local/bin/startxfce4
./usr/local/bin/xfhelp4
./usr/local/bin/xfce4-about
./usr/local/bin/iceauth
./usr/local/bin/xfce4-panel
./usr/local/bin/xftaskbar4
./usr/local/bin/xfce4-iconbox
./usr/local/bin/xfce4-popup-windowlist
./usr/local/bin/xfce4-session

That was it... I noticed the machine was dead.

Now I've restarted...

Died again. Got as far as copying over gaim this time...

I'll continue to try

Last edited by mplawner; 09-13-2007 at 03:05 PM.
 
Posts: 76 | Thanked: 13 times | Joined on Apr 2007
#8
Could be a couple of things:
1) My XFCE-6-INSTALL.tar.bz2 is actually on /media/mmc2, and I'm just linking it in (to save space). Maybe the i/o is killing it. I'll move it over.
2) I've been doing this through an ssh session. I've tried it locally on xterm, but again, it died at gaim.
 
dan67sf's Avatar
Posts: 114 | Thanked: 12 times | Joined on Jul 2007 @ Somewhere, most of the time.
#9
Very Cool penguinbait

I am very appreciative when people like you do something like this. I hope to try this at home tonight and will try to post the results and what I think about it.

Even if it is something that is not usefull to me there I do think it will be usefull to alot of other people, if nothing else it gives us more options to see what works best for the different situations.

Thanks Again for giving us something else to play with and modify on the Nokia N800.

Dan
 
Posts: 76 | Thanked: 13 times | Joined on Apr 2007
#10
Nope, neither of those two things helped... it just died quicker. To be clear, "died" means that situation where it looks like the blackness bleeds in from the right side of the screen and the n800 winks out of existence. Like BSOD on Windows, but less expected.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT -4. The time now is 12:31 AM.