Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xkbcomp: Type "ONE_LEVEL" has 1 levels...
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
DevSolar
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2004
Posts: 82

PostPosted: Thu Nov 20, 2008 3:29 pm    Post subject: xkbcomp: Type "ONE_LEVEL" has 1 levels... Reply with quote

It's probably only cosmetic, but I've been wondering.

My X11 setup works fine - DRI and everything.

The only thing that's not-yet-perfect is this message that startx spits:

Code:

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from kkbcomp are not fatal to the X server


I don't see any adverse effects, AltGr works as expected, but I'm in the midst of an aggressive "stop-this-trial-&-error" spree, I'd like to know why this message is generated and where I have to look to fix it.

I googled quite some, but the message is always quoted in the context of other errors, and I couldn't find any hint as to how to fix the cause of the message itself.

I assume that there's a rather trivial misconfiguration somewhere, but I don't have a clue where to start looking...?
Back to top
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Thu Nov 20, 2008 6:28 pm    Post subject: Reply with quote

Could it be an xmodmap thing? What is your output from the command
Code:
xmodmap
Back to top
View user's profile Send private message
DevSolar
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2004
Posts: 82

PostPosted: Sun Nov 30, 2008 6:53 am    Post subject: Reply with quote

I didn't even have xmodmap installed...?

I emerged it, and it says:

Code:

xmodmap:  up to 3 keys per modifier, (keycodes in parentheses):

shift       Shift_L (0x32), Shift_R (0x3e)
lock        Caps_Lock (0x42)
control     Control_L (0x25), Control_R (0x6d)
mod1        Alt_L (0x40), Meta_L (0x9c)
mod2        Num_Lock (0x4d)
mod3
mod4        Super_L (0x7f), Hyper_L (0x80)
mod5        Mode_switch (0x5d),  ISO_Level3_Shift (0x71),   ISO_Level3_Shift (0x7c)
Back to top
View user's profile Send private message
Scytale
n00b
n00b


Joined: 01 May 2003
Posts: 70
Location: Mannheim, BW, Germany

PostPosted: Fri Dec 05, 2008 11:25 am    Post subject: Reply with quote

I am currently having problems using the [Alt]+[.] shortcut in bash when in an xterm. This shortcut should insert the last parameter of the previous command to the current command line, but instead it just creates a "®" character. I am suspecting the xkbcomp warning that this thread is about to have something to do with it.

DevSolar, could you please verify that the following works on your system:

1. Start X, open your favorite terminal emulator (if you can, try it with xterm, please).

2. type "echo foo" (without the quotes) and hit return. "foo" should be printed.

3. type "echo " and hit [Alt]+[.]. "foo" should be added to your command line to make it read "echo foo".

Does this work or does step 3 result in "echo ®" or some other strange character?

Thanks in advance!
_________________
Never stop using your brain.
Back to top
View user's profile Send private message
zolar czakl
Apprentice
Apprentice


Joined: 25 Sep 2004
Posts: 162
Location: UMRK

PostPosted: Sat Dec 06, 2008 3:36 pm    Post subject: Reply with quote

Try with
Code:
Option "XkbOptions" "lv3:ralt_switch_multikey"
in xorg.conf (Section "InputDevice")
Back to top
View user's profile Send private message
Scytale
n00b
n00b


Joined: 01 May 2003
Posts: 70
Location: Mannheim, BW, Germany

PostPosted: Sun Dec 07, 2008 10:49 am    Post subject: Reply with quote

I found out that in urxvt [Alt]+[.] works fine. Since I'm normally not using xterm anyway, I won't investigate further.
_________________
Never stop using your brain.
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1917

PostPosted: Sun Dec 07, 2008 1:27 pm    Post subject: Reply with quote

I had the same problem and my german keyboard layout dissappeared.
Remerging xorg-server fixed it.
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum