maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [KDE] KDE/Koffice Install made easy for everyone (https://talk.maemo.org/showthread.php?t=14680)

penguinbait 2008-01-08 22:40

[KDE] KDE/Koffice Install made easy for everyone
 
This is nota working with Diablo, and will not be updated, please use boot from SD installers

Boot from SD is the preferred method of installing KDE.


DEB to make your system boot from SD
http://www.internettablettalk.com/fo...ad.php?t=19639

DEB to install KDE, if you are booted from SD
http://www.internettablettalk.com/fo...ad.php?t=19675






____________________

[SIZE="4"]This install is only for people who are not booting thier OS from SD/MMC, for those running from SD/MMC see above [SIZE]


This took quite a bit a playing around on my end, but it appears to be working well. There are two changes that installing and removing this software leave behind.

NOTE: This is the same software in the tarball, so no need to run out and upgrade. Newer KDESUP should be coming soon.



Testing this has only been done on my device (n800) running 2008OS-50-2. Lets start be first saying that the reason I made this is because of the overwhelming requests for KDE in a DEB.

KDE can not be made into a deb easily, so this install is itself a hack. The main goal for this is to provide a way to install and run KDE without having to know anything about sd/mmc cards and partitioning. The second goal for this is to provide a way to remove or uninstall KDE.

This took quite a bit a playing around on my end, but it appears to be working well.

NOTICE
There are two changes that installing and removing this software leave behind.

It will add ALL=ALL NOPASSWD for user in /etc/sudoers and it will remove /usr/sbin/docpurge.

1) I did not want to try to remove the ALL=ALL and end up possibly leaving a device not working because of a messed up sudoers file. If you want to, you can remove this line manually.
remove this line --> "user ALL = (ALL) NOPASSWD: ALL" (its echoed in to /etc/sudoers during install)


2) docpurge is a useless script someone at maemo wrote to remove documentation from /usr/share/doc and other locations. CUPS (cups printing package) html website resides in /usr/share/doc so not removing this renders CUPS inoperable. /usr/sbin/docpurge is moved to /usr/sbin/docpurge-orig during install of kde-mmcX


NOTICE,
First of all, lets be clear. KDE on n800 or n810 is a hack, and for now it should be treated as such. This may cause you to end up reflashing and lose data (Just to cover my butt) (poop happens)


INSTALL INSTRUCTIONS

PREREQUISITE 2GB or bigger MMC/SD card formatted FAT (formatted in windows)

In order to install you need 2GB free space

Copy the install files to your 2GB mmc/sd card


MMC1
http://www.tablethacker.com/software/local-mmc1.deb
http://www.tablethacker.com/software/kde-3.5.8-mmc1.deb
http://www.tablethacker.com/software/kdesup-3.5.8.deb
http://www.tablethacker.com/software/KDE358.tar.bz2

Click here to Donate

MMC2
http://www.tablethacker.com/software/local-mmc2.deb
http://www.tablethacker.com/software/kde-3.5.8-mmc2.deb
http://www.tablethacker.com/software/kdesup-3.5.8.deb
http://www.tablethacker.com/software/KDE358.tar.bz2

EDIT
______________

My hosting site is #@$%#@$ up, files you guys are downloading are becoming corrupted.

PLEASE VERIFY FILE SIZES, this can me seen with in xterm
ls -l /media/mmc1 (or mmc2)




308317552 KDE358.tar.bz2
308126 kde-3.5.8-mmc1.deb
308122 kde-3.5.8-mmc2.deb
21260684 kdesup-3.5.8.deb
510560 local-mmc1.deb
510548 local-mmc2.deb


______________



Now to install them, using application manager and install them in this order.

local-mmc1.deb (install time about 8 minutes on mine)
kde-3.5.8-mmc1.deb (install time about 20-30 minutes)
kdesup-3.5.8.deb (Install time about < 1 minute)


local-mmc2.deb (install time about 8 minutes on mine)
kde-3.5.8-mmc2.deb (install time about 20-30 minutes)
kdesup-3.5.8.deb (Install time about < 1 minute)


Now start KDE from extra's menu.

You can delete the deb and the tar.bz2 file from your mmc/sd card.
DO NOT DELETE local.img or swap.img
swap.img is swapspace
local.img is /usr/local ext2 filesystem



FAQ

Quote:

Originally Posted by sungrove (Post 125151)
I will prefice what I'm about to say with this: it is only how I see things as a non-Linux usin', non xTerm usin' idiot. But this may represent some of the things that are being taken for granted by those that understand the process better than I do.
I was gung ho to come home tonight and give this install a try. But I'm now afraid I would run into the experience you are having. If you read this whole thread very carefully I think you find that:

1. the downloaded files need to go to a specific place. I have no idea how to put them there.
Just put the files on the card NOT IN A SUB DIRECTORY, apparently I was not specific enough

2. The card might need to be formated in 'windows' I'm not sure exactly what that means.
It should be FAT or FAT32, this is a window/dos filesystem, which is by default on SD cards when you buy them, so unless you installed linux, your fine


3. There might be confussion about whether mmc1 in the n800 means the internal card or the external card although I am assuming it means the internal card.
On my n800 mmc1 is external and mmc2 in internal


4. I'm not sure if the download files are zipped or not. I did try to start the install process earlier today but the first nstall file would not install. The detail said it was over 1500 GB in size. I know that doesn't make sense, but that's what it said.
It will create a 1.3GB file on you SD/mmc card called local.img which it mounts as /usr/local and a 128MB file called swap.img, which is your swap file. Does it really say 1500GB , my local says 1.2gb


5 You need to be certain that the downloaded files are the correct size. But I don't know how to use xTerm to verify this.
But I suppose if I used Buns method of downloading to my XP computer and then transfering could work, but as i said, I wouldn't know where or how to put the files in the right place.
Again you put the files on the card, not in any directory. So for example:
If you put the SD/mmc card in Windows, it will show up as a new drive letter. Say E: So, if I have a SD card it may have a directory "pictures" that in windows in represented as E:\PICTURES

So do not create a directory called E:\KDE and put the files in there.
Place the files in E:\ so E:\kdesup-3.5.8.deb.

FILE SIZES IN WINDOWS
[ ] KDE358.tar.bz2 -- 294M
[ ] kde-3.5.8-mmc1.deb -- 301k
[ ] kde-3.5.8-mmc2.deb -- 301k
[ ] kdesup-3.5.8.deb -- 20.3M
[ ] local-mmc1.deb -- 499k
[ ] local-mmc2.deb -- 499k

ALSO NOTE, be SURE KDE358.tar.bz2 does not get renamed as some has stated in Vista I think.



6. Penguinbait mentions that after uninstalling this it leaves some things on the IT which may not be a big deal but i wouldn't know how to change that latter if needed.

docpurge (a three line script to delete files) is not needed, from my point of view, it deletes documentation that people put in thier debs. So if I package a doc and place it in those dirs it will delete everything in that dir. If you dont want the docs, dont install the debs. Developers (or hackers) wouldnt put stuff there if you didnt need it. So a choice is made to print, or delete documentation. I actually intended to restore it but it was causing problems on reinstalls so I just axed it, because I can do that :) , packaging debs can be actually quite a tricky process.
If that is a problem, maybe KDE is just not for you :(

The other thing I chose not to remove is the sudoers file, while its very easy to add a line to a file, I am more concerned about re-writing the entire file to remove it. If something were to go wrong on the re-write process of the sudoers file your tablet would be hosed, and you would have to reflash. That was not something I was willing to risk scripting. So the line added to sudoers file allows user to run any command as root with no password, basically is another option so becomeroot.deb is not even needed. from xterm run "sudo su -" and you will become root user. Anyway I know I am losing you again, ok I am trying here ;)
So if you decide to remove KDE, if you PM me and tell me how to contact you on IM or IRC and I will walk you through how to remove your root access personally ;).


Neil


As I stated in my original post THIS IS A HACK. I am offering you an experience I can't promise perfection, but I will try to help you if you have any probelms as well as others. The worst case scenario is you you have to reflash your tablet, the best case, your printing webpages and emails in about an hour.

---> CLICK HERE TO DONATE <---

skibur 2008-01-08 22:43

Re: KDE/Koffice Install made easy for everyone
 
Nice work!

Has the font issue been solved? When I installed KDE, the fonts on MicroB were changed, possibly broken.

Aisu 2008-01-08 23:16

Re: KDE/Koffice Install made easy for everyone
 
Great stuff PB! ;)

penguinbait 2008-01-08 23:58

Re: KDE/Koffice Install made easy for everyone
 
Quote:

Originally Posted by skibur (Post 123622)
Nice work!

Has the font issue been solved? When I installed KDE, the fonts on MicroB were changed, possibly broken.


As I said, this is the SAME as the tarball, so no changes have been made to SUP.tgz, kdesup-3.5.8.deb is the same.

There is a problem, where the fonts change in microb after installing KDE. This does not stop microb from working, but the fonts are a tad bit smaller. I will be working on resolving that, but this was just a way to allow people to install the already available KDE version.

pipeline 2008-01-09 00:04

Re: KDE/Koffice Install made easy for everyone
 
You rock...

amigokin 2008-01-09 00:15

Re: KDE/Koffice Install made easy for everyone
 
If I want to unistall it and fix the problem with MicroB, what should I do?

Thanks in advance!

Mara 2008-01-09 00:28

Re: KDE/Koffice Install made easy for everyone
 
I run into problems on installing this...

The first install file did go fine. When I started the second one Application manager said after about a minute that was unable to install. Application manager now refuses to uninstall it too! (It says in log: dpkg: error processing kde-mmc2 (--remove): Package is in very bad inconsistent state - you should reinstall it before attempting a removal.

Of course... reinstall does not work...

Originally I copied all files into the memory card in "softs" subfolder. Should all files have been in the root directory?

Well... I was about to do fresh flash on this N800 anyway... :rolleyes:

EDIT: It looks like there is some conflicts with Kagu? :confused:

penguinbait 2008-01-09 00:34

Re: KDE/Koffice Install made easy for everyone
 
Quote:

Originally Posted by Mara (Post 123689)
I run into problems on installing this...

The first install file did go fine. When I started the second one Application manager said after about a minute that was unable to install. Application manager now refuses to uninstall it too! (It says in log: dpkg: error processing kde-mmc2 (--remove): Package is in very bad inconsistent state - you should reinstall it before attempting a removal.

Of course... reinstall does not work...

Originally I copied all files into the memory card in "softs" subfolder. Should all files have been in the root directory?

Well... I was about to do fresh flash on this N800 anyway... :rolleyes:

EDIT: It looks like there is some conflicts with Kagu? :confused:


The files have to be in /media/mmcX

You dont need to do fresh flash. kde-3.5.8 only install tar and bzip2, it should update if you place the tarball in the correct location, please try again, let me know?

penguinbait 2008-01-09 00:34

Re: KDE/Koffice Install made easy for everyone
 
Quote:

Originally Posted by amigokin (Post 123683)
If I want to unistall it and fix the problem with MicroB, what should I do?

Thanks in advance!


Testing now, I didn't think about that. I will let you know

Mara 2008-01-09 00:41

Re: KDE/Koffice Install made easy for everyone
 
Quote:

Originally Posted by penguinbait (Post 123693)
The files have to be in /media/mmcX

You dont need to do fresh flash. kde-3.5.8 only install tar and bzip2, it should update if you place the tarball in the correct location, please try again, let me know?

Nope... will not do. I even rebooted the device before trying again.

EDIT: I already reflashed the N800 and continue installing from step 2... so far (after about 10 minutes) so good.

(Isn't it nice to have two N800's, so keep one in "working" order and use the other for all kind of experiments... :D)

penguinbait 2008-01-09 00:45

Re: KDE/Koffice Install made easy for everyone
 
I thought there was a problem with the fonts in microb? with size, I am starting to think there is no problem with microb. Can someone explain if they have had this problem what it is?

:confused:

amigokin 2008-01-09 01:31

Re: KDE/Koffice Install made easy for everyone
 
Quote:

Originally Posted by penguinbait (Post 123699)
I thought there was a problem with the fonts in microb? with size, I am starting to think there is no problem with microb. Can someone explain if they have had this problem what it is?

I don't know if there's a problem with it. I want to try it, but I also want to make sure that everything will work ok if I need to uninstall KDE.

Mara 2008-01-09 01:34

Re: KDE/Koffice Install made easy for everyone
 
Hmmm... now on second try I run out of device memory? :confused:

I removed all junk (user manuals, etc.) from there and trying again...

penguinbait 2008-01-09 01:42

Re: KDE/Koffice Install made easy for everyone
 
Quote:

Originally Posted by amigokin (Post 123724)
I don't know if there's a problem with it. I want to try it, but I also want to make sure that everything will work ok if I need to uninstall KDE.


Be patient, I will let you know, I am trying to determine the actual problem.

penguinbait 2008-01-09 01:45

Re: KDE/Koffice Install made easy for everyone
 
Quote:

Originally Posted by Mara (Post 123729)
Hmmm... now on second try I run out of device memory? :confused:

I removed all junk (user manuals, etc.) from there and trying again...


Its probably taking about 20MB in flash also.

penguinbait 2008-01-09 01:50

Re: KDE/Koffice Install made easy for everyone
 
Quote:

Originally Posted by Mara (Post 123729)
Hmmm... now on second try I run out of device memory? :confused:

I removed all junk (user manuals, etc.) from there and trying again...

OK, I just reread this and its not making any sense? How could it run out of space on a fresh flash?

Fresh flash + 2GB freespace on either /media/mmc1 or /media/mmc2

right? are you on mmc2 running mmc1 or on mmc1 running mmc2? Yuo ran the local-mmc1 or 2 first right?

Mara 2008-01-09 02:08

Re: KDE/Koffice Install made easy for everyone
 
Quote:

Originally Posted by penguinbait (Post 123743)
OK, I just reread this and its not making any sense? How could it run out of space on a fresh flash?

Fresh flash + 2GB freespace on either /media/mmc1 or /media/mmc2

right? are you on mmc2 running mmc1 or on mmc1 running mmc2? Yuo ran the local-mmc1 or 2 first right?

That's right... The internal flash space run out. I'm installing this into internal card (MMC2). (I did download the correct files for MMC2 installation.)

I wiped the memory card empty and tried to start from step one. This time the step one kept going... going... and after 20 minutes I gave up. It looks like it kept building some backup.tgz file to the memory card?

So, I reflashed again and now there is over 120MB free flash on device. I started from step 1 again. Let's see how it behaves now.

UPDATE: Installing local-mmc2 completed now fine. Installing now kde...mmc something. At this time Control Panel Memory applet show about 100MB free space in internal flash.

Mara 2008-01-09 02:15

Re: KDE/Koffice Install made easy for everyone
 
Quote:

Originally Posted by penguinbait (Post 123743)
OK, I just reread this and its not making any sense? How could it run out of space on a fresh flash?

Fresh flash + 2GB freespace on either /media/mmc1 or /media/mmc2

right? are you on mmc2 running mmc1 or on mmc1 running mmc2? Yuo ran the local-mmc1 or 2 first right?

One thought... Do I need to have Becomeroot installed before trying this?

EDIT: I did install Becomeroot before the third attempt... and it seem to be behaving fine now. Internal free flash memory stays at 100MB level.

penguinbait 2008-01-09 02:24

Re: KDE/Koffice Install made easy for everyone
 
Quote:

Originally Posted by Mara (Post 123754)
One thought... Do I need to have Becomeroot installed before trying this?

EDIT: I did install Becomeroot before the third attempt... and it seem to be behaving fine now. Internal free flash memory stays at 100MB level.


NOPE, I dont

Mara 2008-01-09 02:36

Re: KDE/Koffice Install made easy for everyone
 
IT IS WORKING NOW!!! :D:D:D:D:D:D

Cool! :cool:

Thanks Penguinbait!

penguinbait 2008-01-09 02:53

Re: KDE/Koffice Install made easy for everyone
 
GREAT!!

Can you please on your two n800 verify if there is any problem with fonts in microb after installing KDE.

I can not see any difference, but some people are saying there is a problem. I can not confirm. Can you open some pages in microb on the n800 with KDE installed and on n800 without KDE installed and see if you are seeing a font difference. It may be there but without looking at them at the same time I can't see any difference.

mooler 2008-01-09 03:31

Re: KDE/Koffice Install made easy for everyone
 
Is it possible after installing KDE using this method to make the N800 boot to KDE by default or to install a bootloader?

bunanson 2008-01-09 04:00

Re: KDE/Koffice Install made easy for everyone
 
can I install KDE from MMC boot? or it has to be boot from int flash?

what is the exact file length for the MMC1 tarball? I have some problem in dl it....and this is the 4th time, 300865 kB sounds right?
Kdesup-3.5.8.deb is 20762 kB, sounds right?

TIA,

bun

Edit: MMC boot .9G int flash 4G mmc1 space, running MMC1 install, on 1st step, local-mmc1 failed "Unable to install local-mmc1". What did I do wrong?


bun

penguinbait 2008-01-09 04:48

Re: KDE/Koffice Install made easy for everyone
 
If you want to boot from SD/MMC please see www.tablethacker.com for instructions.


bun, sizes sound right

bunanson 2008-01-09 05:47

Re: KDE/Koffice Install made easy for everyone
 
I have problem in dl the files. I tried the tablet and now using the PC, the tarball file sometimes dl as .2 Mb, sometimes as .3 Mb, and sometimes as 297 MB........I think I will try some other time.
I cannot trust those files and I think that is the reason for the failed installation.

bun

Edit: apparantly after the 1st dl, whether succesful or not, the 2nd onward dl can only get a .2mb file. What is going on?


bun

mooler 2008-01-09 06:13

Re: KDE/Koffice Install made easy for everyone
 
i can confirm there is a font problem. This install has changed my fonts to what looks like sort of a Terminal font. Some of the letters are broken, they dont display correctly.I cant explain it. All I know is that the fonts have changed. It could be as easy as a about:config setting. I'm looking into it

skibur 2008-01-09 06:22

Re: KDE/Koffice Install made easy for everyone
 
My Microb fonts look like the fonts on KDE when using Konqueror as ROOT on the N800. The fonts look like thin lines. :(

mooler 2008-01-09 06:33

Re: KDE/Koffice Install made easy for everyone
 
EXACTLY. Now what font does Konqueror use?

skibur 2008-01-09 06:49

Re: KDE/Koffice Install made easy for everyone
 
I have tried everything to restore the default fonts. I changed the fonts on KDE to "Nokia Sans" hoping that it will set them on MicroB, but I got a no go. :( I tried to use default *.ttf files on the Tablet, but the settings don't stay. (Note: You can use "about:config" on MicroB to play around with fonts and other settings.) I might need to start from scratch to identify the problem. I will go as far as untaring KDE, but not SUP, but I'm not sure if SUP is the problem. I still don't know what is causing it. If SUP is not the problem, then KDE is overwriting some "links between files." I will see what I can do. :P

Linux Rulez!!!

murphy 2008-01-09 09:06

Re: KDE/Koffice Install made easy for everyone
 
Is there an input method for keyboard or do we still need a bluetooth one to enter text in KDE (n800) ?
Maybe an app on symbian that emulate a bluetooth keyboard using the phone one could be usefull ... does it exist ?

free 2008-01-09 09:13

Re: KDE/Koffice Install made easy for everyone
 
Great!! Thanks for these debs! :)

jukey 2008-01-09 12:53

Re: KDE/Koffice Install made easy for everyone
 
Quote:

Originally Posted by penguinbait (Post 123620)
[...]
Now to install them, using application manager and install them in this order.

local-mmc1.deb (install time about 8 minutes on mine)
kde-3.5.8-mmc1.deb (install time about 20-30 minutes)
kdesup-3.5.8.deb (Install time about < 1 minute)
[...]
Now start KDE from extra's menu.

Hi, I've did the installation in the descripted way. The swap.img and local.img are located in the media/mmc1/ directory an in the extra's menu i see the kde start icon. After pressing this butten the screen become black for 1 minute and after this time the tablet switches back to the normal OS2008 desktop.

Doy you have any idea what I have to do, for launching the kde? How can I start th kde from the termial?

Thanks a lot, jukey

UPDATE: Problem is solved! There was not enough internal memory on the tablet. After deleting some stuff i had not longer any problem! :-)

amigokin 2008-01-09 13:05

Re: KDE/Koffice Install made easy for everyone
 
Quote:

Originally Posted by murphy (Post 123918)
Is there an input method for keyboard or do we still need a bluetooth one to enter text in KDE (n800) ?
Maybe an app on symbian that emulate a bluetooth keyboard using the phone one could be usefull ... does it exist ?

It includes a virtual keyboard.

vvaz 2008-01-09 13:43

Re: KDE/Koffice Install made easy for everyone
 
Any chances for OS2007 version? I still don't trust OS2008 :)

m.

Mara 2008-01-09 13:45

Re: KDE/Koffice Install made easy for everyone
 
Quote:

Originally Posted by penguinbait (Post 123771)
GREAT!!

Can you please on your two n800 verify if there is any problem with fonts in microb after installing KDE.

I can not see any difference, but some people are saying there is a problem. I can not confirm. Can you open some pages in microb on the n800 with KDE installed and on n800 without KDE installed and see if you are seeing a font difference. It may be there but without looking at them at the same time I can't see any difference.

I'll take a look later today... But yesterday I tried just the Konqueror on a website familiar to me and the fonts looked rather big and thin... Did not try Opera on Maemo.

penguinbait 2008-01-09 14:28

Re: KDE/Koffice Install made easy for everyone
 
Quote:

Originally Posted by vvaz (Post 124003)
Any chances for OS2007 version? I still don't trust OS2008 :)

m.


Don't chase the bus, hop on. 2008 is where its at :D

Reggie 2008-01-09 15:10

Re: KDE/Koffice Install made easy for everyone
 
Anyone who would like to do a video of the install and a KDE walkthrough? I could upload it to Tablet 101.

Great job penguinbait!

salida 2008-01-09 16:01

Re: KDE/Koffice Install made easy for everyone
 
great work..

Westy 2008-01-09 16:28

Re: KDE/Koffice Install made easy for everyone
 
The weird bit that drove me nuts was that I downloaded the 4 file susing a vista machine. For some reason it insists on calling the tar.bz2 file a tar.tar file. I did not notice this and that then makes running kde-3.5.8-mmc2.deb impossible. So anyone else out there downloading the files with an MS OS rename it when its down. Note odly too vista hangs the file transfer from the cache for this file?!

I am just installing now I got this sorted and will try on my 810 when the mem card arrives in the post.

Thanks

jukey 2008-01-09 17:23

Re: KDE/Koffice Install made easy for everyone
 
Quote:

Originally Posted by Westy (Post 124114)
So anyone else out there downloading the files with an MS OS rename it when its down.

I did the download with Firefox on Windows XP. After this I copied the files to my N800 and installed the files. Works fine for me.


All times are GMT. The time now is 16:56.

vBulletin® Version 3.8.8