Hi
I'm trying to establish an F20 x2go kde session with the correct keyboard type and mapping for my clients' keyboards (pc105/gb, and mac). What I get when I log in is always a us keyboard map for a pc105 keyboard.
I've tried starting the x2go session with a simple xterm, and found that I can get the correct keyboard mapping as set by the x2go windows client. (I had to touch a file /usr/share/X11/xkb/keymap.dir to get this to work though.)
Since the keyboard map is correct in the Xterm session but wrong in the kde session it looks like x2go is setting the keyboard/map ok but that kde is somehow overriding what is being set by x2go. (I've tried with Keyboard daemon both checked and unchecked in System Settings -> Startup and Shutdown -> Service manager. I'm running with kscreen2 unchecked as that causes other problems with resizing the session window).
Does kde try to set the keyboard type and layout on login?
If so, how can I stop it doing that and accept whatever was set before startkde was run?
Thanks
Roderick Johnstone
PS I thought I had this working robustly from different clients in F20-beta, but I'm back to square one now.
On 24/12/13 01:30, Kevin Kofler wrote:
Roderick Johnstone wrote:
Does kde try to set the keyboard type and layout on login?
If so, how can I stop it doing that and accept whatever was set before startkde was run?
See System Settings / Hardware / Input Devices / Keyboard.
Kevin Kofler
kde mailing list kde@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/kde New to KDE4? - get help from http://userbase.kde.org
Kevin
Thanks for your reply. I have been there but don't see how to turn off the automatic keyboard settings. I may be starting the x2go session from multiple clients with different keyboards so just want kde to use whatever was set by x2go.
I put some diagnostics into /usr/bin/startkde and the keyboard mappings are correct when startkde starts, but by the time the session is established they are overridden by kde.
Roderick
Roderick Johnstone wrote:
Thanks for your reply. I have been there but don't see how to turn off the automatic keyboard settings. I may be starting the x2go session from multiple clients with different keyboards so just want kde to use whatever was set by x2go.
Try setting: [Layout] Model= Options= ResetOldOptions=false Use=false in ~/.kde/share/config/kxkbrc, or just removing the file (those settings should be the defaults).
See: https://projects.kde.org/projects/kde/kde-workspace/repository/entry/kcontro... https://projects.kde.org/projects/kde/kde-workspace/repository/entry/kcontro...
There used to be a checkbox for at least Use=false in the UI, I don't know where it went, I can't find it anymore. Looks like it got lost to some UI "simplification". :-(
Kevin Kofler
On 24/12/13 18:02, Kevin Kofler wrote:
Roderick Johnstone wrote:
Thanks for your reply. I have been there but don't see how to turn off the automatic keyboard settings. I may be starting the x2go session from multiple clients with different keyboards so just want kde to use whatever was set by x2go.
Try setting: [Layout] Model= Options= ResetOldOptions=false Use=false in ~/.kde/share/config/kxkbrc, or just removing the file (those settings should be the defaults).
Thanks for the suggestion. Unfortunately it doesn't help.
See: https://projects.kde.org/projects/kde/kde-workspace/repository/entry/kcontro... https://projects.kde.org/projects/kde/kde-workspace/repository/entry/kcontro...
Will check these out later.
Roderick
There used to be a checkbox for at least Use=false in the UI, I don't know where it went, I can't find it anymore. Looks like it got lost to some UI "simplification". :-(
Kevin Kofler
kde mailing list kde@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/kde New to KDE4? - get help from http://userbase.kde.org
Am 23.12.2013 18:05, schrieb Roderick Johnstone:
Hi
I'm trying to establish an F20 x2go kde session with the correct keyboard type and mapping for my clients' keyboards (pc105/gb, and mac). What I get when I log in is always a us keyboard map for a pc105 keyboard.
I've tried starting the x2go session with a simple xterm, and found that I can get the correct keyboard mapping as set by the x2go windows client. (I had to touch a file /usr/share/X11/xkb/keymap.dir to get this to work though.)
Since the keyboard map is correct in the Xterm session but wrong in the kde session it looks like x2go is setting the keyboard/map ok but that kde is somehow overriding what is being set by x2go. (I've tried with Keyboard daemon both checked and unchecked in System Settings -> Startup and Shutdown -> Service manager. I'm running with kscreen2 unchecked as that causes other problems with resizing the session window).
Does kde try to set the keyboard type and layout on login?
If so, how can I stop it doing that and accept whatever was set before startkde was run?
Hi there
I have simmilar Problems. After logging in with x2go I always have us keyboard. Different from my direct login I have the IBus keyboard icon im ny system tray. this only shows us keyboard as available. After adding german keyboard to this list my x2go client settings are used as well. To add german keyboard I had to activate "customized active input method" on the "input method" tab first. May be you have to add all your needed keyboard layout to this list and after this your remote selection is used.
I am not realy sure what this IBus thing is all about and why I have to configure it with x2go but not with local login.
regards Martin
Thanks
Roderick Johnstone
PS I thought I had this working robustly from different clients in F20-beta, but I'm back to square one now. _______________________________________________ kde mailing list kde@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/kde New to KDE4? - get help from http://userbase.kde.org
On 31/12/13 10:42, Martin (KDE) wrote:
Am 23.12.2013 18:05, schrieb Roderick Johnstone:
Hi
I'm trying to establish an F20 x2go kde session with the correct keyboard type and mapping for my clients' keyboards (pc105/gb, and mac). What I get when I log in is always a us keyboard map for a pc105 keyboard.
I've tried starting the x2go session with a simple xterm, and found that I can get the correct keyboard mapping as set by the x2go windows client. (I had to touch a file /usr/share/X11/xkb/keymap.dir to get this to work though.)
Since the keyboard map is correct in the Xterm session but wrong in the kde session it looks like x2go is setting the keyboard/map ok but that kde is somehow overriding what is being set by x2go. (I've tried with Keyboard daemon both checked and unchecked in System Settings -> Startup and Shutdown -> Service manager. I'm running with kscreen2 unchecked as that causes other problems with resizing the session window).
Does kde try to set the keyboard type and layout on login?
If so, how can I stop it doing that and accept whatever was set before startkde was run?
Hi there
I have simmilar Problems. After logging in with x2go I always have us keyboard. Different from my direct login I have the IBus keyboard icon im ny system tray. this only shows us keyboard as available. After adding german keyboard to this list my x2go client settings are used as well. To add german keyboard I had to activate "customized active input method" on the "input method" tab first. May be you have to add all your needed keyboard layout to this list and after this your remote selection is used.
I am not realy sure what this IBus thing is all about and why I have to configure it with x2go but not with local login.
regards Martin
Thanks
Roderick Johnstone
Martin
Thanks for your post. I just got to finding that IBus is implicated too, just a few minutes ago (at least when I started typing this)!
For me it was a little more complicated though...
First I found that a console session in KDE was giving me a US keyboard layout too.
I do a kickstart install and had a, what turns out to be, legacy command in there: keyboard uk
This worked in the F20 beta but fails to work in the released version. When I checked the Anaconda/kickstart docs it seems that the kickstart 'keyboard' command was enhanced for F18.
I then looked at my F18 installer written anaconda-ks.cfg file I found that it had: # Keyboard layouts # old format: keyboard uk # new format: keyboard --vckeymap=uk --xlayouts='gb'
so I changed my F20 kickstart file to have: keyboard --vckeymap=uk --xlayouts='gb'
With a new install I then found that the console session had the correct gb keyboard mapping.
Now on to x2go... By setting keyboard layout and keyboard model alternately to (gb, pc105/gb) and then (fr, pc105/fr) I found that the requested keyboard layout was set but only on the first login via x2go. I found I could reset the keyboard if I removed the ~/.config directory. Later I found that all that was needed was to remove the ~/.config/dconf directory.
Console sessions were always right now, no matter what.
As you found out too, in the x2go session the IBus keyboard icon was displayed in the system tray. I then found that by removing all the ibus* packages the keyboard layout was set correctly in the x2go session every time.
Like you, I'm not too sure what IBus is doing but it seems to remember the first keyboard layout used in the x2go sessions and thereafter always use that for x2go sessions, but not console sessions.
I hope that this all remains stable for me now. My experience with the x2go keyboard layout setting is that just as I think I've got it working, it stops working!
Roderick
Am 31.12.2013 12:38, schrieb Roderick Johnstone: ...
Now on to x2go... By setting keyboard layout and keyboard model alternately to (gb, pc105/gb) and then (fr, pc105/fr) I found that the requested keyboard layout was set but only on the first login via x2go. I found I could reset the keyboard if I removed the ~/.config directory. Later I found that all that was needed was to remove the ~/.config/dconf directory.
Console sessions were always right now, no matter what.
As you found out too, in the x2go session the IBus keyboard icon was displayed in the system tray. I then found that by removing all the ibus* packages the keyboard layout was set correctly in the x2go session every time.
Like you, I'm not too sure what IBus is doing but it seems to remember the first keyboard layout used in the x2go sessions and thereafter always use that for x2go sessions, but not console sessions.
I digged a littel deeper in this and found im-chooser. with local login this is set to "none", with x2go login this is set to "IBus". I switched this in my 2go session to None as well an still had us keyboard but no ibus any longer.
After setting german keyboard in the kde keyboard dialog ("input devices" in kde system settings) I got german keyboard after every login. I don't use different keyboard layouts here. Testing with x2go keyboard layout settings does not set the keyboard in the x2go session accordingly (tested with us keyboard layout).
Still confused about this Martin
I hope that this all remains stable for me now. My experience with the x2go keyboard layout setting is that just as I think I've got it working, it stops working!
Roderick _______________________________________________ kde mailing list kde@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/kde New to KDE4? - get help from http://userbase.kde.org
On 31/12/13 13:58, Martin (KDE) wrote:
Am 31.12.2013 12:38, schrieb Roderick Johnstone: ...
Now on to x2go... By setting keyboard layout and keyboard model alternately to (gb, pc105/gb) and then (fr, pc105/fr) I found that the requested keyboard layout was set but only on the first login via x2go. I found I could reset the keyboard if I removed the ~/.config directory. Later I found that all that was needed was to remove the ~/.config/dconf directory.
Console sessions were always right now, no matter what.
As you found out too, in the x2go session the IBus keyboard icon was displayed in the system tray. I then found that by removing all the ibus* packages the keyboard layout was set correctly in the x2go session every time.
Like you, I'm not too sure what IBus is doing but it seems to remember the first keyboard layout used in the x2go sessions and thereafter always use that for x2go sessions, but not console sessions.
I digged a littel deeper in this and found im-chooser. with local login this is set to "none", with x2go login this is set to "IBus". I switched this in my 2go session to None as well an still had us keyboard but no ibus any longer.
After setting german keyboard in the kde keyboard dialog ("input devices" in kde system settings) I got german keyboard after every login. I don't use different keyboard layouts here. Testing with x2go keyboard layout settings does not set the keyboard in the x2go session accordingly (tested with us keyboard layout).
Still confused about this Martin
I hope that this all remains stable for me now. My experience with the x2go keyboard layout setting is that just as I think I've got it working, it stops working!
Roderick
Martin
So, I just did a completely fresh install (with the correct kickstart keyboard command, without any ibus packages and touching /usr/share/X11/xkb/keymap.dir) and used a fresh user account.
The keyboard mappings are still good when connecting via x2go (and changeable via the x2go client)!
I also tried with Mac client and that was able to set the keyboard ok as well, although it didnt want to connect at all with the keyboard type set to "auto".
It sounds like you have yours in a usable state as well now.
Maybe someone who knows more about the IBus and im-chooser stuff can suggest how to make it work with IBus, but at least for me, that doesn't seem to be needed at the moment.
Roderick
On ਮੰਗਲਵਾਰ 31 ਦਸੰਬਰ 2013 09:14 ਸਵੇਰੇ, Roderick Johnstone wrote:
On 31/12/13 13:58, Martin (KDE) wrote:
Am 31.12.2013 12:38, schrieb Roderick Johnstone: ...
Now on to x2go... By setting keyboard layout and keyboard model alternately to (gb, pc105/gb) and then (fr, pc105/fr) I found that the requested keyboard layout was set but only on the first login via x2go. I found I could reset the keyboard if I removed the ~/.config directory. Later I found that all that was needed was to remove the ~/.config/dconf directory.
Console sessions were always right now, no matter what.
As you found out too, in the x2go session the IBus keyboard icon was displayed in the system tray. I then found that by removing all the ibus* packages the keyboard layout was set correctly in the x2go session every time.
Like you, I'm not too sure what IBus is doing but it seems to remember the first keyboard layout used in the x2go sessions and thereafter always use that for x2go sessions, but not console sessions.
I digged a littel deeper in this and found im-chooser. with local login this is set to "none", with x2go login this is set to "IBus". I switched this in my 2go session to None as well an still had us keyboard but no ibus any longer.
After setting german keyboard in the kde keyboard dialog ("input devices" in kde system settings) I got german keyboard after every login. I don't use different keyboard layouts here. Testing with x2go keyboard layout settings does not set the keyboard in the x2go session accordingly (tested with us keyboard layout).
Still confused about this Martin
I hope that this all remains stable for me now. My experience with the x2go keyboard layout setting is that just as I think I've got it working, it stops working!
Roderick
Martin
So, I just did a completely fresh install (with the correct kickstart keyboard command, without any ibus packages and touching /usr/share/X11/xkb/keymap.dir) and used a fresh user account.
The keyboard mappings are still good when connecting via x2go (and changeable via the x2go client)!
I also tried with Mac client and that was able to set the keyboard ok as well, although it didnt want to connect at all with the keyboard type set to "auto".
It sounds like you have yours in a usable state as well now.
Maybe someone who knows more about the IBus and im-chooser stuff can suggest how to make it work with IBus, but at least for me, that doesn't seem to be needed at the moment.
Fedora i18n team (i18n@fedoraproject.org list) can help for ibus/im-chooser
thanks
Roderick Johnstone wrote:
Maybe someone who knows more about the IBus and im-chooser stuff can suggest how to make it work with IBus, but at least for me, that doesn't seem to be needed at the moment.
You need IBus only if you need to enter languages with an alphabet too large to fit on a keyboard. This includes of course the CJK languages (Chinese, Japanese and Korean), but also the scripts used in some other countries such as India to write the local languages. It is also possible to use IBus to enter Latin letters with diacritics (accents etc.), but dead keys are the more convenient approach for that.
Kevin Kofler