You are not logged in.

#1 2011-08-10 12:47:38

varliukstis
Member
Registered: 2011-08-10
Posts: 19

[SOLVED]Keyboard input language glitch using XFCE

Hello, I am long-term Gnome user on Dell laptop with ATI and finally I changed my desktop environment to XFCE (to get some of 3D my computer should have).. One quite weird problem came around which wasnt while using Gnome. I've searched forums how it would be possible to fix it, nothing seemed to work.
As I use several input languages (2 would be exact- en-us and lt), I often change them. While changed to lt input, numeric keys shanges to letters (i.e. 2 equals to č, etc.) and it is possible to input numbers while in that language by pressing right-alt. After installing xfce I found out, that the input letters only shows up while pressing right-alt and all other time it is as there would be us input language set up... Is there any way to switch it?  (there should be one, as with gnome there are no problems)

Perhaps there are any suggestions how to fix this or any workarounds?

Last edited by varliukstis (2011-08-14 16:10:23)

Offline

#2 2011-08-12 09:34:49

varliukstis
Member
Registered: 2011-08-10
Posts: 19

Re: [SOLVED]Keyboard input language glitch using XFCE

It seems that

setxkbmap -option grp:switch,grp:shift_toggle,grp_led:scroll us,lt

temporarilly fixes the problem (this i got in another arch forum), but after reboot it returns to being odd... I can add a bash script to autorun, but this would be only workaround, not the fix... Perhaos anyone got any suggestions?

Offline

#3 2011-08-12 14:56:02

bocke
Member
Registered: 2011-07-15
Posts: 40

Re: [SOLVED]Keyboard input language glitch using XFCE

Do you use xfce4-xkb-plugin? Did you set your own shortcuts in properties ( I personally use alt+shift for language changing and right alt for 3rd level).

For example, in my language I get '@' by pressing 'right alt' + 'v' and it works.

Btw, there should be done something with those ugly country icons, though. smile

Last edited by bocke (2011-08-12 14:56:54)

Offline

#4 2011-08-12 15:02:47

varliukstis
Member
Registered: 2011-08-10
Posts: 19

Re: [SOLVED]Keyboard input language glitch using XFCE

Yes, everything is set right and should work just as You described....

Offline

#5 2011-08-12 15:08:50

bocke
Member
Registered: 2011-07-15
Posts: 40

Re: [SOLVED]Keyboard input language glitch using XFCE

Did you try changing to alternative keyboard layout? Does it work that way?

Which language are you talking about?

Last edited by bocke (2011-08-12 15:09:55)

Offline

#6 2011-08-12 15:16:29

varliukstis
Member
Registered: 2011-08-10
Posts: 19

Re: [SOLVED]Keyboard input language glitch using XFCE

Alternatives works, but they are so uncomfortable.. I mean in alternative type, all special letters are not on numbers, but replaces symbols such as q, w, x, etc. I am talking about Lithuanian language (lt US input type)

Offline

#7 2011-08-12 16:22:43

bocke
Member
Registered: 2011-07-15
Posts: 40

Re: [SOLVED]Keyboard input language glitch using XFCE

I tried Lithuanian (standard) and it seems to work on my setup.

Test:
–”nµĸ„

Can you post a screenshot of your settings?

Offline

#8 2011-08-12 16:32:06

varliukstis
Member
Registered: 2011-08-10
Posts: 19

Re: [SOLVED]Keyboard input language glitch using XFCE

Yes, standart type works, but its layout is very impractical (changes too many keys so I can't recall anybody using it - it is an old relic..).

What kind of settings would you need?

Offline

#9 2011-08-12 17:46:04

bocke
Member
Registered: 2011-07-15
Posts: 40

Re: [SOLVED]Keyboard input language glitch using XFCE

The screenshot of the properties dialog. Which particular layout do you use?

Offline

#10 2011-08-12 18:20:59

varliukstis
Member
Registered: 2011-08-10
Posts: 19

Re: [SOLVED]Keyboard input language glitch using XFCE

keyblayout.th.jpg
You mean this? After imputing the command I've posted earlyer it looks like this:
keybnew.th.jpg

Another thing is that alt+shift still works later giving thoughts about some inner conflicts

Offline

#11 2011-08-12 18:47:48

bocke
Member
Registered: 2011-07-15
Posts: 40

Re: [SOLVED]Keyboard input language glitch using XFCE

Try this setting:

Change layout option: Alt+Shift
Compose key position: Right Alt

Now it should work.

The first option is for changing the layout, the other is for accessing so called "3rd level" characters, ie special characters you can't get with shift.

Last edited by bocke (2011-08-12 18:48:21)

Offline

#12 2011-08-12 19:00:00

varliukstis
Member
Registered: 2011-08-10
Posts: 19

Re: [SOLVED]Keyboard input language glitch using XFCE

Well, it gives no difference  if not used after early mentioned this input line:

setxkbmap -option grp:switch,grp:shift_toggle,grp_led:scroll us,lt

afterwards everything works flawlesly... Just until restart... After next boot everything goes back to begining... A very stubborn bug, I can say big_smile

Offline

#13 2011-08-12 19:23:01

bocke
Member
Registered: 2011-07-15
Posts: 40

Re: [SOLVED]Keyboard input language glitch using XFCE

Restart (or logout and then login), don't touch anything, then open terminal emulator and type in:

cat .config/xfce4/panel/xkb-plugin*.rc
ls -l .config/xfce4/panel/xkb-plugin*.rc

What's the output?

Last edited by bocke (2011-08-12 19:24:44)

Offline

#14 2011-08-12 19:35:06

varliukstis
Member
Registered: 2011-08-10
Posts: 19

Re: [SOLVED]Keyboard input language glitch using XFCE

Before restart, when everything works great:

display_type=0
group_policy=2
default_group=1
never_modify_config=false
model=evdev
layouts=us,lt
variants=euro,us
toggle_option=grp:alt_shift_toggle
compose_key_position=compose:ralt

-rw-r--r-- 1 andrius users 185 Aug 12 22:26 .config/xfce4/panel/xkb-plugin-5.rc 

After restart:

display_type=0
group_policy=2
default_group=1
never_modify_config=false
model=evdev
layouts=us,lt
variants=euro,us
toggle_option=grp:alt_shift_toggle
compose_key_position=compose:ralt

-rw-r--r-- 1 andrius users 185 Aug 12 22:26 .config/xfce4/panel/xkb-plugin-5.rc

So nothing really changes but there is a lot of difference...

Offline

#15 2011-08-12 20:06:52

varliukstis
Member
Registered: 2011-08-10
Posts: 19

Re: [SOLVED]Keyboard input language glitch using XFCE

It seems something overrides xkb-plugin-5.rc, as I've modified it like this:

display_type=0
group_policy=2
default_group=1
never_modify_config=true
model=evdev
layouts=us,lt
variants=
toggle_option=grp:alt_shift_toggle
compose_key_position=compose:alt

now everything is fine, but change layout doesn't work...  It seems that opening keyboard layouts busts input... Perhaps it doesn't understand input: 20110812230440161x51scr.png

Offline

#16 2011-08-12 20:15:44

bocke
Member
Registered: 2011-07-15
Posts: 40

Re: [SOLVED]Keyboard input language glitch using XFCE

Are you talking about specific application or system wide settings? Have you tried typing in your favorite editor?

What is your locale setting in rc.conf? Did you generate locales on install?

Offline

#17 2011-08-12 20:27:22

varliukstis
Member
Registered: 2011-08-10
Posts: 19

Re: [SOLVED]Keyboard input language glitch using XFCE

No, it is system wide. I didn't generate locales during install as it wasn't needed while installing gnome/testing kde. My locale setting in rc. conf is

LOCALE="en_US.UTF-8"

fBy the way, It seems that I misled You in earlyer post where outputs were... I forgot that I added autorun bash so it would fix my input at least partly. There is the output after restart, suggesting that really something is misunderstood:

model=evdev
layouts=us,lt
variants=,O
toggle_option=grp:alt_shift_toggle
compose_key_position=compose:ralt

-rw-r--r-- 1 andrius users 183 Aug 12 23:10 .config/xfce4/panel/xkb-plugin-5.rc

Offline

#18 2011-08-13 13:37:59

bocke
Member
Registered: 2011-07-15
Posts: 40

Re: [SOLVED]Keyboard input language glitch using XFCE

Your best bet would be to check if there's another xkb setting tool loaded. Or a custom script (like the one you mentioned). Maybe some Gnome package?

Offline

#19 2011-08-14 16:09:38

varliukstis
Member
Registered: 2011-08-10
Posts: 19

Re: [SOLVED]Keyboard input language glitch using XFCE

Hmm... I got solution in lithuanian forum... It seems that there is a problem in selecting particular payout (in example US/standart, etc). The solution is as simple as just not to select any particular keyboard and everything works.. I mean no detalisation is better than exact layout in this case...  Simple stupid as it could be said smile Anyway, problem solved and thank you for your help smile

Offline

#20 2011-08-14 23:43:30

bocke
Member
Registered: 2011-07-15
Posts: 40

Re: [SOLVED]Keyboard input language glitch using XFCE

Glad you solved it.  I was thinking about telling you to try some local forum. smile

Last edited by bocke (2011-08-14 23:45:19)

Offline

Board footer

Powered by FluxBB