Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xkb wont switch since 1.13.1.901
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
syn0ptik
Apprentice
Apprentice


Joined: 09 Jan 2013
Posts: 267

PostPosted: Mon Feb 11, 2013 10:59 am    Post subject: xkb wont switch since 1.13.1.901 Reply with quote

since update on xorg 1.13.1.901 xkb stop shing layout.
Code:
Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option         "Protocol" "Standard"
    Option         "XkbModel" "evdev" ## or "pc104" anyway not working
        Option         "XkbLayout" "us,de,ru(winkeys)"
           Option         "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll"
        Option      "SendCoreEvents" "on"
        Option      "XkbRules" "xorg"
        Option      "Ignore" "off"

EndSection


Last edited by syn0ptik on Tue Feb 12, 2013 12:10 am; edited 1 time in total
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Mon Feb 11, 2013 12:04 pm    Post subject: Reply with quote

That snippet you've posted was most likely never used (as it's invalid).
Back to top
View user's profile Send private message
syn0ptik
Apprentice
Apprentice


Joined: 09 Jan 2013
Posts: 267

PostPosted: Mon Feb 11, 2013 11:35 pm    Post subject: Reply with quote

Your version exactly as I say (1.13.1.901) not less?
You can delete last 3 lines from that snip, it realy vork with (1.10.4).

Or it maybe gnome use that keys, with new gnome-session (3.6.2) I cant restart the Xserver with combination Shift+Alt+del
Back to top
View user's profile Send private message
syn0ptik
Apprentice
Apprentice


Joined: 09 Jan 2013
Posts: 267

PostPosted: Thu Feb 14, 2013 3:20 am    Post subject: Reply with quote

Also anyone here use kms with one of the last xorg's? The text therminals working fine or if push ctrl-alt-F1 screen not open tty0 terminal?

strange, question about xkblayout still open too.
Back to top
View user's profile Send private message
wuesti
Apprentice
Apprentice


Joined: 07 Mar 2009
Posts: 191

PostPosted: Thu Feb 14, 2013 2:29 pm    Post subject: Re: xkb wont switch since 1.13.1.901 Reply with quote

syn0ptik wrote:
since update on xorg 1.13.1.901 xkb stop shing layout.
Code:
Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
    Option         "XkbModel" "evdev" ## or "pc104" anyway not working
        Option         "XkbLayout" "us,de,ru(winkeys)"

evdev is the driver. So try this:
Code:
Section "InputClass"
        Identifier "Keyboard0"
        Driver "evdev"
        Option "xkbLayout"  "us,de,ru"
        MatchIsKeyboard "on"
EndSection

What MatchIsKeyboard do I don't know.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Thu Feb 14, 2013 9:11 pm    Post subject: Reply with quote

@wuesti: you're missing '/dev/input/event*' filter.
Back to top
View user's profile Send private message
syn0ptik
Apprentice
Apprentice


Joined: 09 Jan 2013
Posts: 267

PostPosted: Fri Feb 15, 2013 10:19 am    Post subject: Reply with quote

no i's not working with flags
Code:

Driver      "evdev"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Option         "Protocol" "Standard"
Option         "XkbModel" "pc104"
Option         "XkbLayout" "us,de,ru(winkeys)"
Option         "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll"

and if remove Match* flags xorg stars, but keyboard not woring from evdev
Back to top
View user's profile Send private message
wuesti
Apprentice
Apprentice


Joined: 07 Mar 2009
Posts: 191

PostPosted: Fri Feb 15, 2013 3:59 pm    Post subject: Reply with quote

Did you reemerge all drivers? You get them with
Code:
qlist -I -C x11-drivers/
Back to top
View user's profile Send private message
syn0ptik
Apprentice
Apprentice


Joined: 09 Jan 2013
Posts: 267

PostPosted: Fri Feb 15, 2013 10:58 pm    Post subject: Reply with quote

yes it does
Code:
qlist -v -I -C x11-drivers
x11-drivers/ati-drivers-13.1
x11-drivers/nvidia-drivers-313.18
x11-drivers/xf86-input-evdev-2.7.3
x11-drivers/xf86-input-keyboard-1.6.2
x11-drivers/xf86-input-mouse-1.8.1
x11-drivers/xf86-input-synaptics-1.6.2-r1
x11-drivers/xf86-input-tslib-0.0.6-r2
x11-drivers/xf86-input-void-1.4.0
x11-drivers/xf86-video-ati-7.0.0-r1
x11-drivers/xf86-video-fbdev-0.4.3
x11-drivers/xf86-video-glint-1.2.8
x11-drivers/xf86-video-i128-1.3.6
x11-drivers/xf86-video-intel-2.20.19
x11-drivers/xf86-video-mach64-6.9.4
x11-drivers/xf86-video-mga-1.6.2
x11-drivers/xf86-video-nouveau-1.0.6
x11-drivers/xf86-video-nv-2.1.20
x11-drivers/xf86-video-openchrome-0.3.1
x11-drivers/xf86-video-r128-6.9.1
x11-drivers/xf86-video-s3-0.6.5
x11-drivers/xf86-video-s3virge-1.10.6
x11-drivers/xf86-video-savage-2.3.6
x11-drivers/xf86-video-sis-0.10.7
x11-drivers/xf86-video-tdfx-1.4.5
x11-drivers/xf86-video-trident-1.3.6-r1
x11-drivers/xf86-video-v4l-0.2.0
x11-drivers/xf86-video-vesa-2.3.2
Back to top
View user's profile Send private message
syn0ptik
Apprentice
Apprentice


Joined: 09 Jan 2013
Posts: 267

PostPosted: Wed Feb 20, 2013 12:08 am    Post subject: Reply with quote

anyone?
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Wed Feb 20, 2013 2:29 am    Post subject: Reply with quote

Pastebin Xorg log.
Back to top
View user's profile Send private message
syn0ptik
Apprentice
Apprentice


Joined: 09 Jan 2013
Posts: 267

PostPosted: Wed Feb 20, 2013 8:10 am    Post subject: Reply with quote

here
http://pastebin.com/y96Jbsri
with
Code:
Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option         "Protocol" "Standard"
        Option         "XkbModel" "pc105"
        Option         "xkbLayout" "us,de,ru(winkeys)"
        Option         "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll"

EndSection

I can't make it work with evdev.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Wed Feb 20, 2013 8:19 am    Post subject: Reply with quote

First of all, do yourself a favor and unmerge every single video driver that you aren't using - there's just too much noise in this log.
Second, is there any reason for not using evdev driver ?
Back to top
View user's profile Send private message
syn0ptik
Apprentice
Apprentice


Joined: 09 Jan 2013
Posts: 267

PostPosted: Wed Feb 20, 2013 9:01 am    Post subject: Reply with quote

>Second, is there any reason for not using evdev driver ?
how?
could you give a sample?
I found one, but for xorg.conf.d/ I've not this directory and use X -configure for makeing sample configuration on livecd.
Back to top
View user's profile Send private message
syn0ptik
Apprentice
Apprentice


Joined: 09 Jan 2013
Posts: 267

PostPosted: Thu Feb 21, 2013 10:17 am    Post subject: Reply with quote

I'm afraid why it's not working, but ctrl+shift+backspace notworking too.
Code:
#setxkbmap -option grp:switch,grp:alts_toggle us,ru terminate:ctrl_alt_bkspc
# setxkbmap -query
rules:      base
model:      pc105
layout:     us,ru
variant:    terminate:ctrl_alt_bkspc
options:    grp:switch,grp:alts_toggle,grp:switch,grp:alts_toggle,grp:lctrl_lshift_toogle,grp_led:scroll,grp:lctrl_lshift_toogle,grp_led:scroll


can gnome override this options somewhere?
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Thu Feb 21, 2013 1:06 pm    Post subject: Reply with quote

Use of setxkbmap aside, IIRC terminate:ctrl_alt_bkspc belongs to options too, not to variant.
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