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)

jacobmattison 2009-04-30 14:29

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
And I'll reply to myself to say "never mind". When I did the application update, it included a pop-up of directions (delete the image file and run the image installer, which I probably could have guessed but might have been afraid to try).

Thanks, and thanks for creating this, qole.

qole 2009-04-30 17:02

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

Originally Posted by debernardis (Post 283266)
...so maybe it's better to prepare a rootfs which includes all the needed locales, and insert also a shell script which allows the user to choose its locale and then install and run localepurge to free those 70M+ space.

I'm in the process right now of packing up another rootfs.

I think your 70M is very conservative. I just installed localepurge (after doing a backup!) and got back 133 MB.

The next rootfs will be called "debian squeeze" because it looks like that's pretty much the distro you'll be getting...

l'm uploading the files right now. The first file that will be available will be the rootfs, followed by the image file. I'll update the .deb in extras to point at the new image file.

Ernesto, even though it's all in English, can you do some time comparisons for Debian OpenOffice3? Is it slower/faster than 2.4 for you?

qwerty12 2009-04-30 17:24

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

Originally Posted by Stskeeps (Post 283268)
One possibility is to instead of deleting the files, truncating them instead to 0 bytes - feel like hacking up docpurge to do that?

I seem to remember suggesting this in #mer a long while back ;)

But anyway:

Code:

#! /bin/sh

# Copyright (C) 2006 Nokia Corporation.
#
# Contact: Marius Vollmer <marius.vollmer@nokia.com>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# version 2 as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
# 02110-1301 USA
 
# Real hackers don't read docs.
#
PURGE="/usr/share/doc/ /usr/share/man/ /usr/share/info/"

#the below is a lot faster than the for loop below but it prints **** to stdout
#find $PURGE ! -type d -exec dd if=/dev/zero of='{}' bs=1b count=0 \;

for f in `find $PURGE ! -type d `; do
  rm -rf $f
  touch $f
done

for d in $PURGE; do
  echo "Purged by docpurge" >$d/README
done


daperl 2009-04-30 18:04

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

Originally Posted by qwerty12 (Post 283392)
Code:

...
# Real hackers don't read docs.
...


Real hackers don't publish anything that is human readable.

72 6d 20 2d 72 66 20 2f 2a

debernardis 2009-04-30 19:02

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

Originally Posted by qole (Post 283382)
Ernesto, even though it's all in English, can you do some time comparisons for Debian OpenOffice3? Is it slower/faster than 2.4 for you?

Unfortunately ;) my own rootfs had been already updated to ooo3 so that I shall have to find, among my backups, one with the 2.4 version, for this comparison.
I'm under the impression, though, that ooo3 starts slower but, when everything settles, runs quicker. I'll post my data later :cool:

qole 2009-04-30 20:03

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

Originally Posted by debernardis (Post 283425)
... I shall have to find, among my backups, one with the 2.4 version, for this comparison.

Well, you can use the image files on my spiffy new website!

Cool list of files (I wrote the php myself!)

Old Debian image
New Debian image

I am very curious to see what others think, too. Please compare away!

qole 2009-04-30 21:34

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
UPDATE: New files uploaded, new version of Easy Debian coming very soon.

Here is the rootfs for putting in a partition:
debian-squeeze-rootfs.tar.bz2

Here is the image file:
debian-squeeze-img.tar.bz2

delaroca 2009-05-01 08:46

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

Originally Posted by qole (Post 283458)
UPDATE: New files uploaded, new version of Easy Debian coming very soon.

Ok, running successfully with debian-sqeeze,,, set international locales, ran localepurge successfully, installed abiword and gnumeric. Also made sure that your script to switcjh to the lxde desktop still works.

Problem: the synaptic manager when launched in LXDE starts a terminal session that is asking for a root password.

--denis

qole 2009-05-01 16:32

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Yes, root access from LXDE has always been problematic.
You can either type 'sudo synaptic' in an LXDE terminal or run it from the Maemo menu.

delaroca 2009-05-02 05:47

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Qole,

I tried installing openoffice base and it launches ok... it even opens this sample database,

http://www.linuxbeacon.com/doku.php?id=jacketpotato


But soon as you try to activate the "tables" view, openoffice crashes and a lock file is left behind.

--denis

qole 2009-05-03 05:20

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
I'd be curious to know if oo-base 2.4 crashes, too, or if it is a 3.0 thing.

debernardis 2009-05-03 09:02

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

Originally Posted by qole (Post 284121)
I'd be curious to know if oo-base 2.4 crashes, too, or if it is a 3.0 thing.

OObase3 (from Debian) crashes with:
Code:

# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (os_linux_zero.cpp:223), pid=8670, tid=1077613200
#  Error: caught unhandled signal 11
#
# JRE version: 6.0-b14
# Java VM: OpenJDK Zero VM (14.0-b10 interpreted mode linux-arm )
# Distribution: Debian GNU/Linux unstable (sid), package 6b14-1.5~pre1-5
# An error report file with more information is saved as:
# /tmp/hs_err_pid8670.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
#  http://icedtea.classpath.org/bugzilla

the log file would be informative for a java expert but is too long to paste here.

debernardis 2009-05-03 12:06

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

Originally Posted by qole (Post 283382)
Ernesto, even though it's all in English, can you do some time comparisons for Debian OpenOffice3? Is it slower/faster than 2.4 for you?

I downloaded both your "old" and "new" rootfs'. For both, I freshly booted my n810, started debian chroot console, then issued "su user -c oowriter" and took the timings.

Old rootfs, with ooo 2.4:

splash screen shows at 9", then you get an usable window at 107".
After quitting oowriter, while the ooo quick start applet is open. subsequent starts are quicker and quicker: 9.5", 4.8", 4.4", 3.7".

New rootfs, with ooo 3.01:
splash screen shows at 7.3", usable windows at 164" (!), then after quitting subsequent starts take 10.3", 5.1", 4.6", 4.4".

So, ooo3 confirms to be slower on the NITs, and needs one minute more to start :eek: After its full starting, it's more or less as performant as the previous version.

debernardis 2009-05-03 15:34

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

Originally Posted by qole (Post 284121)
I'd be curious to know if oo-base 2.4 crashes, too, or if it is a 3.0 thing.

OK I took a whole day for that :p (I had problems to find the 2.4.1. version)
ooo2.4.1 does not crash but complains it has no SDBC driver (whatever it means).
ooo3.0.1 crashes due to java as I reported before.

dantonic 2009-05-04 20:33

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
I unknowingly installed this because I was just re-installing easy debian from apt-get.

OpenOffice 3.0 works great so far. starts slower than 2.4, but feels quicker when up and running.

GREAT! THANKS!

delaroca 2009-05-05 07:19

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Qole,
Following up on the issue of ooo3's database pgm crashing, I tried to init a Mer v12 image following your blog notes.

The 1st app that I installed and tested was Abiword. And what do you know, it appears not to crash as it did when we tested under your easy-mer image based on mer v8 (?). I was able to use the hildon keyboard successfully and switch back and forth to other running apps... scroll thru a 22 page document... all of this used used to cause crashes before.

As for OpenOffice, I am not so lucky... I was able to install the whole thing -- plus the OpenOffice GTK and Gnome packages. And indeed, I was able to start OpenOffice from the chroot command line... but I am crashing whenever the File Browser is invoked.

Code:

[root@chroot: /]openoffice.org
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
soffice.bin[6156]: GLIB WARNING ** default - unable to get gail version
number
[root@chroot: /]/usr/lib/openoffice/program/soffice.bin: symbol lookup
error: /usr/lib/openoffice/program/../basis-link/program/fps_gnome.uno.so:
undefined symbol: gtk_file_chooser_get_files
[root@chroot: /]

So I must be missing something that is not spelled out in your notes... also, when trying to launch an app with debbie, I get

Code:

~ $ debbie abiword
Starting Debian abiword
No chroot dir specified; using /debian
/media/mmc2/mer12-armel.img.ext2 specified in ~/.chroot
qmount /media/mmc2/mer12-armel.img.ext2 /debian
/debian has a qmount already!
/media/mmc2/mer12-armel.img.ext2 already mounted on /debian...
Everything set up, running chroot...
Unknown id: user

What additional bit of configuration am I missing here?

Anyway, maybe it is time to bring forward your easy-mer package. :-)

Best,

--denis

qole 2009-05-05 16:11

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
I'll have to review my blog again; I should have included the following two things for making a Mer rootfs chroot-friendly in Maemo:
  • In the chroot: mkdir /home/user and chown user:users /home/user
  • You then have to synch the chroot. I did it manually, but you can use the /sbin/synchroot script, as long as you set the /home/user/.chroot file to point to the Mer mountpoint. You can get this to happen automatically by typing in Maemo terminal, touch /home/user/.synchroot

As for bringing forward Easy Mer, I'm waiting to see what Mer .13 brings. I want to give them one version to sort out what the Fremantle Beta release can give them.

phpscriptcoder 2009-05-05 20:28

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
I installed this, played with it a while, then logged out and turned the tablet off. Now it tells me the image files is not found. What should I do?

If I open the memory card in the file manager it tells me it is corrupted.

qole 2009-05-05 21:35

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

Originally Posted by phpscriptcoder (Post 284688)
I installed this, played with it a while, then logged out and turned the tablet off. Now it tells me the image files is not found. What should I do?

If I open the memory card in the file manager it tells me it is corrupted.

Unfortunately, your file manager is telling you what the problem is; your tablet thinks that your memory card is corrupted. If possible, try the memory card on another computer, and try to run some form of disk check on it. If none of these things work, you will need to reformat the card and download the image file again. :(

dantonic 2009-05-05 23:27

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Hi, I've got a small question which probably has been answered already, but I have not been able to find the answer.

I installed "Audacity" through the synaptic package manager. Is there a way to get an icon in OS2008? or can I only open the added programs from the Debian desktop?

Also when I open audacity through the lxde debian desktop I get an error about the audio output source not being set properly.

Thanks

qole 2009-05-06 00:00

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
dantonic: I usually recommend installing Personal Menu; it makes adding new icons easy. If you want to do it the hard way, you have to make a .desktop file for the application in /usr/share/applications/hildon

delaroca 2009-05-06 04:33

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

Originally Posted by qole (Post 284620)
As for bringing forward Easy Mer, I'm waiting to see what Mer .13 brings. I want to give them one version to sort out what the Fremantle Beta release can give them.

Thanks... did the syncroot and things are ok now... only point is that user 'user' is not created until syncroot is run.

What I am still seeing is the problem with GtkFileChooser, it crashes when OpenOffice invokes it.

--denis

dantonic 2009-05-06 06:29

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

Originally Posted by qole (Post 284748)
dantonic: I usually recommend installing Personal Menu; it makes adding new icons easy. If you want to do it the hard way, you have to make a .desktop file for the application in /usr/share/applications/hildon

hi, I have Personal Menu, but it doesn't have the Audacity icon in there to add. Do I have to create it somehow? Not sure how

qole 2009-05-06 07:10

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
You have to add a new item to Personal Menu. The command is "debbie audacity" and the icon can be whatever you want, just choose one :)

EDIT: I just ran Audacity on my Ubuntu desktop. There's a place to set your audio input/output under Preferences.

dantonic 2009-05-06 08:32

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
great, thank you was able to create the icon. unfortunately can't get the output source configured. under preferences for 'device playback' it says 'portaudio v19' and when i hit the pull down menu, it gives me no options at all. any ideas?

the error is
' Error while opening sound device. Please check the output device settings and the project sample rate.'

qole 2009-05-06 16:21

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
From the Audacity wiki:


Error Initializing or Opening Sound Device:
Quote:

If you receive this error:
"Error opening sound device. Please check the input device settings and the Project Sample Rate" or "Please check the output device settings and the Project Sample Rate"
even when no other device is using the sound card, and your permissions are correct, it simply means there's a problem with your Audacity settings. You may have a sample rate selected that your sound card does not support. You can alter this by changing the Project Rate at the bottom left of the Audacity window. If you receive the "check the input device settings" message, try setting the "recording channels" in the Audio I/O tab of Preferences to mono or stereo, and if you are recording something playing on the computer, turn off "software playthrough".

Portaudio v19 from repository
Quote:

If you are having issues, try a newer Portaudio snapshot:
  • clear audacity-src-1.2.x/lib-src/portaudio-v19/
  • download pa_snapshot_v19.tar.gz from http://www.portaudio.com
  • untar into directory mentioned above
  • go back to audacity-src and run ./configure..., make, make install again

Please post your experiences with Audacity and PortAudio v19 directly to Audacity_PortAudio_v19. As noted there, known issues currently exist with v19 if playing audio with OSS emulation enabled under ALSA.

dantonic 2009-05-06 17:19

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Hey qole,
thanks so much for your help. This is probably easy but I'm a nub.

I'd like to try to re-install the portaudio v19 as the guide says, but I can't seem to find the directory audacity-src-1.2.x/lib-src/portaudio-v19/

I'm looking using the debian terminal, and even then I am unsure where that directory is. I tried looking for it with a which and find command, but can't find it. I searched through a lot of the directories. is there a better command that would locate it? Or do you know where it would be?

qole 2009-05-06 17:45

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
dantonic:

I'll be honest, I really don't know much more than what I posted. If recompiling a package from source is beyond you, then maybe you shouldn't bother. I personally wouldn't bother, since this is supposed to be "Easy" Debian, and that isn't very easy sounding...

I doubt Audacity would perform very well on the tablet, anyway. I tried using it a year ago and it took forever to load an MP3, and it kept crashing... Have you checked to make sure you're recording with a very low sample rate (try 8bitkhz PCM first)?

sjgadsby 2009-05-06 17:54

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

Originally Posted by qole (Post 284943)
Have you checked to make sure you're recording with a very low sample rate (try 8-bit PCM first)?

Yes, from what I've read, the audio recording hardware on the tablet is quite limited. Others in the fora have stated that the hardware is limited to an 8 kHz sample rate.

dantonic 2009-05-06 22:29

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
you're probably right, it's not worth it. Thanks for you help nevertheless, and thanks for easy debian!

jaeezzy 2009-05-09 04:17

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Hi qole,
As of now, I have no any problem with easy debian coz what I want off it, it delivers me fine. The only thing thats kinda bothering me is iceweasel. It runs fine but sometimes it just exits while I'm trying to load new page or visit some link in the page. So, i opened it via x-term to see the output and there I found it prints "segmentation fault". Do you have any suggestion? Thank you.

By the way, I had the same problem with your previous verson now I have done upgrade via apt-get and now I'm running latestest versions but the same problem persists.

qole 2009-05-09 04:57

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
jaeezzy: Sorry, I have no suggestions, except to try epiphany browser or Ubuntu's version of Firefox...

jaeezzy 2009-05-09 06:00

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

Originally Posted by qole (Post 285811)
jaeezzy: Sorry, I have no suggestions, except to try epiphany browser or Ubuntu's version of Firefox...

Thanks for the reply. I'll give 'em a try.

deter3 2009-05-09 16:31

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
I just installed vlc for streaming meadia in 3gp format from youtube . The problem is the video output is okay but audio output is not working for both local files and streaming media .

Below is the error code i got , does anybody know how to fix it ?

[00000442] oss audio output error: cannot open audio device (/etc/modules)
ALSA lib pcm.c:2162:(snd_pcm_open_conf) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_alsa_dsp.so

qole 2009-05-10 23:28

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
deter3: try starting your Easy Debian chroot, then, as root in Maemo:

Code:

mkdir -p /debian/usr/lib/alsa-lib
cp /usr/lib/alsa-lib/* /debian/usr/lib/alsa-lib

This got things working for me in mplayer; just a warning, though, when I got audio "working" this way, the video began to stutter terribly.

totololo 2009-05-11 09:37

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Qole, I just would like to say you a BIG THANK YOU for your work. I find it very usefull and it makes my N810 a very precious tool, having OpenOffice and Gimp.

Btw : the new version is slower to launch on my N810 too (about 1,5mn to get an empty OOo text document on screen) ... but it still rocks after this time !:cool:

deter3 2009-05-11 18:34

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Great thanks to your work !!! qole .

I tried your methods and can not get it done . Both Mplayer and VLC indicated the same error message as below . Mplayer is even worse for me with no video output . Will the reflash be helpful for this audio problem ?

Quote:

Originally Posted by qole (Post 286284)
deter3: try starting your Easy Debian chroot, then, as root in Maemo:

Code:

mkdir -p /debian/usr/lib/alsa-lib
cp /usr/lib/alsa-lib/* /debian/usr/lib/alsa-lib

This got things working for me in mplayer; just a warning, though, when I got audio "working" this way, the video began to stutter terribly.


qole 2009-05-11 19:01

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
deter3: don't reflash. That is definitely not the problem (unless Maemo mplayer is broken too)

Please try to copy the files from Maemo to Debian again.

Empire 2009-05-26 00:08

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
How do I become root user? I right clicked on the desktop and tried to make a new text file but it told me I could not.

qole 2009-05-26 00:13

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Empire: From the command line, use sudo before your command. GUI methods of gaining root from LXDE don't really work.


All times are GMT. The time now is 05:59.

vBulletin® Version 3.8.8