-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[xbian-config] Options for keyboard layout and locale #256
Comments
Can you be a bit more elaborate on this statement? |
If I may contribute to this issue as I am a danish user using danish keyboard layout and danish characters such as æøåÆØÅ. The way i resolved this issue was by entering the following commands and selecting keyboard model and layout and locale settings. sudo su Would it be possible to install console-setup and keyboard-configuration as default, and then be able to access those from within the xbian-config menu system? |
Is there no other way to get XBMC recognize UTF-8 characters? |
Not that I know of but I am not an expert on linux systems yet. But as far as I could see there is no settings in XBMC that allowed me to use UTF-8 chars, all I could do to solve it was doing as i described in my post above. |
What is the output of |
On my system it is now LANG=da_DK.UTF-8 |
Just to be prepared, the Alpha 5 update will overwrite the locale settings to |
Okay, I will just redo the configuration after the update then, thanks for the warning. Sounds good that you will look into it later. As Yhdiste said in the OP, a lot of people would welcome these features. I am sorry that I can not participate and do it my self, but unfortunately I lack the skills ;) Btw. it is a great work you are doing. Thanks again! |
Skills can always be learned, so please don't underestimate yourself... |
I know and I am trying to learn. I know how to do programming in different languages and I am studying IT at the University, but the hardest part here is to find out how to get started in a project like this ;) |
That the attitude we're looking for. If you need help just ask! |
Also, xbian-config-bash is fully modular so it's not that difficult to hop in i think. Just start looking at the source of the xbianpass or timezone modules. |
Cool... Then I will start by taking a look at that 😄 |
Please notice that the (latest) source can the found in our seperate xbian-config-bash repo and not in our main xbian repo. |
Can you guys try to change the
|
I have changed it to the following,
but I am not sure what values to put in and what to look for afterwards since I have already made set those settings system wide like I have described above. |
Can you experiment a bit with a clean install? |
I have tried with a clean install and changed the edit: besides that, it would only have effect within XBMC, which makes it quite hard once you exit XBMC to enter the console. I really have to concentrate while typing in commands since the keyboard layout is different. |
Thanks, then the XBMC setting is not enough. |
Well thank you for looking into it 😄 The solution I posted above worked really well both inside and outside of XBMC, so if a language/keyboard/locale module could be created then it would be awesome. Besides that, I would like to participate in the project and create danish language files, how do I get started doing so? |
If you check https://github.com/xbianonpi/xbian-config-bash then you see a So awaiting your pull requests. Also, i was hoping you were going to create this module 😃 |
Yes, I figured that out by looking at the modules, etc. But do I fork the project and create the |
Yes, but just experiment a bit, i will guide you through the pull request when ready. Just do them in steps. |
I can see that some of the |
It always depends on the combination of the The So would you manage to make the first column 5 char. wide, then the second column can be 45 char. wide. A general working rule was the 20 - 30 rule. |
I'm not going to add new features to xbian-config, just making sure the current ones will work bugfree. |
@muddermanden, does just (only) setting the locale to a different value work |
Thank you very much. As you requested, I'll add my problem as a comment here. I cannot have any characters entered from keyboard in any input window of XBMC but english ones despite of any setup I've already done. |
And I don't want you to add any new features into xbian-config, I can run dpkg-reconfigure by hands. I just want XBMC to accept what keyboard-configuration package have already done for console. |
If you let me know how to do that... |
Well, if XBMC is ran in console then it should already inherit all setup which was done for the console. When it's ran under XOrg it gets setup of XOrg. I don't know exactly how XBMC is started in Xbian, unfortunately. So I have no idea how to apply keyboard setup to it. From what I see, it either starts from abstract interface (so console setup wasn't applied) or it resets keyboard layout to english-only. It's all I could suppose, I'm sorry. |
Yes, it is directly ran from the console. |
If that is the case then I think there is some code which resets keyboard layout somewhere and that code should be disabled to fix the issue. I cannot tell you more because I haven't explored the code of XBMC so much. I'm sorry. |
I hoped the fix xbmc/xbmc#2435 would fix the problematic keyboard layout inheritance too but unfortunately it is still in place. I don't know if I should ask xbmc people about the issue or not. |
as far as I'm aware this is no more issue. |
Wait, how can it be "no more issue"? Is it fixed in XBMC? Is it fixed in XBian repository too? I still wait for it to be fixed, I have Raspberry Pi laying on the table packed instead of used due to this issue, RPi is a piece of crap for those who has no usage for US keyboard layout (and my relatives are such people). Please, tell me it is fixed somehow. Or should I install full XOrg on RPi and run XBMC over it? Will it give me the same performance then? |
@LStranger, sorry, as I spotted your name I by mistake took it as the discussion about hot plug keyboard - I remember your name from. ;) |
Should be fixed: And i'm gone from this issue |
@CurlyMoo, thank you very much for the comment, but mentioned config issue is about localization and as I've already mentioned above, I have zero localization issues - everything is localized just perfectly. The problem lies in another - keyboard layout switching does not work at all, and you know, keyboard layouts are not dependent on locales, it is another thing. I'm sorry. |
@mk01, no problem, everyone can make mistakes (myself included, of course). :) |
So this is how bugs are handled now - just closing the issue? Well, Raspberry Pi costs not too much so just throw it into trash may be solution too. Thank you very much for letting me know that Xbian is not proper OS for RPi, I'll think over what else to do. |
Well, I'll try yet some newer version of XBian, may be it is really fixed somehow. |
it is still as it was. part of OS works, but XBMC is and will be somehow standalone component (due to missing X accel) so until someone doesn't include this directly in XBMC, we can't do much - beside programming it itself. |
I see. Seems there is no another solution but bug and poke XBMC people until they fix it. Thank you. |
Would it be possible to add options for changing keyboard layout and locale in the xbian-config? I am sure a lot people would welcome these features in it.
The text was updated successfully, but these errors were encountered: