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-12-23 03:22

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
paule8: It seems to me that you have a damaged or corrupt '/media/mmc2/debian-final.img.ext2' file. Use the 'Close Debian' icon, delete the file, and then download it again using the installer.

Smudge: see this thread for your solution.

paule8 2008-12-23 14:58

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Hey Qole.
It was the image file. . . i reinstalled it and it works now .
thankssssss :D

niv 2008-12-24 07:02

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
I am taking a introduction to computer science course, how can I compile and run java applets using this image?

paule8 2008-12-24 12:06

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
:( However. Qole as soon as installed one thing there was an error sign saying 'error' and that i had to manually type something in. . . so i did so . . and look , . . .

chroot set up already!
Everything set up, running chroot...
[root@Debian: /]dpkg --configure -a
Setting up mpd (0.13.2-1) ...
Starting Music Player Daemon: mpdE: shm.c: shm_open() failed: Permission denied

and now the synaptic app manager wont open :(

So im going to need help one more time :):)

Paule 8

bdraws 2009-01-03 00:31

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!: Changing the Theme
 
Qole, thanks for this! It really expands the possibilities of the tablet. I love being able to use Midori for more graphics-intensive websites; they load much faster than in Micro b. And running GIMP on this little machine is a hoot.

This is probably a bit newb-ish for this forum, but I thought I'd share how I tweaked the theme for the apps I added to make them easier to use. Specifically I wanted to increase the size of the scrollbars in Midori to make them easier to grab, bump up the font sizes in general, and add a little eye candy.

1. If Personal Menu is installed, go to "Edit Personal Menu" and make a new command entry:
Code:

debbie lxappearance
Give it a name like "Change theme." If you don't have Personal Menu, just run
Code:

debbie lxappearance
in X-Terminal.
2. Open Personal Menu and launch the entry that you just added to open LXAppearance. There should be several theme options available in the list; more can be downloaded in Synaptic Package Manager under the "Graphics" section. Choose whichever theme/font/font size works for you.
3. Launch the LXDE environment.
4. Launch ROXTerm and type
Code:

sudo leafpad
5. Once Leafpad has launched, open ~/usr/share/themes/Your_Chosen_Theme_Folder/gtk-2.0/gtkrc for editing.
6. To widen scrollbars (both vertical and horizontal, unfortunately), edit the line
Code:

GtkRange    ::slider_width =
The default setting was 15; I bumped it up to 25.
7. Save the file.
8. Logout/close fullscreen LXDE and enjoy your new eye candy.

NOTE: to change the theme for Synaptic, run
Code:

debbie lxappearance
in the Debian chroot.

qole 2009-01-03 02:53

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

Thanks very much for that tutorial!

Unfortunately, your solution did not work for me. However, your tutorial made me do some searching, and I found this post over at the Ubuntu forums that gave me a working solution.

In OS2008, or in LXDE, edit /home/user/.gtkrc-2.0.mine (using leafpad or whatever you want) to have the following:

Code:

style "wide-scrollbars"
{
        GtkRange      ::slider_width      = 25
        GtkRange      ::stepper_size      = 25
}
class "GtkRange"  style "wide-scrollbars"

This changes the scrollbars for all GTK apps in LXDE and in OS2008.

PS: Thanks to another tip elsewhere in these forums, I also have my scrollbars on the left-hand side, because I am a left-hander. This can be accomplished with the following line in the same file:

Code:

gtk-scrolled-window-placement=top-right

bdraws 2009-01-03 03:53

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Hey Qole, I'm glad you got it working. (I should have been more specific and said I used that technique to change the apps' appearance in OS 2008.) Your solution is more elegant.

The Ubuntu forums are a gold mine of info, aren't they? That's what put me on the right track for the gtk edit. If I can find i again, I'll link to the post.

speedmartini 2009-01-15 09:35

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
I too will join in the accolades for qole (et al.) - Thanks! You've helped me to wipe the dust off my N800 and get back to carrying it around instead of my 14 lb notebook!
I've installed the LXDE desktop, and OpenOffice, Midori etc. work great.
I also installed MPlayer from the debian repository, and am having a problem playing xVid .mp4 videos (which are, I believe, native for the N800). I get an error (in the LXDE environment only) that says "xVid is not supported for your video card", and videos will not play. I couldn't find any references to this problem so -any ideas on how to address this? I really want to play my videos in the LXDE environment and not have to switch back and forth. Any direction will be most welcome.

Matan 2009-01-15 10:51

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Are you sure that the problem is not "Xvideo not supported for your video card"?

qole 2009-01-15 17:13

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

Originally Posted by speedmartini (Post 257751)
I really want to play my videos in the LXDE environment and not have to switch back and forth.

Your best bet is to use my "LXDE as Replacement Desktop" package, and use the maemo mplayer.

Matan 2009-01-15 18:24

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Actually, the mplayer binary for maemo works from within debian environment (after apt-get installing the necessary libraries).

-vo omapfb appears not to work, so you need to use -vo xv, which might be a bit less optimized. Also, under maemo it seems to default to -ao sdl, while under debian it defaults to -ao alsa which does not work, so you need to specify -ao sdl.

speedmartini 2009-01-16 01:15

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Thank-you both. Matan, you are correct on the error verbiage and I appreciate the info. I'll try keeping things separate first, but I wasn't aware of the package you mentioned qole so I am intrigued by that option as well - Thanks again!

speedmartini 2009-01-16 10:40

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Went with the "Replacement Desktop" option - Me Likey! I'm looking forward to editing the file menu down, as after I ponder a bit I really only use 3 or 4 Maemo apps frequently (and the MPlayer does indeed work fine). I've gotten so excited I'm reconfiguring my Redmond-based laptop to Kubuntu :)

marcomra 2009-01-22 11:37

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
I've a new user of a N810 tablet after a long experience using a Zaurus PDA. I've tried to install easy-deb-chroot, but I've an error message that the library libssl0.9.8(>=0.9.8.e-1) is missing and it is impossible to install the package. I've tried to include all the pkg sources I've found in internet (e.g http://gronmayer.com/it/) but I can't find the package...
I miss something?!?!?!
I have a N810 OS2008 (version 2.2007.51-3)
Thank you in advance for your help.
Marco

casper27 2009-01-22 11:46

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Have you got Canola package? Im sure that is one of the dependancies.If not try installing that see if it picks it up. Also make sure you have Maemo Extras enabled in the Repositories as sometimes it is disabled by default.

sjgadsby 2009-01-22 11:51

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

Originally Posted by marcomra (Post 259252)
I have a N810 OS2008 (version 2.2007.51-3)

5.2008.43-7 is current. You might try backing up and upgrading.

qole 2009-01-22 17:23

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Just an update for those who are interested. I am breaking apart the easy-deb-chroot package into two packages: first, a package I'm tentatively calling "Easy Chroot," that will contain the turbo loop stuff and a generic chroot script that will mount an image file or partition, mount all the directories needed to make everything work, and then chroot into it. This package will also contain the closechroot script.

The easy-deb-chroot package will consist of the Debian installer and all of the Debian-specific stuff, like the LXDE stuff, program icons, etc.

I'm doing this because I want to be able to release a new package, "Easy Ubuntu," and I don't want to release a duplicate package. This way, both Easy Debian and Easy Ubuntu will depend on the "Easy Chroot" package. This means that packages like pipeline's isomount and maybe even projects like Mer can use the Easy Chroot package because it will be so generic.

gonzo1082 2009-01-22 22:59

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

Originally Posted by qole (Post 259311)
Just an update for those who are interested. I am breaking apart the easy-deb-chroot package into two packages: first, a package I'm tentatively calling "Easy Chroot," that will contain the turbo loop stuff and a generic chroot script that will mount an image file or partition, mount all the directories needed to make everything work, and then chroot into it. This package will also contain the closechroot script.

The easy-deb-chroot package will consist of the Debian installer and all of the Debian-specific stuff, like the LXDE stuff, program icons, etc.

I'm doing this because I want to be able to release a new package, "Easy Ubuntu," and I don't want to release a duplicate package. This way, both Easy Debian and Easy Ubuntu will depend on the "Easy Chroot" package. This means that packages like pipeline's isomount and maybe even projects like Mer can use the Easy Chroot package because it will be so generic.

im looking fwd to easy ubuntu.

pton 2009-01-23 00:23

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

Originally Posted by gonzo1082 (Post 259398)
im looking fwd to easy ubuntu.

Me too! I use ubuntu on desktop, it will be great to have the same on my tablet :rolleyes:

dross 2009-01-23 18:28

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Can someone tell me what the name of the Java runtime executable command is, and where it is located? If I want to run XXX.jar I can doubleclick on it in the file manager and it runs fine, but if I type "java XXX.jar" or "jre XXX.jar" at the command line it throws up an error. I went to the web pages for openjdk but couldn't find the answer.

Also, is there any hope of a java package that runs faster? The java software I want to run is Calgoo Calendar, which is a dog but is the only Linux calendar I know of that you can use offline and does 2-way synchronization with both Google Calendar and 30Boxes. It crashes under Jalimo, and while it loads under Debian it takes around 10 minutes to start up, sometimes doesn't start at all, and is slow as molasses.

Thanks, David

debernardis 2009-01-23 18:46

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
wasn't it "java -jar filename.jar" ?

dross 2009-01-23 23:42

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

Originally Posted by debernardis (Post 259506)
wasn't it "java -jar filename.jar" ?

One would think. However, when I type "java <anything>" I get "command not found".

My hope here is that if I run Calgoo with a call in the Debian chroot instead of on the desktop, it will be a bit more manageable. Most likely this is just wishful thinking. A pity, because the program is a killer app for the device.

qole 2009-01-23 23:56

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

Originally Posted by dross (Post 259581)
One would think. However, when I type "java <anything>" I get "command not found".

My hope here is that if I run Calgoo with a call in the Debian chroot instead of on the desktop, it will be a bit more manageable. Most likely this is just wishful thinking. A pity, because the program is a killer app for the device.

dross: I think your answer is in this post.

Also, The openjdk6 in Ubuntu Jaunty seems to be far superior to the one in Debian Sid, so if/when I can get enough space-time to put together Easy Ubuntu, the Java performance will be one of the big benefits.

dross 2009-01-24 00:42

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
That seems to have done it. I only read through the entire thread 2 or 3 times, obviously not enough! I've now launched the program under chroot; I guess I'll go wash the car and walk the dog while it loads....

Thanks again. David.

dross 2009-01-25 00:17

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Oh well, it loads fine (see picture), but is even less responsive than on the LXDE desktop. Looks like 2-way sync to 30Boxes just isn't going to happen on the Nokia. Thanks anyway for all your help. - David
http://www.math.hawaii.edu/~ross/mis...4-13-39-41.png

TheTree 2009-01-25 22:03

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Linux newb here, but anyway.

Following the install instructions on the first page, I got to the congratulations window and rebooted. However, nothing debian related appears to run. LXDE pops up for less than a second with a window saying "this is the LXDE window. log out instead of closing this window." or something like that, then it closes. Chroot opens a terminal window for even less time before closing it, I have no idea what it says in that.

I'm on a N810 with the latest version of Diablo.
Any ideas?

EDIT: Nevermind. It looks like the download link on maemo.org points to 0.9.11. Updating to 0.9.12 through the application manager seems to have fixed things for me.

WilsonBradley 2009-01-25 23:55

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Hi,
I am very interested in trying the Turbo-Charged editions when they (Ubuntu) become avail.

Question:
Is it possible to Dual boot? Meaning, boot the OS 2008 & Turbo-charged project?

Thanks
I just bought a Nokia n810 on ebay for $ 185
So, will update the firmware asap, then Os 2008 to the latest libraries.

Will be looking into finding a phone that I could use as a Internet Modem connection(maybe Iphone)

Advise & suggestions welcome
Thanks:p

freekyfrogy 2009-01-28 22:30

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
"Following the install instructions on the first page, I got to the congratulations window and rebooted. However, nothing debian related appears to run. LXDE pops up for less than a second with a window saying "this is the LXDE window. log out instead of closing this window." or something like that, then it closes. Chroot opens a terminal window for even less time before closing it, I have no idea what it says in that."

I have the same problem. I am running on an n800 with the latest diablo release. I checked, and I have version 0.9.12 installed already. can anyone help me out with this?

qole 2009-01-28 23:00

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
These problems suggest that your big image file is damaged or corrupted. So far, anyone who had problems like this eventually discovered that their image file was corrupted.

Open a terminal, enter
Code:

sudo debian
and post the results here.

freekyfrogy 2009-01-28 23:03

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
When I run Xterm and type that, I get this:
~ $ sudo debian
chroot is set up already!
everything set up, running chroot...
[I have no name!@debian: /]

qole 2009-01-28 23:17

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
.... ok, so you've already opened the chroot ...

Close that terminal, open a new one, and type the following two commands:

Code:

sudo closechroot
sudo debian

post the results.

freekyfrogy 2009-01-28 23:26

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
ok, heres a copy of what happened:

~ $ sudo debian
Setting up the chroot...
using device: /media/mmc1/debian.img.ext2
insmod: cannot insert '/mnt/initfs/lib/modules/2.6.21-omap1/mbcache.ko': File exists (-1): File existsUsing ext2 file system
insmod: cannot insert '/mnt/initfs/lib/modules/2.6.21-omap1/ext2.ko': File exists (-1): File exists
using /media/mmc1/debian.img.ext2 on the turbo-loop ;)
insmod: cannot insert '/lib/modules/2.6.21-omap1/dm-mod.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/2.6.21-omap1/dm-loop.ko': File exists (-1): File exists
.
..
...
....
Everything set up, running chroot...
[I have no name!@Debian: /]


I tried opening LXDE, and got the same thing. it opens for a split second and then goes away.

EDIT: By the way, it really does say `I have no name!`

qole 2009-01-28 23:35

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

I was really expecting to see some errors in your output. Try this; it should generate some more informative output:
Code:

sudo closechroot
touch /home/user/.synchroot
sudo debian

This should try to update system files in the chroot with versions from your OS2008 system. The errors that occur during this process should be more informative.

I still think your best bet is to delete /media/mmc1/debian.img.ext2 and download-install the file via the installer again.

freekyfrogy 2009-01-28 23:41

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
ok, this returns:

~ $ sudo debian
Setting up the chroot...
using device: /media/mmc1/debian.img.ext2
insmod: cannot insert '/mnt/initfs/lib/modules/2.6.21-omap1/mbcache.ko': File exists (-1): File existsUsing ext2 file system
insmod: cannot insert '/mnt/initfs/lib/modules/2.6.21-omap1/ext2.ko': File exists (-1): File exists
using /media/mmc1/debian.img.ext2 on the turbo-loop ;)
insmod: cannot insert '/lib/modules/2.6.21-omap1/dm-mod.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/2.6.21-omap1/dm-loop.ko': File exists (-1): File exists
.
..
...
....
synching the chroot...
cp: write error: No space left on device
cp: write error: No space left on device
cp: write error: No space left on device
mv: cannot rename '/debian/usr/share/X11/xkb': No such file or directory
cp: cannot create directory '/debian/usr/share/X11/xkb': No space left on device
Everything set up, running chroot...
[I have no name!@Debian: /]


If nothing else works, I`ll re-download it.

EDIT: so I don't have room... would I have to uninstall some apps then?

qole 2009-01-28 23:46

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Unless you've been installing a lot of software in Debian (you gave the impression you haven't started using Easy Debian yet), or someone else knows something I don't, those errors look like a corrupted image file to me. You should not be out of space in your image, and you should not be seeing "I have no name!" as your prompt.

freekyfrogy 2009-01-28 23:50

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
what should the size of the debian-final.img.ext2 be? I have had easy deb installed before, when it was running IceWM. it worked for me back then, but I have since reflashed a few times. I didn't install much of anything though...

qole 2009-01-29 00:15

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Aha! That's your problem!

You have two image files, an old one (debian.img.ext2) from your old Easy Debian install, and a new one (debian-final.img.ext2) from the new Easy Debian. To delete the old one and get Easy Debian to use the new one instead, do the following in a terminal:

Code:

sudo closechroot
rm /media/mmc1/debian.img.ext2
touch /home/user/.synchroot
sudo debian


freekyfrogy 2009-01-29 00:17

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
gah... I've already deleted and started re-downloading the image, haha. I'll try that once this is done downloading. Would the old image file be visible in the file manager? Because I can't see one. Also, there is only like 700mb of data on this particular card.

qole 2009-01-29 00:26

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

Originally Posted by freekyfrogy (Post 260649)
gah... I've already deleted and started re-downloading the image, haha. I'll try that once this is done downloading. Would the old image file be visible in the file manager? Because I can't see one. Also, there is only like 700mb of data on this particular card.

You should be able to see debian.img.ext2 in the file manager, and you must have that file, because your previous post says you do:

Quote:

Originally Posted by freekyfrogy (Post 260640)
ok, this returns:

~ $ sudo debian
Setting up the chroot...
using device: /media/mmc1/debian.img.ext2
...
Everything set up, running chroot...
[I have no name!@Debian: /]


freekyfrogy 2009-01-29 00:34

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
ok... now for the unzipping... so... long... GAAAH O_O I really hope this works, I have dreams about my n800 running desktop software... How well does openoffice work? and how is the battery life when running it? Also, does GIMP lag to the point of being unusable, even in performance mode?


All times are GMT. The time now is 15:34.

vBulletin® Version 3.8.8