Active Topics

 


Reply
Thread Tools
Posts: 150 | Thanked: 91 times | Joined on Dec 2009 @ Norway
#541
@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.
 

The Following User Says Thank You to hstende For This Useful Post:
rebhana's Avatar
Posts: 579 | Thanked: 471 times | Joined on Jan 2010 @ Austria
#542
Originally Posted by new_bee View Post
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
 

The Following User Says Thank You to rebhana For This Useful Post:
rebhana's Avatar
Posts: 579 | Thanked: 471 times | Joined on Jan 2010 @ Austria
#543
Originally Posted by qole View Post
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.

Last edited by rebhana; 2010-02-20 at 21:10.
 

The Following 3 Users Say Thank You to rebhana For This Useful Post:
Posts: 434 | Thanked: 245 times | Joined on Jan 2010
#544
Originally Posted by qole View Post
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.

 
Posts: 434 | Thanked: 245 times | Joined on Jan 2010
#545
Also Window Themes could not be changed.
 
rebhana's Avatar
Posts: 579 | Thanked: 471 times | Joined on Jan 2010 @ Austria
#546
Originally Posted by qole View Post
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!



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.

Last edited by rebhana; 2010-02-21 at 09:48.
 

The Following 3 Users Say Thank You to rebhana For This Useful Post:
Posts: 434 | Thanked: 245 times | Joined on Jan 2010
#547
I solved my Abiword issue with upgrade to v2.8.1-2 (squeeze distro).
 

The Following 2 Users Say Thank You to kolos For This Useful Post:
rebhana's Avatar
Posts: 579 | Thanked: 471 times | Joined on Jan 2010 @ Austria
#548
Originally Posted by qole View Post
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.
 
Posts: 3,664 | Thanked: 1,530 times | Joined on Sep 2009 @ Hamilton, New Zealand
#549
i can't seem to decompress it. something non-zero thing
 
Posts: 150 | Thanked: 91 times | Joined on Dec 2009 @ Norway
#550
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.

Last edited by hstende; 2010-02-21 at 13:01.
 

The Following User Says Thank You to hstende For This Useful Post:
Reply

Tags
beta, debian, easy debian, extras-devel, fremantle, i <3 qole, squeeze


 
Forum Jump


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