Solved: xbian ssh german keyboard support
|
3rd Jan, 2014, 11:07 PM
Post: #1
|
|||
|
|||
xbian ssh german keyboard support
Hello,
when I try to access xbian (1.0 beta 2) via ssh I can switch to german keyboard (qwertz) in xbian-config but several keys won't work (ä = ä ö = ö ü = ü ß = ß ). These are necessary for correct filename spelling. Furthermore all the config menus in German miss these characters and have ? instead. I tried several ways as described in different Xbian/Raspbian/Debian forums, but none did work. Any hints, esp. for Xbian? Thanks Peter |
|||
4th Jan, 2014, 05:08 AM
Post: #2
|
|||
|
|||
RE: xbian ssh german keyboard support
Try:
Log into RPI with ssh Run this command as root Terminal export LC_ALL=$LANG See if that improves things! Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation.
|
|||
4th Jan, 2014, 05:14 AM
Post: #3
|
|||
|
|||
RE: xbian ssh german keyboard support | |||
4th Jan, 2014, 06:02 AM
Post: #4
|
|||
|
|||
RE: xbian ssh german keyboard support
I assume you have a UTF-8 locale?
You could try generating the correct locale with sudo dpkg-reconfigure locales selecting xx_xx.UTF-8, choose as default and then reboot Where xx is the closest - probably de_DE then execute the previous export command. Have you tried xbian-config via ssh? If none of those work, it would be best to wait a while, we have German users who may be able to give more detailed advise. Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation.
|
|||
5th Jan, 2014, 05:47 AM
Post: #5
|
|||
|
|||
RE: xbian ssh german keyboard support
(4th Jan, 2014 06:02 AM)IriDium Wrote: I assume you have a UTF-8 locale?I tried all that, but it did not solve the problem, even though xbian-config states that locales were updated (see 2 images before and after updating the locale in xbian-config) system_locale system_locale_success so the problem is still there. Could it be that there is a problem with the sources for German locales, could I possibly take that from raspbian? how? Thx for your support Peter |
|||
5th Jan, 2014, 05:54 AM
Post: #6
|
|||
|
|||
RE: xbian ssh german keyboard support
@p.falk
Very strange. Hang fire - and let other users comment. @CurlyMo Is a German user and an ex developer - he should know if anyone should. So it should be sorted soon. Sorry I couldn't assist any further. Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation.
|
|||
5th Jan, 2014, 07:12 AM
Post: #7
|
|||
|
|||
RE: xbian ssh german keyboard support
Curlymo is Dutch....
|
|||
7th Jan, 2014, 05:24 AM
Post: #8
|
|||
|
|||
RE: xbian ssh german keyboard support
@p.falk
this are basic prerequisites: 1 - "locale -a" shows de_DE.utf8 on your system 2 - running "locale" from ssh (connected to xbian) throws no error 3 - font you are using in the linux xterm application is UTF-8 considering the above conditions, this is outcome of my test: Terminal root@xbian ~ # 1234567890ß´ü+#öä,.-!"§$%&/()=?`Ü*'ÖÄ;:_ Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
8th Jan, 2014, 05:48 AM
Post: #9
|
|||
|
|||
RE: xbian ssh german keyboard support
as it works with your (@mk01) xbian installation, I assumed I configured something wrong, so I did a fresh install today. Still there are no German special characters available. Neither before nor after "apt-get upgrade"
here is the output from running "locale": Terminal LANG=de_DE.UTF-8 LANGUAGE= LC_CTYPE=C LC_NUMERIC="de_DE.UTF-8" LC_TIME="de_DE.UTF-8" LC_COLLATE="de_DE.UTF-8" LC_MONETARY="de_DE.UTF-8" LC_MESSAGES="de_DE.UTF-8" LC_PAPER="de_DE.UTF-8" LC_NAME="de_DE.UTF-8" LC_ADDRESS="de_DE.UTF-8" LC_TELEPHONE="de_DE.UTF-8" LC_MEASUREMENT="de_DE.UTF-8" LC_IDENTIFICATION="de_DE.UTF-8" LC_ALL= Code: export LC_ALL=$LANG Any further hints are welcome. Thx Peter |
|||
8th Jan, 2014, 06:09 AM
Post: #10
|
|||
|
|||
RE: xbian ssh german keyboard support
@p.falk,
if we are still referring to terminal access (not direct console access), then for very little is XBian responsible. console access needs proper font configuration to display characters. to type them, proper keyboard layout needs to be set. but for remote access you receive only codes. displaying them is on your local terminal program and OS. as you can see from next screen shot - it is Ubuntu, gnome term and ssh into XBian even with en_US locale running. I did nothing else as added German keyboard layout and logged into XBian. btw: this is locale on Ubuntu: Code: LANG=sk_SK.UTF-8 @p.falk still, I remember a guy from spain who reported your case for Beta2, but it was related to Debian 7.2 updates. part of this '?' was also perl throwing errors about missing LC_CTYPE setting etc. both are specifically fixed in xbian-update 1.0.2-11d which is in staging repo, but safe for install. or you can just create /etc/profile.d/xbian-locale.sh Code: #!/bin/sh then logout and login again. sorry, I didn't remember sooner. if you confirm (even better by installing whole xbian-update at least with the 11d version, I will push from staging to stable. among other things the 11d is also solving the OOM issue with dpkg and 256models. this should really go out. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
8th Jan, 2014, 08:16 AM
Post: #11
|
|||
|
|||
RE: xbian ssh german keyboard support
I guess this was the crucial hint
(8th Jan, 2014 06:09 AM)mk01 Wrote: console access needs proper font configuration to display characters. to type them, proper keyboard layout needs to be set. but for remote access you receive only codes. displaying them is on your local terminal program and OS.I found additional info on a debian forum http://serverfault.com/questions/301896/how-to-fix-locale-settings-in-debian-squeeze Quote:If you are getting the errors while ssh'ing to a remote system, and don't want to modify the remote system (by changing the sshd_config, for instance), you can do the following on your local system (assuming bash)so I added that to my local .bashrc and now it works. Thank you very much for helping me to find that solution Peter |
|||
8th Jan, 2014, 09:13 AM
Post: #12
|
|||
|
|||
RE: xbian ssh german keyboard support
that one fixes only yours connects from the one pc, but at the end LC_ALL gets pushed to XBian so will be populated at the end.
I missed history of that one in Debian but sadly there is more bugs years old at Debian reappearing with each second OS release. If I would be a bit paranoid a call it intention. good day! Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
Change to german keyboard - QWERZ | namtih | 4 | 19,459 |
8th Jan, 2013 08:28 AM Last Post: jeandubois |