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)

arono 2010-02-17 20:37

Re: Easy Debian Fremantle Beta Testing
 
1 Attachment(s)
I just installed anki and it works all the way to the flashscreen but then this error message comes up (attached)

I have tried dpkg-reconfigure locales.

Help please :confused: thanks

shanti 2010-02-17 20:50

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by arono (Post 532965)
I just installed anki and it works all the way

Just open terminal, print
export LC_ALL='en_US'
anki

May be somebody will advice where write this export to load automatically :)

pingu 2010-02-17 21:18

Re: Easy Debian Fremantle Beta Testing
 
I installed easy debian and I want to install additional applications (blender to be more percise). I read the warning on the wiki that there is a problem with it.
How can I install applications saftly? via Synaptic?

qole 2010-02-18 00:41

Re: Easy Debian Fremantle Beta Testing
 
pingu: You can install new apps, just be careful when upgrading. I would recommend making a copy (backup) of your image file before installing new applications.

taril 2010-02-18 10:48

Re: Easy Debian Fremantle Beta Testing
 
Ive installed VLC, it is ok, but audio is missing.
How can I enable audio under this system?

hstende 2010-02-18 17:15

Re: Easy Debian Fremantle Beta Testing
 
I have upgrade my image to squeeze and compiled mplayer with optimized flags follow this guide:
http://ubuntuforums.org/showthread.php?t=101097
with this /etc/environment
CFLAGS="-O2 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -ftree-vectorize -ffast-math -Os -strip"
CXXFLAGS="-O2 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -ftree-vectorize -ffast-math -Os -strip"

If someone wants to the 2 debs I got from the building, you can download them here:
http://www.mediafire.com/file/gmy2o2...-0.0_armel.deb
http://www.mediafire.com/file/xzqmzj...-0.0_armel.deb

It works well for me. I had to do some hacks like not bind /tmp and a bigger image to get the building work on my easy debian.
The building process lasted for about 2 hours for this package.

qole 2010-02-18 17:51

Re: Easy Debian Fremantle Beta Testing
 
hstende:

Thanks for your report of on-device compiling! Two hours is honestly not terrible for a mobile device...

Any difference between your mplayer and the maemo one? Performance differences, etc...?

aechelon 2010-02-18 17:57

Re: Easy Debian Fremantle Beta Testing
 
I'd be interested in CPU usage for the optimized version of mplayer. No luck getting pulseaudio profiled yet.

hstende 2010-02-18 18:09

Re: Easy Debian Fremantle Beta Testing
 
@qole
I have to try to recompile ffmpeg first. I'll do a test then.
With default ffmpeg its a bit slower.time


Some test on a mp4 made with camera.
Running from maemo:
time mplayer 20091220_003.mp4

real 0m37.774s
user 0m27.039s
sys 0m1.055s


Running from easy debian without optimized ffmpeg:
real 1m4.448s
user 0m40.992s
sys 0m1.563s


Running from easy debian with optimized ffmpeg:
real 0m57.978s
user 0m41.164s
sys 0m1.109s



Running from easy debian with optimized ffmpeg:and -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all -ao pulse
real 0m37.774s
user 0m27.039s
sys 0m1.055s

[DarkGUNMAN] 2010-02-19 12:52

Re: Easy Debian Fremantle Beta Testing
 
Easy Debian has been great so far. One bug to report though, when trying to change the display preferences the window will not appear and processor usage goes to 100. Worked fine in the previous release though.

Also tried installing FileZilla after doing an apt-get update.. the program load up but when attempting to connect to any server the program crashes. Just trying to find a good ftp client that supports ssl.

Got to say, since the PR1.1.1 update the whole experience has been much faster!

debernardis 2010-02-19 18:16

Re: Easy Debian Fremantle Beta Testing
 
Briefly, I'm reporting a number of applications that work well when called from maemo (not from inside lxde):
pdfchain - merge, split, and make other things to pdf files
flpsed - type annotations on pdf files
xournal - everybody knows it
nicotine - while waiting for the maemo5 port
gftp - ftp client
abiword and openoffice, of course, and seem quicker than when called inside lxde.

For all these, the ctrl-up arrow key combo from easy debian is fundamental.
For openoffice, also binding Esc to shift-backspace (Qole, this should go in the next easy debian imho).

rebhana 2010-02-19 18:56

Re: Easy Debian Fremantle Beta Testing
 
I have added two things to http://wiki.maemo.org/Easy_Debian, if somebody wants to cross-check:
"CUPS Installation Instructions" and "Keyboard issues and tips". In the latter I'm recommending xbindkeys+xvkbd for getting some additional key bindings, which I'm now heavily using myself. With regard to the latter, I have the following question @qole: /home/user/.xbindkeysrc is now provided by Easy Debian. How will future upgrades handle the case that users may wish to add to that file? Will there be a /home/user/.xbindkeysrc.dist or something in that case?

asyik 2010-02-19 19:01

Re: Easy Debian Fremantle Beta Testing
 
qole,

i have a problem reinstalling easy debian. i keep getting error message during my installation telling me that the downloaded image file is damaged. i have done this process almost twenty times now and keep getting the same message. it didn't make any difference if i chose to install it in mydocs or microsd. i have also tried downloading the file manually then place it in mydocs or microsd and then run image installer but this method also didn't work. i have reflashed my n900 to the latest firmware (16 feb) and run the installation process again but still getting the same error message.

qole 2010-02-19 19:13

Re: Easy Debian Fremantle Beta Testing
 
asyk: perhaps you should download the big image file on a desktop computer and then copy it to your N900.

Get this file: http://qole.org/files/debian-m5-v2.img.ext2.bz2

(Or, if you can use lzma manually, you can wait a day and get my new image ;))

rebhana 2010-02-19 23:13

Re: Easy Debian Fremantle Beta Testing
 
I have the following curious problem with German keyboard layout. After starting LXDE with "setxkbmap de" I have an almost perfectly functional hardware keyboard with all special characters in blue accessible by the function key as under Maemo, except that the function and shift keys are not sticky. BUT there is one exception: Fn+Left and Fn+Right on a German keyboard usually give Up and Down, respectively. But on those keys Fn does not have an effect, as "xev" confirms.

I tried to work around by xkeybinds+xvkbd.
With "xev" I indeed see that Up and Down keysymbols can be produced this way, but in none of the applications (be it openoffice or vi) do the work as they did with the us keymap!? :confused:
It's really only "Up" and "Down" that gives me this problem, I can for instance bind "Left" to Ctrl+y, and it then has the effect as "Left" always has, but neither "Up" nor "Down" have any effect!?? Anyone any idea what could cause this weird behavior?

asyik 2010-02-19 23:50

Re: Easy Debian Fremantle Beta Testing
 
qole: thanks it's sorted now. i have to take out my microsd card first before the installer can extract the downloaded img file. i also reinstalled easy-chroot, easy-deb-chroot and deleted .chroot.config file in /home/user.

qole 2010-02-19 23:55

Re: Easy Debian Fremantle Beta Testing
 
Hello all,

I have a new image file for you to try out. I think this is The One, so I really want the feedback of my Trusty Beta Testers. Please continue to use "time lzma" and post your results to give me an idea of extraction times.

image file: debian-m5-v3b.img.ext2.lzma
(there's also a rootfs for extracting into a partition, but I'd prefer you to try the image file)

CHANGELOG (from debian-m5-3a):
  • apt-get problems should be solved. No more pesky errors and workarounds. pulseaudio won't break every time you install something. Squeeze is still disabled by default, but enabling squeeze won't wreak havok unless it tries to update the gconf packages.
  • Evince installed. It is a lot slower than the built-in pdf reader, but sometimes you want a full-featured reader and you're willing to sacrifice some speed.
  • The sticky keys hack is automatically enabled in LXDE. It can also be activated from the terminal by running "debbie stickykeys [kblocale]", so English speakers would run "debbie stickykeys us" and German speakers would run "debbie stickykeys de". If you need to tweak the LXDE one for a different locale (tell me if you do!) do "sudo leafpad /etc/xdg/lxsession/LXDE/autostart" and add your locale after the "setxkbmap" on the first line.

Suggestions for further enhancements for my final image for Maemo 5 are welcome. I want the final image to kick some @ss.

I'm starting work on my Easy Debian package now, with an updated xbindkeysrc (rebhana, could you send me your set of keys?) and new icons for close chroot, and Debian HW Keys. I also hope to make the installer more flexible, allowing the user to download one of several images depending on the contents of a small file downloaded from the server.

It also would be very cool to walk the user through a setup wizard after a successful image download, which synchs the chroot and sets up the locale.

new_bee 2010-02-20 02:25

Re: Easy Debian Fremantle Beta Testing
 
can any one tell me how to call applications installed in Lxde from maemo. I want to start claws mail like this as it is working perfect under lxde.

SubCore 2010-02-20 03:25

Re: Easy Debian Fremantle Beta Testing
 
since i hadn't upgraded to the new firmware yet, i decided to try a little experiment.

this is the time on 2009.51-1 after a few days uptime. i suspect it has to do something with a browserd zombie or trackerd checking MyDocs...
Code:

# time lzma -d debian-m5-v3b.img.ext2.lzma
real        35m 33.60s
user        3m 34.21s
sys        0m 43.21s

2009.51-1 after a reboot
Code:

# time lzma -d debian-m5-v3b.img.ext2.lzma
real        6m 58.61s
user        3m 28.24s
sys        0m 33.10s

2010.02-8 right after the over-the-air update.
Code:

# time lzma -d debian-m5-v3b.img.ext2.lzma
real        7m 24.63s
user        3m 28.71s
sys        0m 33.59s


not to read too much into these numbers, though. firmware revision is probably one of the lesser factors, it's likely there was an access of the storage in the background somewhere, since that seems to significantly hit lzma performance.

debernardis 2010-02-20 08:45

Re: Easy Debian Fremantle Beta Testing
 
Omigosh! (freshly booted n900)

/home/user/MyDocs # time lzma -d debian-m5-v3b.img.ext2.lzma
real 43m 27.66s
user 3m 37.78s
sys 0m 41.21s

hstende 2010-02-20 09:07

Re: Easy Debian Fremantle Beta Testing
 
@qole
Why is /tmp bind to meamo's /tmp?

Is there performance-difference when mounting a real partition or a image?

Maybe the soundhack should be checked and fixed whith a script when everytime debbie starts. Then it would be fixed if someone upgrade and breaks the pulsaudio.

You could install wajig to keep packages from upgrading.
http://www.togaware.com/linux/surviv..._Overview.html
wajig hold <package_name>
Then we could safely upgrade to squeeze.

rebhana 2010-02-20 10:09

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by new_bee (Post 537684)
can any one tell me how to call applications installed in Lxde from maemo. I want to start claws mail like this as it is working perfect under lxde.

Have a look at http://wiki.maemo.org/Easy_Debian

rebhana 2010-02-20 10:57

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 537547)
I'm starting work on my Easy Debian package now, with an updated xbindkeysrc (rebhana, could you send me your set of keys?)

Below is my .xbindkeysrc file for a German keyboard layout, which initially misses a few important symbols because of German umlauts. With the following bindings I now have a complete keyboard including practically all keys of a PC104 keyboard, including F1-F12 (mapped to Shift+Fn+(upper row), which I'd recommend as being easily remembered).

As I wrote above in http://talk.maemo.org/showthread.php...521#post537521, I have an unsolved problem with Up and Down (the cursor keys), though - I still have to check whether your new image is perhaps solving that issue for some reason - but that is not really a show-stopper for me.

Code:

###########################
# xbindkeys configuration #
###########################
#
# Version: 1.8.2
#
# If you edit this file, do not forget to uncomment any lines
# that you change.
# The pound(#) symbol may be used anywhere for comments.
#
# To specify a key, you can use 'xbindkeys --key' or
# 'xbindkeys --multikey' and put one of the two lines in this file.
#
# The format of a command line is:
#    "command to start"
#      associated key
#
#
# A list of keys is in /usr/include/X11/keysym.h and in
# /usr/include/X11/keysymdef.h
# The XK_ is not needed.
#
# List of modifier:
#  Release, Control, Shift, Mod1 (Alt), Mod2 (NumLock),
#  Mod3 (CapsLock), Mod4, Mod5 (Scroll).
#

# The release modifier is not a standard X modifier, but you can
# use it if you want to catch release events instead of press events

# By defaults, xbindkeys does not pay attention with the modifiers
# NumLock, CapsLock and ScrollLock.
# Uncomment the lines above if you want to pay attention to them.

#keystate_numlock = enable
#keystate_capslock = enable
#keystate_scrolllock= enable

"wmctrl -r :ACTIVE: -b toggle,fullscreen"
    m:0x4 + c:111
    Control + Up

"wmctrl -r :ACTIVE: -b toggle,fullscreen"
    m:0x4 + c:65
    Control + space


# In order not to interfere with /home/user/.xbindkeysrc from Easy Debian
# this file is renamed /home/user/.xbindkeysrc2 and called in by
# @setxkbmap de
# @xbindkeys -f /home/user/.xbindkeysrc2
# in /etc/xdg/lxsession/LXDE/autostart i

"xbindkeys_show -f /home/user/.xbindkeysrc2"
  control+shift + q

# curiously, Up and Down don't work on the German keyboard,
# where they are Mod5+Left and Mod5+Right, respectively
# unfortunately, the following two lines don't work either (???)

"xvkbd -text "\[Down]""
 m:0x80 + c:114
 Mod5 + Right

"xvkbd -text "\[Up]""
 m:0x80 + c:116
 Mod5 + Left

#"xvkbd -text "\[Next]""
# Shift + Right

#"xvkbd -text "\[Prior]""
# Shift + Left

#"xvkbd -text "\[End]""
# Control+Shift + Right

#"xvkbd -text "\[Home]""
# Control+Shift + Left

"xvkbd -text "\[asciicircum]""
 Control + Left

# the enter key is KP_Enter instead of Return
# some applications don't accept KP_Enter in place of Return, hence:

"xvkbd -xsendevent -text '\r'"
  Shift + KP_Enter
 
"xvkbd -xsendevent -text '\e'"
  Shift + BackSpace

"xvkbd -xsendevent -text '\e'"
  Control+Shift + e

"xvkbd -xsendevent -text '\t'"
  Control+Shift + t

"xvkbd -xsendevent -text "\[bracketleft]""
  m:0x4 + c:60
  Control + odiaeresis

"xvkbd -xsendevent -text "\[bracketright]""
  m:0x4 + c:111
  Control + adiaeresis

"xvkbd -xsendevent -text "\[less]""
  m:0x5 + c:60
  Control+Shift + odiaeresis

"xvkbd -xsendevent -text "\[greater]""
  m:0x5 + c:111
  Control+Shift + adiaeresis

"xvkbd -xsendevent -text "\[braceleft]""
  m:0x4 + c:33
  Control + p

"xvkbd -xsendevent -text "\[braceright]""
  m:0x4 + c:59
  Control + udiaeresis

"xvkbd -xsendevent -text "\[bar]""
  m:0x5 + c:59
  Control+Shift + udiaeresis

"xvkbd -xsendevent -text "\[asciitilde]""
  m:0x1 + c:65
  Shift + space

#"xvkbd -xsendevent -text "\[asciitilde]""
#  m:0x4 + c:65
#  Control + space
# Control + space used for full screen toggle in .xbindkeysrc

# F1-F12 mapped to Shift+Mod5 + keys from upper row:

"xvkbd -text "\[F1]""
 Shift+Mod5 + q

"xvkbd -text "\[F2]""
 Shift+Mod5 + w

"xvkbd -text "\[F3]""
 Shift+Mod5 + e

"xvkbd -text "\[F4]""
 Shift+Mod5 + r

"xvkbd -text "\[F5]""
 Shift+Mod5 + t

"xvkbd -text "\[F6]""
 Shift+Mod5 + z

"xvkbd -text "\[F7]""
 Shift+Mod5 + u

"xvkbd -text "\[F8]""
 Shift+Mod5 + i

"xvkbd -text "\[F9]""
 Shift+Mod5 + o

"xvkbd -text "\[F10]""
 Shift+Mod5 + p

"xvkbd -text "\[F11]""
 Shift+Mod5 + udiaeresis

"xvkbd -text "\[F12]""
 Shift+Mod5 + BackSpace

##################################
# End of xbindkeys configuration #
##################################

Note that this file is meant to be used under Easy Debian. In order to avoid any conflict with the .xbindkeysrc coming with Easy Debian or with xbindkeys under Maemo, I've renamed it to /home/user/.xbindkeysrc2 and added
Code:

setxkbmap de
xbindkeys -f /home/user/.xbindkeysrc2

to Easy Debian's /etc/xdg/lxsession/LXDE/autostart

EDIT: With the new image v3b I still have the same problem with cursor Up and Down keys, plus some new issues.

Some of the keybindings with Control+key produce the intended effect only when Control and key are pressed successively, and don't work when pressed simultaneously. This is the case for Control+space which toggles full screen (Control+Up doesn't work any longer when I switch to setxkbmap de) - but only when pressed separately, same for Control+key 111. Control+key 60 works equally for simultaneous and successive key presses. Control+key 116 works for simultaneous keys, but leaves Control sticky after that - something that doesn't happen with other combinations Control+key.

Is it by the way possible to make only Shift and Fn sticky, and not Control? It now happens to me too often that Control got sticky without me noticing, with lots of surprises...

With the new image, it is still true that the Return key becomes KP_Enter under LXDE, and some applications have difficulties with that - already vi! My workaround above is Shift+Return = \r, and that seems necessary also for us keymaps.

kolos 2010-02-20 13:08

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 537547)
Hello all,

I have a new image file for you to try out. I think this is The One, so I really want the feedback of my Trusty Beta Testers. Please continue to use "time lzma" and post your results to give me an idea of extraction times.

image file: debian-m5-v3b.img.ext2.lzma

qole, thanks for your great effort!

I installed Abiword in this new image and it doesn't work, I just have blank window.

Do you have any idea what could be the problem? I'm not quite familiar with linux, but in previous version Abiword worked fine.

http://www.shrani.si/f/2u/3n/4TLMXMb...00220-1356.png

kolos 2010-02-20 14:16

Re: Easy Debian Fremantle Beta Testing
 
Also Window Themes could not be changed.

rebhana 2010-02-20 20:07

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 537547)
I have a new image file for you to try out. I think this is The One, so I really want the feedback of my Trusty Beta Testers.

Having described my keyboard problems above which didn't improve with the new version, let me now come to the good news: The new image is really great! :) Congratulations and many thanks!

Here's my experience so far:

locales: language setting from Maemo are now taken over in LXDE correctly - with "setxkbmap de" I'm able to work with my German keyboard now that I know its quirks - the missing cursor up and down keys are not severe under LXDE where there is a pointer, and in the terminal with debbie, I don't have any problems with the German keyboard - it just works exactly as it does under Maemo, I don't need debbie stickykeys de for that. I've not succeeded with xbindkeys under debbie, however. Any suggestions?

I've also installed the few things that I really use in Easy Debian, some of which could go actually in the final image without much cost in space:

less as a substitute for more would be nice for many Linux users

vpnc for connecting to Cisco concentrators works like a charm under Easy Debian, also in the new image. Miraculously, I can even use the Maemo browser after having started vpnc in Debian chroot, though only when being connected by WLAN. Under G3, I have to use a browser under Debian, the Maemo browser is then cut off. Since not everybody will be interested in vpnc, I would only advertise it as a good alternative to install vpnc under Easy Debian, since vpnc under Maemo is far from stable.

openssh-client works without a problem, and should go in the final image IMO - no need though to install the sshd under Easy Debian when one has it under Maemo.

cups-client (as opposed to full cups, which I unnecessarily had before) would be nice in the final image - with lpstat -a you find whether there is a network printer available and then you've got full printing support! Installing all of the above fills the image to only 64%!

evince: it's already part of the new image, and I vote for keeping it there! With cups-client, you can then also print your pdf documents! I had a problem with evince in the v2 image - it crashed whenever I tried to view postscript files. Now it didn't crash any longer, but did not go beyond "Loading" displayed. To have a postscript viewer, I then installed gv. After that, also evince was able to display postscript files - I guess because psfontmgr got installed with gv. One issue with evince is that after going to presentation mode, I cannot leave that mode without an F5 key (which xbindkeys can provide under LXDE, but not when launched through debbie...). Presentation mode is then permanent until one removes home/user/.gnome2/evince/ev-metadata.xml manually.

djview4 for viewing djvu files - works great! Started from debbie, it is a great e-book reader. Fully functional, doesn't need a stylus for scrolling. Full-screen toggle works, also under debbie.

xmaxima - works, but like vi needs xbindkeys to get a proper Return key in addition to KP_Enter. That package is somewhat big and thus should not go in the final image, I think. However, with all that I just use 69% of the space in the image!

:cool::cool::cool:

The only thing that I tried so far which involves sound was youtube.com in iceweasel and the browser in LXDE. There it didn't work however - youtube videos are loaded, but always run only for a few moments when moving the slider. The volume control is turned down and doesn't stay up. As I said, that was just for trying out something with sound.

The only problems worth mentioning are my German keyboard problems and the sticky Control which is somewhat dangerous (an issue for US users, too). Apart from that this is indeed THE ONE!!!

EDIT: Found another small problem worth mentioning, which is a regression of image v3b compared to the v2: "date" now gives the time in PST, but had the correct local time zone before. For those that like me have to look up how that is handled in Debian: the time zone is set by running "dpkg-reconfigure tzdata" in Debian chroot. I'm now puzzled why that was not necessary in the v2 image.

kolos 2010-02-20 20:36

Re: Easy Debian Fremantle Beta Testing
 
I solved my Abiword issue with upgrade to v2.8.1-2 (squeeze distro).

rebhana 2010-02-20 21:30

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 537547)
The sticky keys hack is automatically enabled in LXDE. It can also be activated from the terminal by running "debbie stickykeys [kblocale]", so English speakers would run "debbie stickykeys us" and German speakers would run "debbie stickykeys de".

I found that enabling sticky keys through debbie has the effect that afterwards the Control key remains sticky also under Maemo when Debian chroot has already been closed again. This can have surprising effects for the unwary. Starting LXDE with stickykeys doesn't have this side effect.

maxximuscool 2010-02-20 22:51

Re: Easy Debian Fremantle Beta Testing
 
i can't seem to decompress it. something non-zero thing

hstende 2010-02-21 10:00

Re: Easy Debian Fremantle Beta Testing
 
I did a little hack to fix the df command:
Added this 2 lines to /etc/mtab in debbie

/dev/loop0 / ext2 loop,noatime,nobh,nodiratime 0 0 /dev/mmcblk0p1 /home/user/MyDocs vfat rw,noauto,nodev,noexec,nosuid,noatime,nodiratime,u tf8,uid=29999,hortname=mixed,dmask=000,fmask=0133, rodir 0 0
/dev/mmcblk0p1 /home/user/MyDocs vfat rw,noauto,nodev,noexec,nosuid,noatime,nodiratime,u tf8,uid=29999,shortname=mixed,dmask=000,fmask=0133 ,rodir 0 0

I found the bug that made lxde not start after setting locale with:
dpkg-reconfigure locales

The /usr/bin/xephwm5 had a line:
export TWOWIN=`wmctrl -l | grep -i Information | awk '{print $1}'`

When setting locales for norway the output changed to Informasjon. So when I cahnged the line to:
export TWOWIN=`wmctrl -l | grep -i Info | awk '{print $1}'`

it worked, and lxde no longer hangs in this while loop.

rebhana 2010-02-21 13:32

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by hstende (Post 539456)
I found the bug that made lxde not start after setting locale with:
dpkg-reconfigure locales

The /usr/bin/xephwm5 had a line:
export TWOWIN=`wmctrl -l | grep -i Information | awk '{print $1}'`

When setting locales for norway the output changed to Informasjon. So when I cahnged the line to:
export TWOWIN=`wmctrl -l | grep -i Info | awk '{print $1}'`

it worked, and lxde no longer hangs in this while loop.

Wow, congratulations! Lucky me that Information translates to Information in German!:p

rebhana 2010-02-21 14:24

Re: Easy Debian Fremantle Beta Testing
 
I have found out a little bit more about my problem with the cursor keys in LXDE with setxkbmap de (http://talk.maemo.org/showthread.php...521#post537521). @hstende, has the Norwegian keyboard also only two cusor keys, with Up and Down overloaded? Do you have the same issue?

From "xmodmap -pke" I found that the German keyboard has
Code:

keycode 111 = adiaeresis Adiaeresis question question question question
keycode 112 =
keycode 113 = period comma comma comma comma comma
keycode 114 = Right Down
keycode 115 =
keycode 116 = Left Up

So the Up and Down keys are Shift-Left and Shift-Right. For Fn-Left and Fn-Right, as it should be, "Up" and "Down" should be on the fifth position instead of the second. However, filling in more "Up"s for keycode 116 doesn't have any effect - only the Shift modifier is active on this key! :confused:

Unfortunately, while Shift-Left and Shift-Right do actually produce Up and Down key events, the X server notices that Shift is pressed and interprets those as Shift-Up and Shift-Down, and this makes them useless for most applications, e.g. vi.

I also tried xbindkeys to produce Up and Down through Fn-Left and Fn-Right, but also that gets interpreted as a modified Up and Down. So, no luck so far.

Another keymap problem that I have noticed both in us and de keymaps is that the Enter key is bound to KP_Enter. That is actually easy to fix with xmodmap. One can add the line
Code:

xmodmap -e "keycode  36 = Return"
to /etc/xdg/lxsession/LXDE/autostart, and then one can at least enter new lines in vi - though not go up on a German keyboard :o. Well, I need it the Return key mostly for xmaxima and there the pointer is available.

@qole: I personallyprefer having no sticky keys at all rather than a sticky Control key and the funny behavior of the Control+keys I described above. My autostart file now reads
Code:

setxkbmap de
#xkbset exp 60 =sticky =twokey =latchlock
#xkbset sticky -twokey latchlock
@lxde-settings-daemon
@lxpanel --profile LXDE
@pcmanfm -d
xmodmap /home/user/myxmodmap

where apart from the corrected Enter key I have made Shift+Backspace=Escape and Shift+Fn+q=F1 etc.:
Code:

keycode  22 = BackSpace Escape
keycode  24 = q Q 1 1 1 F1
keycode  25 = w W 2 2 2 F2
...
keycode  36 = Return Return Return Return KP_Enter KP_Enter
...

Perhaps the above remapping of BackSpace and Return would be useful for the autostart file in the final image, most simply through individual "xmodmap -e ..." lines? My addition of the function keys, however, would depend on having qwertz or qwerty or whatever in the uppermost row.

hstende 2010-02-21 14:51

Re: Easy Debian Fremantle Beta Testing
 
@rebhana
I use the english layout in lxde so I don't know.
I'll try later to see if it works.

rebhana 2010-02-21 17:41

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 537547)
If you need to tweak the LXDE one for a different locale (tell me if you do!) ...

For the record, I was successful with
Code:

dpkg-reconfigure locales
and choosing de_DE.UTF-8 as system setting. Then all extra characters are displayed correctly under debbie, sudo debian su - user, and LXDE (with setxkbmap de). Only the root account (sudo debian in osso_xterm) has the wrong character set. Its language setting is de_DE without the .UTF-8, which I guess is inherited from Maemo, which for me has de_DE.

qole 2010-02-21 17:59

Re: Easy Debian Fremantle Beta Testing
 
Someone asked for the changelog for the version in Extras, and since I'm 'in there' today assembling a new package, here it is:

0.9.36 Changed default mount point to /.debian
0.9.37 Fixed the closechroot icon, added back oo icon & fullscreen key
0.9.38 Fixed top menu in LXDE and added ctrl-space fullscreen key.
0.9.39 Tweaked top menu in LXDE

rebhana 2010-02-21 21:14

Re: Easy Debian Fremantle Beta Testing
 
Just discovered this older posting:

Quote:

Originally Posted by qole (Post 524954)
hstende:

Thanks, it seems that you still have Debian apps running! I see "debbie" and "qchroot" and "loop0" in your ps list.

This is obviously a problem with Fremantle's broken fuser command.

Those having problems, do the following:

Code:

sudo debian echo
sudo cp /.debian/bin/fuser /bin
sudo closechroot


I once had the issue that my N900 got pretty warm in my pocket, and then I found that the Debian application xmaxima was using 100% CPU time although Debian chroot was already closed and unmounted. I don't recall whether this was before or after PR1.1.1. Does anybody know whether Fremantle's fuser is still broken?

Is the above fix still good with the new image? At any rate, I'd do
Code:

sudo cp /bin/fuser /bin/fuser.bak
before!

If there is otherwise no fix in sight, perhaps this could even go into the wiki?

EDIT: Just noticed that /bin/fuser in Fremantle is a link to busybox. I'm pretty ignorant here, but busybox is a file that is more than 10 times bigger than Debian's fuser!? The above code would overwrite /bin/busybox, is that really what you meant, qole?

taxaza 2010-02-21 22:34

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 537547)
image file: debian-m5-v3b.img.ext2.lzma
(there's also a rootfs for extracting into a partition, but I'd prefer you to try the image file)

I have Debian in a different partition. Can I use the lzma file and how? Or bz2 is the only way for me?

qole 2010-02-22 00:08

Re: Easy Debian Fremantle Beta Testing
 
rebhana: Fremantle's fuser is still broken. Yes, there's no actual fuser app, just a link; it is Busybox that is actually broken.

gnasgame3 2010-02-22 02:05

Re: Easy Debian Fremantle Beta Testing
 
sir
have trouble to log in a secure trading site with microB. tried your icewawsel in easy debian thinking that the full java can do the trick but also no luck.
can anybody help/

the url is dbsvicker
it always say java applet not initialised. and in the case of icewaesel in easy debian the message is always server not responding

qole 2010-02-22 04:01

Re: Easy Debian Fremantle Beta Testing
 
Hi all,

I've just uploaded a new version of easy-chroot to extras-devel, and I've promoted it to Extras-testing.

This version adds a workaround for the broken Fremantle fuser, so your "closechroot" command should actually close the chroot.

I've also fixed some packaging problems, so I won't get the usual "bugtracker field is wrong" complaints... ;)


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

vBulletin® Version 3.8.8