Reply
Thread Tools
nicorumiz's Avatar
Posts: 96 | Thanked: 16 times | Joined on Jan 2010 @ Denver, CO -> Italy
#821
I do have some issue...
Since I am newbie I think the solution should be simple but I can not figure it out...

- I still have issue with the keyboard, arrow up and arrow down are not working

- look like the OS is half Italian and Half in english and I am getting errors when I try to install additional programs.

The problem with the language (half It and half en) as far as I know is related with the keyboard (I think).

I have tried to select english from the list when I do dpkg-reconfigure locales but whene the generation is colpleted I have the following:

perl: warning: Setting Locale failed.
perl: warning: Please check that your locale setting:
LANGUAGE = (unset)
LC_ALL = "it_IT'
LC_PAPER = "it_IT"
here I have a list with different LC_ all set with "it_IT"
LC_NAME = "it_IT"
LANG = C"
are supported and installed on your system.
perl: warning: Failing back to the standard locale ("C")
perl: warning: Setting Locale failed.
perl: warning: Please check that your locale setting:
LANGUAGE = (unset)
LC_ALL = (unset)
LC_PAPER = "it_IT"
here I have a list with different LC_ all set with "it_IT"
LC_NAME = "it_IT"
LANG = C"
are supported and installed on your system.
perl: warning: Failing back to the standard locale ("C")


The language of the phone itself matters or not?

I can not set Debian in English...

thanks for your time guys.

Nico
 
nicorumiz's Avatar
Posts: 96 | Thanked: 16 times | Joined on Jan 2010 @ Denver, CO -> Italy
#822
Ok, here what I have found out

(I hope is right)

I have change the language on my phone to EN and I have did again "dpkg-reconfigure locales" with en settings.

The procedure went correctly without errors or messages and now I have the OS completely in EN.

I think that the language on the phone is somehow related with the language on Debian (since they share root is possible I think)

I have installed again Abiword on debian with apt-get and the installation went perfectly fine (before I had errors because of the language).

Now I have only the issue with the arrow UP and DOWN

(ARROW UP = Fn + ARROW LEFT)
(ARROW DOWN = Fn + ARROW RIGHT)

Should I map those keys or they should work?
If yes I'll probably need some help on what to write on the file .xbindkeysrc (this is what I have found on the wiki page)

I really appreciate any comment in this matter.

Nico
 
rebhana's Avatar
Posts: 579 | Thanked: 471 times | Joined on Jan 2010 @ Austria
#823
Originally Posted by nicorumiz View Post
I do have some issue...
Since I am newbie I think the solution should be simple but I can not figure it out...

- I still have issue with the keyboard, arrow up and arrow down are not working

- look like the OS is half Italian and Half in english and I am getting errors when I try to install additional programs.
With my German keyboad and system, I have exactly the same issues. Here is what I did, which is not a perfect solution, but I have all I really need:

1. The time zone needed to be set. The correct Debian way is to do "dpkg-reconfigure tzdata" (in Debian chroot as root) and to select the one you are in.

2. "dpkg-reconfigure locales" with de_DE.UTF-8 leads to the correct German language environment when running Debian as user - though not as root, because root inherits LANG=de_DE (without the UTF) from Maemo. I don't bother however, because applications are to run under user mostly. I also got those warnings when installing new packages, but I found it's safe to just ignore them.

Now with applications started by "debbie" (everything outside LXDE) the German keyboard works, including Fn-Right/Left for Up/Down. Running the "Set Deb HW Keys" app (which is xbindkeys) gives F1-F12 and Ctrl-Space for full screen toggle.

Because some special characters are missing and the soft keyboard not available, I actually modified /usr/share/X11/xkb/symbols/nokia_vndr/rx-51 in Maemo by making umlauts composable by 2 key presses (through dead_diaeresis), which frees some keys I use for extra characters. In Italian you don't have umlauts, so no need to describe it to you. If somebody else is interested, I can post my rx-51 file, which modifies the keyboard under both Maemo and Debian (so I never actually need the Fn-Ctrl combo).

Under LXDE things are different. There I additionally need "setxkbmap de" in the first line of /etc/xdg/lxsession/LXDE/autostart, but then the Up/Down arrows which should be mapped to Fn-Left/Right don't work. (Also omitting the setxkbmap altogether Up/Down is gone.) This is a problem I haven't been able to solve, although I was tweaking the LXDE settings quite a lot (e.g. I use xmodmap to have a new keyboard layout fitted to my needs under LXDE). But under LXDE I have a cursor, so I found that I don't usually need Up/Down - and under debbie, where I'm working mostly, I do have them.

In the v3b image, by the way, /etc/xdg/lxsession/LXDE/autostart includes a hack to have sticky shift and fn keys. I didn't like it in the end, because it also makes Ctrl sticky, and that got quite annoying in practise. Also, with the German keyboard, some key combinations worked only when pressed successively, others when pressed simultaneously. So my /etc/xdg/lxsession/LXDE/autostart now has sticky keys disabled:
Code:
setxkbmap de
#xkbset exp 60 =sticky =twokey =latchlock
#xkbset sticky -twokey latchlock
@lxde-settings-daemon
@lxpanel --profile LXDE
@pcmanfm -d
...
@hstende: Have you tried again to get your nordic keyboard working under LXDE? Are you having the same problem with Up/Down then?

Last edited by rebhana; 2010-03-13 at 10:02.
 

The Following 4 Users Say Thank You to rebhana For This Useful Post:
Posts: 150 | Thanked: 91 times | Joined on Dec 2009 @ Norway
#824
@rebhana it work with "dano" and "nordic" with the same problems as german keyboard. So I use english keyboard inside lxde.

I now try to build openoffice 3.2 on my karmic image based on the source of lucid. I had to map a 3GB usr-partition and my 8gb sdhc-card to get enough space. I tried yesterday and ran out of space. Hopefully it will be finished today.... It has bee building for 15 hours now.....
 
rebhana's Avatar
Posts: 579 | Thanked: 471 times | Joined on Jan 2010 @ Austria
#825
@qole: I have a suggestion for the next version of easy-deb-chroot.

Since in applications like openoffice and evince one really does need the extra key bindings from xbindkeys in order to be able to get out of navigator or presentation modes, I would suggest that xbindkeys is already started by default. I'm doing so by including xbindkeys in the application.desktop files, e.g.
Code:
Exec=debbie "xbindkeys; evince"
and similarly for other debbie applications. I'd suggest to do so with all those shipped by the easy-deb-chroot package.

With openoffice (from v3b) I have in fact encountered one case, where also the function keys don't get me out of a particular mode: If I don't use Ctrl+Space to get full screen in "debbie oowriter", but choose "Full Screen" from the menu "View", the screen becomes grey with horizontal stripes as in a Venetian blind. Superimposed is the Maemos's application bar, which is translucent under which I see a part of openoffice in full screen mode. But in the rest it's this Venetian blind. Now from that mode I cannot get out other than closing the application (which requires several clicks from the task manager). Could that problem have to do with the fact that I have de-installed openoffice.org-gtk during my initial attempts to change themes?

Qole, if by any chance you still have openoffice.org-gtk for armel in version 1:3.1.1-8, would you be so kind to put it on qole.org/files? I could of course start from the pristine v3b image, but that would safe me some work.

Last edited by rebhana; 2010-03-13 at 17:26.
 

The Following User Says Thank You to rebhana For This Useful Post:
nicorumiz's Avatar
Posts: 96 | Thanked: 16 times | Joined on Jan 2010 @ Denver, CO -> Italy
#826
@rebhana:

I have found the sticky function "annoing" too yesterday...the keyboard was working weird and took me a while to find out why...I didn't knew that the sticky function was working under LXDE.

Anyway: I think we have the same issue...
I have tried to run a program under "debbie" (oocalc from Debian chroot) and up and down arrows are working fine.

[I don't know why gnumeric (run from chroot) if I use up and down in stead of moving to the cell up and down the program scroll the entire spreadsheet. (Gnumeric opens in 6 seconds) I guess the problem is because I have installed the program after si it's not a big deal.]

Now this is my question.

If I would like to keep the phone language set in Italian but have Debian in English is it possible?

I have tried to change the timezone and after that the language but as soon as the phone in italian I have all those errors.
I think they don't really matters. Those errors (and errors that I'm getting when I am installing additional programs) are basically related to the messages correct?
So if Debian can not find the message in Italian automatically pick the message in English...correct? This explain why my OS is half Italian and half in English. (if this is how it works is not a problem at all...my OS will be half and half)

I would like to have a confirmation for something else also:
If I run programs under Debbie (oocalc from chroot) with Fn+Ctrl all the additionl keys are not working (touch screen keys). This is normal right? That's why we have to map additional keys correct?

Sorry if my question is "stupid" I hope one day I will be able to return all the favor and help that you are giving me now...

thanks



Nico
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#827
rebhana: I'm sorry, the only way to get OpenOffice packages right now is either by starting with a pristine Easy Debian or by using hstende's or my Ubuntu image.

As for the xbindkeys always starting... Perhaps my next image should have xbindkeys as part of the /var/run/onfirstchroot.rc script?
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following User Says Thank You to qole For This Useful Post:
Posts: 150 | Thanked: 91 times | Joined on Dec 2009 @ Norway
#828
qole : maybe you could have a sort of meny in onstart script to ask for keyboard layout?
Another suggestion in this script
cp /proc/mounts /etc/mtab inside debian
 
rebhana's Avatar
Posts: 579 | Thanked: 471 times | Joined on Jan 2010 @ Austria
#829
Originally Posted by nicorumiz View Post
@rebhana:

I have found the sticky function "annoing" too yesterday...the keyboard was working weird and took me a while to find out why...I didn't knew that the sticky function was working under LXDE.
@qole: in your next image, I'd suggest to leave the sticky bit commented out - even after closing LXDE it had unexpected effects that many might find weird

Originally Posted by nicorumiz View Post
If I would like to keep the phone language set in Italian but have Debian in English is it possible?
For that you should set the LANG and LC_ALL environment variables to en_US, I think.

@qole: where should one set those variables? I tried /etc/bash.bashrc, where you set PS1, but inserting "export LANG=en_US" etc. didn't have any effect. I still get LANG=de_DE when doing so.

Originally Posted by nicorumiz View Post
I would like to have a confirmation for something else also:
If I run programs under Debbie (oocalc from chroot) with Fn+Ctrl all the additionl keys are not working (touch screen keys). This is normal right? That's why we have to map additional keys correct?
Yes. In fact, Fn+Ctrl does work in deb chroot as long as one is in terminal mode. But it's no longer available within applications started from there.

Last edited by rebhana; 2010-03-14 at 11:56.
 
rebhana's Avatar
Posts: 579 | Thanked: 471 times | Joined on Jan 2010 @ Austria
#830
Originally Posted by qole View Post
As for the xbindkeys always starting... Perhaps my next image should have xbindkeys as part of the /var/run/onfirstchroot.rc script?
That's perhaps more elegant, although xbindkeys is not needed in terminal mode. What about including it in /usr/bin/debbie? Could one then have xbindkeys terminated automatically upon closing debbie applications? I'm asking because xbindkeys binds Ctrl+Space, which under Maemo has the function of changing input language. On second thought, I guess one wouldn't want to kill xbindkeys in one debbie application while another might still be running.

rebhana: I'm sorry, the only way to get OpenOffice packages right now is either by starting with a pristine Easy Debian or by using hstende's or my Ubuntu image.
No problem, I had only this one glitch with OpenOffice after I removed openoffice.org-gtk.
I'll have a look at the Ubuntu images out of curiosity, but otherwise will probably stick to Debian, since my desktop is Debian lenny. Will v3b remain your last Debian image actually?

EDIT: Just tried out your ubuntu-m5-v1.img.ext2. I had expected this was about getting OpenOffice 3.2, but it is still 3.1!? More importantly, LXTerminal does not open with a prompt for me. And finally, I am puzzled why this ubuntu image still gives me [root@deb-m5v3b:] as a shell prompt. This seems to be related to the problem I had above with setting language in /etc/bash.bashrc. Is that file not processed actually? How should one configure the system wide profile in deb-chroot?

EDIT2: After rebooting the N900, the deb chroot terminal has ubuntu in its prompt. Why not before? I had done a close chroot before switching. I'd really like to understand how things are initialized here!

Last edited by rebhana; 2010-03-14 at 14:05.
 
Reply

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


 
Forum Jump


All times are GMT. The time now is 00:44.