maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition! (https://talk.maemo.org/showthread.php?t=24272)

qole 2008-10-24 21:28

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Here are a bunch of answers in one post:

Quote:

Originally Posted by Laughing Man (Post 236436)
Now I'm downloading or rather installing? the image again and it says it's checked for it, sees it, but it's downloadniing EASY Debian Image file anyway?

And it's been stuck on there, no buttons work, no touch screen interaction (besides turning on the screen when it darkens)...

It might be untarring / unzipping the file. This takes about 15 minutes, and it really hogs the CPU, so it will seem a bit like your tablet has frozen.

Quote:

Originally Posted by tda8190 (Post 236280)
is possible explore shared files xvid on windows pc and open with vlc on easy debian?(i prefear open with maemo but i don't find a player that can open all video files like vlc)..i have install samba but don't find files on my home net...

Yes and no.

Yes, there are a few good SAMBA explorers in Debian. The best is Nautilus, from Gnome, but it is huge. Can anyone suggest something else?

No, you don't want to use VLC on the tablet. Use maemo mplayer instead. It plays everything that VLC can play, and it is the fastest video player on the tablet.

Quote:

Originally Posted by thorbo (Post 236368)
I am having the issue where I only get the one-line keyboard (when in the Hildon environment)

Activate the Debian HW keys, then press the "+" key followed by the "-" key to change to the full keyboard from the one-line keyboard.

Quote:

Originally Posted by thorbo (Post 236368)
when I run the xvkbd (in the debian image) the keys all seem to "stick", characters keep repeating and I can't really ever type anything.

Someone discovered that you have to go to the xvkbd menu (bottom left of keyboard), choose "Property", and set "Automatic Click" to "OFF".

Quote:

Originally Posted by samir83CMOS (Post 236437)
hi there
I hope that you can help me with this, I tried to download the debian on my nokia n800 but when i click the green icon cilck to install it...a messege appear (unable to download easy-deb-chroot Application package not found)

Make sure you are running Diablo, the newest version of OS2008.

Quote:

Originally Posted by mackaroni (Post 236265)
My problem:
cleaned the image to get 480mb for install Elisa Media Center
install without problems
but LXDE doesnt start (pointer is seen for short time...)

You might have accidentally uninstalled something important for LXDE, and broken it. 480MB is a lot of space to clear out; that's about half of the files! I'm sure there was something important in there that was removed.

You might try "apt-get install --reinstall lxde" to see if you can put back the missing pieces.

Quote:

Originally Posted by samhogue (Post 236356)
I like LXDE so much I'm running it fulltime. Got lxlauncher to autostart with LXDE, now I want to set up LXDE to autostar when I turn on the tablet. I've searched the forums, but can't find clear info on autostarting apps in Hildon. I don't want to brick it with the wrong shell script, which I'm not real good with anyhow.

I'm trying to figure out how to get LXDE to replace Hildon entirely. The main problem is that I want to have a system tray with all of the Hildon icons in it (network, battery, presence, etc), and I'd like to be able to run Hildon apps in it. I can run the apps already, but I can't seem to load the Hildon apps into the system tray... still working on it...

samhogue 2008-10-24 22:02

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
That sounds great qole! I don't even care about Hildon apps - I've pretty much uninstalled them all and replaced them with Debian equivalents, but the connections and battery stuff would be good. What about something like lxsensors and one of the lightweight connection managers from the linux world, instead of worrying about the Hildon panel at all?

qole 2008-10-24 22:16

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by samhogue (Post 236452)
That sounds great qole! I don't even care about Hildon apps - I've pretty much uninstalled them all and replaced them with Debian equivalents, but the connections and battery stuff would be good. What about something like lxsensors and one of the lightweight connection managers from the linux world, instead of worrying about the Hildon panel at all?

I really like the infrastructure Nokia has put "under the hood" of maemo / hildon. I like the Connection Manager, I like the Bluetooth, I like the battery applet, the Status indicator, etc. I want to be able to shut down Hildon-Desktop, start up LXDE (or some other Debian desktop environment, like fvwm, kde, gnome, etc) then run something outside of the chroot which will start up all of the Hildon status panel applets (found in /usr/share/applications/hildon-status-bar) and put them into whatever standard system tray is active. I've seen it go the other way, where Debian apps put their icons in the Hildon status bar, so it seems like it should be possible...

So far, it looks like I'm going to be forced to start Hildon Desktop, but I just know that there's a better way...

samhogue 2008-10-24 22:24

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Ok, I meant wmbattery. I was thinking lm-sensors, but that's not battery. Good news is that wmbattery works. It's docking in the top left corner and covering the menu icon on the panel, but I think that's configurable. If not, I can just move the panel. Now for network stuff.

Aisu 2008-10-24 23:35

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Qole, quick question: is there any way to chose what size the img.ext2 for Debian is?

I had tried to resize it with resize2fs. The image actually enlarged to 1.7 GB. but Debian wouldn't recognize it and I ended up reinstalling it from scratch (which didn't take much time at all.) So, aside from setting the size initially, can I safely change it now?

Thanks a lot for any help and for this great system you've got going, I love it :D

samhogue 2008-10-25 00:16

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
I agree, qole, that Maemo's status and network stuff is great. I'm just wondering if we can't access them with standard linux tools. For instance, wmbattery does seem to handle the battery status fine. The network status applet in the LXDE panel works fine, but isn't a connection manager. Surely we can find some kind of connection manager that will access all the connections. Maemo seems to treat bluetooth connections as standard network connections(once they've been setup), so maybe they'd be seen that way by another connection manager?

pton 2008-10-25 04:52

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by Aisu (Post 236464)
Qole, quick question: is there any way to chose what size the img.ext2 for Debian is?

I had tried to resize it with resize2fs. The image actually enlarged to 1.7 GB. but Debian wouldn't recognize it and I ended up reinstalling it from scratch (which didn't take much time at all.) So, aside from setting the size initially, can I safely change it now?

A solution was posted in http://www.internettablettalk.com/fo...d.php?p=202506

Extract: what you need:

- a computer with linux

- resize2fs on it

...
- optional: SD card reader + adapter to (micro/mini)sd depend of which of the 3 you use.



steps:

1. Either connect your IT to your pc or get the card out (caution: do not take it out if in use, safest way to make sure: power off your IT) and put it in the card reader.

2. go in the terminal or if in X launch a terminal emulator

3. type cd /<your path to your (micro/mini)sd/

4. e2fsck -f <your debian image file name>

-> it check if everything is allright with the filesystem

5. resize2fs <your debian image file name> 1950M

(As psykosis said you can change the size but if your (micro/mini)sd card is formatted in fat, like mine, the file better not be bigger than 2gb)

pton 2008-10-25 05:43

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Hi Qole, Lxde default points to xterm for terminal emulation. But xterm is not installed by default (in the image). I thought if you could either change the default to roxterm, or install xterm by default, it would make newbies' life easier ;)

qole 2008-10-25 06:01

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Getting A Big Debian Image File:

It would probably be just as easy to start from scratch; if you don't want to partition your SD card (still the best way to get lots of space), you can make your own (empty) image file as described way back here:
(you may need to be root to do this, you will definitely have to apt-get install e2fsprogs)

Code:

dd if=/dev/zero of=debian.img.ext2 count=3984589
mkfs.ext2 debian.img.ext2 -m 1 -L debian

What's that 3984589? That should give us 1.9 gigabytes. Seems that you calculate size like this: <bytes> / 512 = <dd-count>

Then, you have to mount the new image file and untar the Easy Debian files into it, as described in this post:

As root, mount it like so (so you get the turbo speed):
Code:

insmod /lib/modules/2.6.21-omap1/dm-mod.ko
insmod /lib/modules/2.6.21-omap1/dm-loop.ko
dmlosetup loop0 /media/mmc1/debian.img.ext2
mount -t ext2 /dev/dm-0 /debian -o noatime

You can then (still as root) untar the complete Easy Debian filesystem or the basic Debian rootfs into the /debian directory.

Code:

cd /debian
tar -xjvf /path/to/debian-final.tar.bz2 .

Make sure you run closechroot before using "sudo debian," "debbie," or the "Debian chroot" menu icon. Otherwise you might end up with an incomplete chroot.

qole 2008-10-25 06:11

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by pton (Post 236524)
Hi Qole, Lxde default points to xterm for terminal emulation. But xterm is not installed by default (in the image). I thought if you could either change the default to roxterm, or install xterm by default, it would make newbies' life easier ;)

Even better, there's a really fast new xterminal for LXDE called... lxterminal of course! I highly recommend it. It starts lightning quick.

But I never use the terminal inside LXDE. I like osso-xterm. I don't see the point of starting a second environment just to run a terminal inside the environment... Open osso-xterm, enter "sudo debian" (for root access) or "debbie" (for user access) to get into the chroot, then enter
Code:

DISPLAY=:1
and everything you run from then on will display in LXDE instead of Hildon. Cool, huh?

meizirkki 2008-10-25 07:19

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by samir83CMOS (Post 236437)
hi there
I hope that you can help me with this, I tried to download the debian on my nokia n800 but when i click the green icon cilck to install it came with a file about 13 kb and when its complet download it a messege appear
(unable to download easy-deb-chroot Application package not found)
what shoud I do?????????????

with my best regard
Samir

That 13kb file contains repository and package information for application manager. When you click that button make sure you select "open". Then it should open in application manager.

Sorry for my bad english... :)

tda8190 2008-10-25 08:13

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
qole: i try with mplayer but one xvid that i can open with vlc can't with mplayer...maybe try with another xvid...i must order Hava and connect with divx home player :)

meizirkki 2008-10-25 08:26

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
what about vlc for maemo?

qole 2008-10-25 16:39

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
If you can't open an xvid in maemo mplayer, it is probably too "big" (too high resolution or too high bitrate) for the tablet. The ideal xvid for the tablet is 400x240, 800 kbps. Use Tablet Encode or some other encoding program (like VirtualDub in Windows) to re-encode your video.

There is a maemo vlc, but it isn't as good as maemo mplayer.

samir83CMOS 2008-10-26 11:22

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
hi again
I still can't do it, to install the debian on my nokia n800 with os2008 v.2 2007.51.3 the same messege appear (unable to download easy-deb-chroot Application package not found) and i tried to upgrade the os2008 to the latest os2008 but I couldnt do it with the Nokia Internet Tablet Software Update Wizard coz its telling me that i have allready the latest OS2008 v.2 2007.51.3
I hope that you can help with

Linköping, sweden.

mackaroni 2008-10-26 17:09

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Tried to add some debs to the sources.list-file but leafpad says:
can´t open the file to write

well, it opened it, so why doesn´t be able to write...?!

any suggestions?

thanks
mackaroni

Aisu 2008-10-26 17:27

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by mackaroni (Post 236754)
Tried to add some debs to the sources.list-file but leafpad says:
can´t open the file to write

well, it opened it, so why doesn´t be able to write...?!

any suggestions?

thanks
mackaroni

You should try to edit it as root. (There's a root terminal in Accessories, I believe.)

mackaroni 2008-10-26 17:51

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
absolute newbie...
don´t know about coding! Have to dive into linux codes first...

mackaroni

meizirkki 2008-10-26 18:13

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
you have to become root (super user).

Go to terminal and type "sudo su" then you get the root shell. not you can start leafpad by typing "leafpad".

mackaroni 2008-10-26 18:27

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Thanks @Aisu, @meizzirki!
Managed it with nano in Debian chroot now!

mackaroni

Entonian 2008-10-27 03:29

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Expand Debian EXT2 Image File Using Resize

Requires having space for both original and expanded
Assumes image file is /media/mmc2/debian.img.ext2

Reboot

In OS2008 X Terminal:
cp /media/mmc2/debian.img.ext2 /media/mmc2/expand-debian.img.ext2

In Debian chroot:
e2fsck -fp /media/mmc2/expand-debian.img.ext2
resize2fs /media/mmc2/expand-debian.img.ext2 1995M
e2fsck -fp /media/mmc2/expand-debian.img.ext2
exit

Reboot

In OS2008 X Terminal:
mv /media/mmc2/debian.img.ext2 /media/mmc2/old-debian.img.ext2
mv /media/mmc2/expand-debian.img.ext2 /media/mmc2/debian.img.ext2

Test Debian LXDE

Eventually, delete /media/mmc2/old-debian.img.ext2

macit 2008-10-27 03:39

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Hi

Really newbie question... I have installed the "Turbo Charged Debian". It looks GREAT (many thanks!!!). I am not sure though that it is all set up correctly on my N810 as it takes about 3 min to open an OpenOffice document... Should it take that long or is something screwed with my installation?

qole 2008-10-27 04:14

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
To get the best speed in OpenOffice, make sure you have virtual memory set to 128 MB (in Settings / Control Panel / Memory).

macit 2008-10-27 07:15

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Wow! What a HUGE performance boost. It is now really usable. I am pretty impressed with this little device :).

Thanks for the tip!

fatalsaint 2008-10-27 14:07

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
When doing the resize2fs.. I prefer to just copy the debian resize2fs to the maemo /usr/bin.

That eliminates the need for a PC with Linux, or Chrooting into Debian and resizing a second image file. This way you can just resize the original.

Highly recommend backing up the original of course - in case things go bad.. but if you are tight on space.. there's no reason you can't use the debian resize2fs from within maemo if you copy it over.

thorbo 2008-10-27 14:11

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
I have noticed that if I run the synaptic package manager and do a package refresh, there are a number of system updates. If I navigate through the menus and try to update those packages to the new ones, I get an error indicating lack of space. Is this the expected result (i.e. will this happen for everyone), or is my system somehow messed up, and I need to partition more space, etc... any help would be appreciated. Other than that little hitch, I love this package. It is taking me back to the mid nineties when I played with Linux... Thanks qole!

qole 2008-10-27 16:35

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
If you want to update your system, you can try the trick I mentioned above. First, from inside Debian chroot, issue an "apt-get clean" command. Then, from a root maemo prompt (or add "sudo" in front of the mount command):
Code:

mkdir -p /media/mmc1/debian-apt-archives/partial
mount -o bind /media/mmc1/debian-apt-archives /debian/var/cache/apt/archives

Note the /media/mmc1/debian-apt-archives path can be anything you want, as long as there is enough space there (50-100 MB).

Then, from inside the Debian chroot, you can issue an "apt-get upgrade" and all should be well.

migs 2008-10-27 22:09

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Is it my N800 or does anyone esle notice that Iceweasel seems to crash often?
I made sure and have it set on peformance mode, but I still get frequent browser crashes especially when viewing Internet tablet talk homepage...

samhogue 2008-10-28 17:28

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Ditch Iceweasel! There are several lighter browsers that wil do great. I've been real pleased with epiphany-gecko.

ArchiMark 2008-10-28 21:34

USB Ethernet - How to Setup?
 
Just installed Easy Debian Turbo-Charged Edition...THANKS qole!!!

Meanwhile, I just got today the necessary USB adaptors to be able to use a USB ethernet device on my N810.

Was hoping that I could use this in Debian....just did 'ifconfig -a' and only 'lo' and 'wlan0' were listed. So, I assume that I'll need to setup 'eth0' myself....

Can anyone please advise as to how to get this setup and working?

Thanks!

qole 2008-10-28 22:37

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
For best results, make sure you plug in any USB devices before starting the chroot. Networking changes may also need a sync.

You might need to "sudo closechroot," then plug in the device, preferably, get the device working as eth0 in maemo, "touch /home/user/.synchroot", then start up the chroot ("sudo debian").

ArchiMark 2008-10-29 02:45

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by qole (Post 237444)
For best results, make sure you plug in any USB devices before starting the chroot. Networking changes may also need a sync.

Thanks for your help, qole....but what type of sync are you referring to?
:confused:


Quote:

You might need to "sudo closechroot," then plug in the device, preferably, get the device working as eth0 in maemo, "touch /home/user/.synchroot", then start up the chroot ("sudo debian").
OK, tried to get several USB ethernet adapters I have working in maemo, but no go....have set things up per Wiki info, but I just get error messages 'Device Not Found' when I do '/usr/sbin/usbEthUp.sh'in terminal...

So, I assume that my problem might be just related to specific devices I am trying to use....have tried the following:

A) Belkin F5D5050 (USB 1.0)

B) CablesUnlimited USB-2810 (USB2.0)

C) Linksys USB200M ver.2.1 (USB2.0)

So, perhaps, I need to try a fourth device.....
:rolleyes:

qole 2008-10-29 03:52

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
yeah, you need the right kernel module in maemo before you can start using the device.

andrewfblack 2008-10-29 04:08

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Going to install this when i get home, I'm working 72 hours a week right now so I havn't been around the itT in awhile good to see this is going well. BTW you used 500GB of bandwidth this month. :)

qole 2008-10-29 04:53

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Only 500 GB? Oh well, maybe I'll do better next month! ;) :D

Hey everyone, Andrew is the guy hosting the big Easy Debian file. Hit your Thanks button on his post to give him some props!

andrewfblack 2008-10-29 13:18

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Yeah I would love to see you use about 5TB in a month that would be awesome :)

qole 2008-10-29 16:26

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Be careful what you wish for ;)

ArchiMark 2008-10-30 03:55

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Did localepurge and freed up some space...

However, now when I tried to do 'apt-get upgrade, I ended with message that upgrade needed 230MB of space and that I didn't have enough room.

Anyone else run into this problem?

Thanks!

qole 2008-10-30 16:12

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
ArchiMark: please look a few posts up for a solution.

ArchiMark 2008-10-30 17:32

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by qole (Post 237014)
If you want to update your system, you can try the trick I mentioned above. First, from inside Debian chroot, issue an "apt-get clean" command. Then, from a root maemo prompt:
Code:

mkdir /media/mmc1/debian-apt-archives
mount -o bind /media/mmc1/debian-apt-archives /debian/var/cache/apt/archives

Note the /media/mmc1/debian-apt-archives path can be anything you want, as long as there is enough space there (50-100 MB).

Then, from inside the Debian chroot, you can issue an "apt-get upgrade"


qole,

Followed your instructions, but now when I do 'apt-get upgrade from Debian chroot terminal window, I get the following:

Code:

#apt-get upgrade
E: Unable to write to /var/cache/apt
E: The package lists or status file could not be parsed or opened.

Also, when I do:

Code:

#apt-get update
E: Archive directory /var/cache/apt/archives/partial is missing.

Any suggestions????


Thanks!


All times are GMT. The time now is 20:53.

vBulletin® Version 3.8.8