Reply
Thread Tools
Posts: 15 | Thanked: 0 times | Joined on Aug 2007
#31
hi people im with a n770 with 2gb in mmc with dual boot 400mb / 215mb still free for sysop
and i have 1.2gb in the rest of themmc free vfat i have just a doubt
if i do this is going to create a img and if i have a prob i just have to delete ?.i dont have to deal wirh particions ?
another question after the install i can delete the downloaded file of 62mb of xfce ?
and if i am with just one mmc the reference is mmc1 ? correct ?

i just dont want to lose data because i work with this and more flashes noooo lololo
hoo my old xfce with gentoo , fast fast fast
 
thel8elvis's Avatar
Posts: 14 | Thanked: 2 times | Joined on Aug 2007 @ Virginia
#32
UPDATE-

Got sidetracked with work and other things, not enough time to play with XFCE

I have a 2GB card, and am booting from the 1st partition, using the 2nd as 1GB storage.

1st - using losetup works fine to mount on /dev/loop for the 770 - just grab the binary and throw it in /usr/bin

2nd - my 770 kept crapping out trying to unzip/untar into xfce.img - I don't know if it is I/O, the fact that I am running the OS from the card on 1 partition and trying to write all that data to the second partition, or what.

My solution was to create the image on a linux box, and unzip/untar the files into it on there. No problem, 512 MB image created. Of course, when I tried to plug my card into my usb reader on my linux box, it completely crapped out trying to write the files to the card (reminding me of why linux annoys me so much :-) , so I simply plugged the 770 into my Mac and waited an hour while it copied the .img over.

The next issue was that there are some files that *don't* go into the image, but on the regular file system. I copied them to card (over usb again) and then cp them to the OS.

From my review of the shell script, the only real key was to make sure the .img was mounted on /usr/local before launching XFCE, so I modified it to use losetup to make sure the .img was mounted.

So, in theory, it's all good to go ... so I launch XFCE, and get a white screen...

770 is not dead, still working, but I seem to have screwed up one of the following :

1) file permissions on the files I copied to the OS (there were only a couple, some files for /usr/bin, libXdamage in /usr/lib, and the desktop files in /usr/share/applications/hildon, and files in /etc)

but they look ok ...

2) I did not copy all the files correctly

I see them all there.... permission problem with su/sudo executing properly ?

3) something wrong with my .img

but it mounts fine and looks fine...

4) I missed something else entirely :-)

Soooooo - whats the best way to debug X on this thing ?

Or what might be some suggestions for debugging why X/XFCE is not starting correctly ?

Thanks !

ps - after re-running swm4.sh from ssh, I get the following:
Nokia770-49:/usr/bin# ./swm4.sh
Stopping Keyboard
Stopping MAEMO AF Desktop
Stopping Matchbox window manager
/usr/local/bin/startxfce4: X server already running on display :0.0
/usr/local/bin/xfce4-session: error while loading shared libraries: libICE.so.6: cannot open shared object file: No such file or directory
(which I don't have minimo installed - so I guess I expect that one - is not having minimo installed killing a script somewhere else ???)
 
thel8elvis's Avatar
Posts: 14 | Thanked: 2 times | Joined on Aug 2007 @ Virginia
#33
/usr/local/bin/xfce4-session: error while loading shared libraries: libICE.so.6: cannot open shared object file: No such file or directory
(which I don't have minimo installed - so I guess I expect that one - is not having minimo installed killing a script somewhere else ???)
Or I am an idiot and I do need libICE :-(

Doh.

OK - kinda working now. Let me see what else I did wrong :-)
 
Posts: 3 | Thanked: 0 times | Joined on Sep 2007
#34
Hi,

I am on a Nokia 770 and managed to install XFCE with a few tricks and the help of my Linux PC.

I didnt get any errors and didnt noticed any problems during the installation. Everything went fine.

When I start now XFCE from the Hildon Menu I get the "Starting Screen" and after a while I am on a Desktop with white background and a menu bar on the bottom. The WM-Applets are in the upper left corner, all on the same position overlapping each other.

I am able to leave XFCE with the corresponding menu entry and to start some eye candy programs. But thats all. No xterm or settings are accessible. It seems, that the windowmanager itself is not running.

Before I start a time intesive troubleshooting my idea was to ask here. Maybe one of you already has a clue by what the problem is caused.

Holger
 
Posts: 144 | Thanked: 21 times | Joined on Mar 2007 @ Finland
#35
Btw uninstall script would be nice ;-)
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#36
Originally Posted by jmk View Post
Btw uninstall script would be nice ;-)


Fair enough, but then I would need to update the install script to make some backups.

Someday it will be perfect, or closer to perfect perhaps

The next version will include one, just for my finland friend
 
Posts: 5 | Thanked: 0 times | Joined on Sep 2007
#37
Nice work penguinbait!
I had MAJESTIC problems unpacking the .tbz with reboots due to, I believe, the 'mmc card dies' bug or maybe its simply cos Nokia dont like bzip2 hogging all the cpu and reboot cos their silly watchdog doesnt get reset. I did it by unpackimg one file at a time, while I was asleep-took hours! There is a minor problem in /usr/bin/swm4.sh where the call to something or other stopping matchbox some other version fails.
Once thats fixed I get xfce running under matchbox window manager! Not sure how THAT happens yet, I was rather expecting xfwm4 as the window manager. However if you remove the /etc/../keyboard stop bi you can get the thumboard(yay-waytogo pbait!) and everything (more or less) Nokia gives you. You really need to source the af-..crud
to get the right names there somehow.
I'm still looking to get xfwm4 going but so far I reckon
this thing RULEZ!
cu Jon
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#38
Originally Posted by jheather View Post
Nice work penguinbait!
I had MAJESTIC problems unpacking the .tbz with reboots due to, I believe, the 'mmc card dies' bug or maybe its simply cos Nokia dont like bzip2 hogging all the cpu and reboot cos their silly watchdog doesnt get reset. I did it by unpackimg one file at a time, while I was asleep-took hours! There is a minor problem in /usr/bin/swm4.sh where the call to something or other stopping matchbox some other version fails.
Once thats fixed I get xfce running under matchbox window manager! Not sure how THAT happens yet, I was rather expecting xfwm4 as the window manager. However if you remove the /etc/../keyboard stop bi you can get the thumboard(yay-waytogo pbait!) and everything (more or less) Nokia gives you. You really need to source the af-..crud
to get the right names there somehow.
I'm still looking to get xfwm4 going but so far I reckon
this thing RULEZ!
cu Jon

Yes the tar crash problem is hit or miss with me also, aboout 50% of the time large tars will reboot my n800. I believe this is a reproducable FIRMWARE ISSUE

What did you change in swm4.sh? Is this 770 specific or do you have n800? What os are you running?

The hildon keyboard is available through the XFCE menu (hildon keyboard start /hildon keyboard stop)

If you are having problems starting XFCE, the best option is from the command line, it will then tell you whats wrong, (as user not root)


Once you get it up, you should try some printing, I released a CUPS package about 100MB uncompressed, and you can print pictures from the gqview (Image Viewer) available in the XFCE menus

http://www.internettablettalk.com/fo...ad.php?t=10057

Last edited by penguinbait; 2007-09-28 at 13:45.
 
Posts: 5 | Thanked: 0 times | Joined on Sep 2007
#39
Whoops! After tar/bzip2 gave me those hassles
evidently I lost out on critical stages of your install..
causing my problems. Specifically in swm4.sh the line
source /etc/osso-af-init/matchbox.sh.orig stop
failed because the .orig file had not been created. I
had to comment it out to get any further. That lead to
my odd startup using matchbox as the wm - its really not
all that bad, in a weird kind of way.

I'll try using your script again, just skipping the tar
since I have my good .img now. No doubt that will fix
up all my issues - sorry for the mistake.


Incidentally, as you are God of the window-managers,
have you considered xfvwm. Since it allows windows to
continue over into neighboring screens, it may well be a
better solution for us. In effect it gives you a massive
virtual screen-any size you like. Just what we need.

So far as printing is concerned -: Nice but..

You still use murdered trees??? I gave that up round
about 1985. On those rare occasions I absolutely HAVE
to waste a bit of rainforest I let some internet cafe
do the dirty deed.
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#40
Anyone using XFCE and wanting to printpdf files


http://penguinbait.com/epdfview.gz

this is a single executable to replace the file in /usr/local/bin

this will add the printing option in epdfview


gunzip epdfview.gz
rm /usr/local/bin/epdfview
mv epdfview /usr/local/bin
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 09:32.