maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   Easy Debian Fremantle Beta Testing (https://talk.maemo.org/showthread.php?t=34550)

Dark_Angel85 2010-12-05 10:31

Re: Easy Debian Fremantle Beta Testing
 
hey guys...

was just wondering if there was any effect or difference in installing EasyDeb in either the hard drive or the MMC... which is better or is there no difference?

Thanks

Necc 2010-12-05 11:37

Re: Easy Debian Fremantle Beta Testing
 
Hard drive? There's no hard drive in the N900, just flash drives.

There's 2 way to use easy debian images:

1) from image files
2) dedicated partition

If you use from image file, it doesn't matter where you copy it. However, the internal flash drive has a better performance, the difference running easy debian image from the eMMC or flash drive is not major.

If you dedicate a partition for the easy debian, then the only advantage what you receive is that you will not be limited into the 2GB space.


In my opinion, the best way to use is to increase your 'home partition' size, and copy the image into /home/user and run from there.
With this, you can run easy debian AND use your phone as a pen-drive, and you can increase the image size if you wish because you will not be limited by FAT32.

mscion 2010-12-05 19:00

Re: Easy Debian Fremantle Beta Testing
 
I have a problem when starting oowriter with the icon. On previous use
I had clicked media player (in tools) and was unable to exit from it. The
usual X in the upper left hand corner is off the screen. If I kill the oowriter
process, say, using close debian, (or some other way) then oowriter and
media player do close but if I try to start oowriter again with the icon, media
player eventually appears and I am unable to use oowriter. This reminds me
of an earlier problem with styles and formatting... but probably not quite the same.

Is there some saved settings configuration file I can modify to stop media player
from coming up with oowriter?

BTW, in the LXDE I am able to open and close media player cleanly. So no problem here.

Necc 2010-12-05 20:39

Re: Easy Debian Fremantle Beta Testing
 
"Close Debian" does not terms or kills applications running under it. You still have to kill processes manually with the "ps" and "kill [pid]" combo if they stuck.

qole 2010-12-05 21:16

Re: Easy Debian Fremantle Beta Testing
 
Necc: Close Debian should close all of the Debian apps. If yours doesn't, make sure you have the newest Easy Chroot package.

Necc 2010-12-05 22:19

Re: Easy Debian Fremantle Beta Testing
 
Sadly, it doesn't closes all running processes.

I started up chroot, like as i do everytime before, connected to all possible services from my computer.

After hittng close chrott and waiting a minute, i ran "ps" from maemo's ssh. Part of the result:

Code:

5969 root      3152 S    /usr/sbin/xrdp-sessvc 5971 5970
 5971 user        0 Z    [Xvnc]
 5972 root      8804 S    xrdp-chansrv
 7322 105      14616 S    /usr/sbin/xrdp
 7324 root      6832 S    /usr/sbin/xrdp-sesman
 7476 root      3152 S    /usr/sbin/xrdp-sessvc 7478 7477
 7478 user        0 Z    [Xvnc]
 7479 root      8804 S    xrdp-chansrv


And the "must have" to verify that the file does not exist under maemo:
Code:

Nokia-N900:~# ./usr/sbin/xrdp
-sh: ./usr/sbin/xrdp: not found


Second attempt:

First i launched chroot and openoffice:
http://dl.dropbox.com/u/4469013/temp...205-225449.png

And then i hit "close chroot" and waited to the window dismiss. I took a screenshot again:
http://dl.dropbox.com/u/4469013/temp...205-225514.png

Exactly. Nothing changed.

Then i went to the still open chroot prompt, and started to executing a few command. Ironically midnight commander launched up. As i has a maemo and easy chroot version of mc, i wasn't sure about witch version (maemo or debian) i just launched, so i tried a few other commands too:
http://dl.dropbox.com/u/4469013/temp...205-230031.png

It was weird how i could execute "inadyn" and launch "vsftpd" service minutes AFTER i closed chroot.

Just to make sure, i tried to launch these apps from the maemo's terminal, just to be sure:
http://dl.dropbox.com/u/4469013/temp...205-231208.png


According to FAM, "easy debian" verison is: 0.9.54-1fremantle1; "easy chroot" version is: 0.3.2-1fremantle1. Checked for new versions during the day.


Sorry if i wasn't too clear at some point, or if i made childish mistake(s) but it is getting too late here now and after i sending this post, i roll to my bed and fall asleep immediately.

mscion 2010-12-05 23:52

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by Necc (Post 890048)
"Close Debian" does not terms or kills applications running under it. You still have to kill processes manually with the "ps" and "kill [pid]" combo if they stuck.

I had tried to use ps (also with options aux...) figuring I would spot the process and then kill it but mediaplayer never appears.

qole 2010-12-06 00:38

Re: Easy Debian Fremantle Beta Testing
 
Necc: next time, please try "sudo closechroot" from a command prompt instead of using the icon, and maybe post the terminal output... I wonder if something has happened with PR1.3 to (yet again) break the closechroot script?

EDIT: Just tried a similar experiment, ran OpenOffice Writer and then used the icon to close the chroot. OOo closed, as did the Debian terminal.

Necc 2010-12-06 11:11

Re: Easy Debian Fremantle Beta Testing
 
Weird... no "closechroot" command from terminal. (In terminal 'close' + tab and the full command not pops out.) I smell a reinstall and a long brainstorm where and how i could screw this up.:confused:

avidscavenger 2010-12-06 11:30

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by Necc (Post 890495)
Weird... no "closechroot" command from terminal. (In terminal 'close' + tab and the full command not pops out.) I smell a reinstall and a long brainstorm where and how i could screw this up.:confused:

Try 'sudo closechroot'.

Necc 2010-12-06 11:37

Re: Easy Debian Fremantle Beta Testing
 
Ok i admit, i forgot to be logged in as root, or 'sudo'. :rolleyes:

mscion 2010-12-06 13:34

Re: Easy Debian Fremantle Beta Testing
 
Has anyone else had the problem I'm having with media player I posted earlier? That is, I start oowriter from the icon (without going into LXDE), then select media player from tools. At this point I am unable to cleanly close media player. I can kill oowriter and media player by using Close Debian but am unable to restart oowriter either from the icon, chroot or using debbie oowriter in xterm without media player filling the screen rendering oowriter useless.

Necc 2010-12-06 17:55

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 890252)
Necc: next time, please try "sudo closechroot" from a command prompt instead of using the icon, and maybe post the terminal output... I wonder if something has happened with PR1.3 to (yet again) break the closechroot script?

EDIT: Just tried a similar experiment, ran OpenOffice Writer and then used the icon to close the chroot. OOo closed, as did the Debian terminal.

Code:

Nokia-N900:~# closechroot
/sbin/closechroot: /home/user/.chroot: line 1: #: not found
Closing the chroot...
...closing chroot apps...
..Unmounting bound dirs...
unmounting /.debian/dev
unmounting /.debian/proc
unmounting /.debian/tmp
unmounting /.debian/var/tmp
unmounting /.debian/sys
unmounting /.debian/media/mmc1
unmounting /.debian/var/run/dbus
unmounting /.debian/var/lib/dbus
unmounting /.debian/var/run/pulse
..Unmounting /.debian...
successful unmount...
chroot closed.

/home/user/.chroot:
Code:

# Sample config for chroot

# Device or image containing Debian filesystem.
# Default: first in /home/user/MyDocs/debian*.img*, /media/mmc1/debian*.img*
# Some examples:
IMGFILE=/home/user/debian-m5-v3d.img.ext2
#IMGFILE=/home/user/MyDocs/debian-squeeze-m5.img.ext2
#IMGFILE=/media/mmc1/debian-squeeze-m5.img.ext2
#IMGFILE=/dev/mmcblk1p2
#IMGFILE=/dev/mmcblk0p4

# Filesystem used; must always be set when using a partition.
# Default: from extension of IMGFILE, or ext2.
#IMGFS=ext2

# Mount point for Debian.
# Default: /debian
CHROOT=/.debian

# New /tmp dir size for printing / PDF creation
# Default: 6M
#TMPSIZE=6M

# Debian user to drop privileges
# Default: user
#DEBUSER=user


qole 2010-12-06 19:07

Re: Easy Debian Fremantle Beta Testing
 
Necc: Thanks for posting that output. Did you test this while running some Easy Debian apps? Did they remain open?

If you didn't have Easy Debian apps open, could you retest with OpenOffice or something open? If the output is the same, you don't need to post anything. But if it changes when you have OpenOffice running, please post the new output. OpenOffice should close, of course, but if it doesn't, report that too.

Also, it appears that there's some kind of corruption in your ~/.chroot file. Did you edit it with a non-Linux text editor?

mscion 2010-12-06 19:23

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by mscion (Post 890574)
Has anyone else had the problem I'm having with media player I posted earlier? That is, I start oowriter from the icon (without going into LXDE), then select media player from tools. At this point I am unable to cleanly close media player. I can kill oowriter and media player by using Close Debian but am unable to restart oowriter either from the icon, chroot or using debbie oowriter in xterm without media player filling the screen rendering oowriter useless.

Oops! I forgot from key definitions in .xbindkeysrc I could use "Shift+Mod5+Left" to esc.... no problem with media player now.

mscion 2010-12-07 15:53

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 888808)
mscion: If your fonts are in ~/.fonts (ie in your home directory), then you will only be able to access them when logging in to Easy Debian as "user". If you use the Debian Chroot icon, you'll be going in as "root" and those fonts will not be visible to your apps.

I don't have an explanation for your font problem in LXDE...

You can probably fix the font problem by copying the fonts to /usr/local/share/fonts (in your chroot)... unless that's where they already are, in which case, well, I have no idea... :(

Just a brief follow up. If I select the formula with the missing fonts, I can then modifly it by first tapping the font box in the upper left hand side of the window and then select the formula option. The equations then look good. I'd like to better understand how the keep things consistent when starting oowriter from the icon or LXDE. But at least both options are now working reasonably well :)

EDIT: My solution was not quite right here. Once you select the equation where the correct fonts are missing. (You might see a rectangle where a symbol should be) just select edit (or double tap the equation) and the correct fonts will then be employed. If you then exit, saving changes, the representation with correct fonts is preserved. Not sure why the correct fonts are not immediately used but it's only a minor inconvenience..

Necc 2010-12-07 17:07

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 890843)
Necc: Thanks for posting that output. Did you test this while running some Easy Debian apps? Did they remain open?

If you didn't have Easy Debian apps open, could you retest with OpenOffice or something open? If the output is the same, you don't need to post anything. But if it changes when you have OpenOffice running, please post the new output. OpenOffice should close, of course, but if it doesn't, report that too.

Also, it appears that there's some kind of corruption in your ~/.chroot file. Did you edit it with a non-Linux text editor?

Yes. I always use actively easy debian (it runs 24/7), i have also startup and shutdown scripts (onfirstchroot.rc; onclosechroot.rc) too witch launches dyndns, samba, ftp, remote desktop, etc. and stops them during close (closechroot).


Also i checked my ~/.chroot file and only the hex editor was able to point out the problem: the first 3 byte was: EF BB BF (h) and all of the text editors/viwevers what i used showed nothing. I have no idea how or when it got there, but i fixed it now. I doubt that this caused the problem so i re-tested again, and there was no change. Openoffice remained open such as the chroot prompt window under maemo like before.

arkanoid 2010-12-07 17:28

Re: Easy Debian Fremantle Beta Testing
 
BTW why does oowriter controls layout look completely different when run from lxde compared to "standalone" launcher?

juandp77 2010-12-08 03:44

Re: Easy Debian Fremantle Beta Testing
 
hi qole I have a question where is the keyboard file configuration located

tebsu 2010-12-08 10:33

Re: Easy Debian Fremantle Beta Testing
 
ok i got a problem here. i installed easy debian and the next step i did was apt-get update and apt-get upgrade. after that, nothing (except chroot) was running anymore. any way to solve that for the future? (just reinstalling and then continue without the update and upgrade)

mscion 2010-12-08 14:40

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by juandp77 (Post 892042)
hi qole I have a question where is the keyboard file configuration located

There is a file for redefining keys called .xbindkeysrc

It is in /home/user

More on that in the wiki.

juandp77 2010-12-08 15:15

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by mscion (Post 892319)
There is a file for redefining keys called .xbindkeysrc

It is in /home/user

More on that in the wiki.

thanks, maybe you could help me I've ported archlinux just like easy-debian but I'm having a lot of problems to get keyboard to work,

mscion 2010-12-09 13:48

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by juandp77 (Post 892344)
thanks, maybe you could help me I've ported archlinux just like easy-debian but I'm having a lot of problems to get keyboard to work,

For more information on setting keyboard definitions check posts #1748 and #1751. However it sounds like you might have a keyboard focus problem...

qole 2010-12-09 17:17

Re: Easy Debian Fremantle Beta Testing
 
juandp77: make sure you have the /sbin/qobi-wmhint-fix app in your chroot, you need that to make the keyboard focus work.

juandp77 2010-12-10 01:10

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 893414)
juandp77: make sure you have the /sbin/qobi-wmhint-fix app in your chroot, you need that to make the keyboard focus work.

thanks a lot I will do that

mscion 2010-12-10 18:51

Re: Easy Debian Fremantle Beta Testing
 
When switching from debian image v3d to v3e I am unable to run certain packages I had downloaded using synaptic (from v3d image) like wxmaxima. Is there a way to access those same packages when using v3e or do I need to reinstall them for v3e?

qole 2010-12-10 21:53

Re: Easy Debian Fremantle Beta Testing
 
msicon: you need to reinstall everything. Don't forget the --no-install-recommends option when using apt-get!

mscion 2010-12-10 22:41

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 894303)
msicon: you need to reinstall everything. Don't forget the --no-install-recommends option when using apt-get!

Thanks. I needed to do some house cleaning anyways. Nothing like a fresh start!

Necc 2010-12-11 18:40

Re: Easy Debian Fremantle Beta Testing
 
According to this thread where was a small interest about how to make a working secondlife client under maemo, i decided to make this possible.

Steps:
- First of all, you will need a working easy-debian.

- Go to $CHROOT/etc/apt/sources.list and enable debian squeeze repositories by removing the '#' symbol from the start of the line. Alternatively if you edited this list before and you has no squeeze line anymore, you can add this package: "deb http://ftp.de.debian.org/debian squeeze main contrib non-free"

- open up the chroot terminal (not maemo's own terminal) and enter the following code:
Code:

apt-get update
apt-get install libmono2.0-cil libmono-winforms2.0-cil

- download Radegast client (Binary package for Linux, Windows), extract it on your PC and upload it to one of your device's ext2/ext3 partition. Make sure the owner of the folder/files will be the user, and not the root.
(example directory: /home/user/Radegast)

- make Radegast.exe executeable then exit from chroot terminal

- open up maemo's terminal, then execute the following command: debbie-sue [path to Radegast]/Radegast.exe

- optionally you can make a shortcut for it to your desktop

Few screenshots:

http://dl.dropbox.com/u/4469013/temp...211-181315.png

http://dl.dropbox.com/u/4469013/temp...211-183155.png

http://dl.dropbox.com/u/4469013/temp...211-183503.png


Advantages: you can connect into Secondlife anytime, anywhere. As no 3D renderer in this client, the bandwitch requiment is low.

Disadvantages: total memory usage of this application is around 270MB! As the N900 has only ~235MB RAM be prepared that the system will swap all day and night! Use this application only if you realy need it, and do not use anything else in the background!


Edit: right after i hit the send post button, i started wondering why i put this into a 'beta testing' thread instead of a 'what you can do with easy debian' thread... but oh... whatever, cut this post out if you wish.

rebhana 2010-12-11 19:09

Re: Easy Debian Fremantle Beta Testing
 
qole, I am now trying out the new image v3e, and I noticed that squeeze is enabled by default. Is this on purpose? Do you consider squeeze safe enough, provided one always uses "apt-get install --no-install-recommends ..." ?

I also noticed that kazehakase, useful for a google streetview ED app, was installed and then removed from the image. Did you have any problems with it?

qole 2010-12-11 19:48

Re: Easy Debian Fremantle Beta Testing
 
Rebhana, Does that streetview app work without Flash? Because Flash is dead at the moment :(

rebhana 2010-12-11 21:23

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 894836)
Rebhana, Does that streetview app work without Flash? Because Flash is dead at the moment :(

Yes, because it does not need flash at all. It would actually require flashplayer 10.1 if it relied on flash, that's why google streetview can no longer be used in microB.

qole 2010-12-12 03:06

Re: Easy Debian Fremantle Beta Testing
 
New version of Easy-Chroot in the Extras-Devel repo fixes the "osso-xterm" bug reported by bousch last month.

debernardis 2010-12-12 05:51

Re: Easy Debian Fremantle Beta Testing
 
To install kazehakase on v3e, first uninstall every instance of xulrunner (this will get rid of icedove too), then install only xulrunner-1.9.1 and icedove again, then kazehakase.

rebhana 2010-12-12 08:42

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by debernardis (Post 895025)
To install kazehakase on v3e, first uninstall every instance of xulrunner (this will get rid of icedove too), then install only xulrunner-1.9.1 and icedove again, then kazehakase.

I did
Code:

apt-get install --no-install-recommends kazehakase libgtk2-ruby libgtk2-ruby1.8 xulrunner-1.9.1
which also worked. Does your way get rid of xulrunner 1.9.0? Is it preferrable to have only xulrunner-1.9.1 around?

debernardis 2010-12-12 08:48

Re: Easy Debian Fremantle Beta Testing
 
I wasn't able to start kazehakase on v3e until I did as I wrote before. But possibly I had fiddled too much with the thing before.

qole 2010-12-12 16:20

Re: Easy Debian Fremantle Beta Testing
 
Oh, should I upgrade the version of xulrunner?

rebhana 2010-12-12 16:28

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 887223)
Just to be sure, could you try installing the offending apps using --no-install-recommends on the apt-get command line? That often keeps unnecessary things from getting upgraded.

But maybe I should upgrade the pulse stuff and then hack it back down to the Maemo version... Does anyone actually use Easy Debian for multimedia stuff, now that the N900 has so many media players?

Also with v3e, I still have a problem with calibre, even when using --no-install-recommends: it does not work before I upgrade pulse to squeeze. As before, there is no actual dependency on any pulse stuff, but calibre produces an error message involving libpulse.so.0.

rebhana 2010-12-12 17:11

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 895302)
Oh, should I upgrade the version of xulrunner?

Regarding flash, my upgrade of xulrunner did not help. Iceweasel crashes on youtube videos, and kazehakase shows a black window with the suggestion to use flash 10 underneath.

qole 2010-12-12 17:13

Re: Easy Debian Fremantle Beta Testing
 
rebhana: if calibre produces a pulse-related error until you upgrade, then there's no way around it: the hacked-in maemo libpulse is causing the error; you're going to have to choose, working pulse audio or debian squeeze calibre.

Does the lenny version of calibre show the same problem? Can you use that version?


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

vBulletin® Version 3.8.8