public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Valmor de Almeida <val.gentoo@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X
Date: Sun, 20 Feb 2011 23:07:20 -0500	[thread overview]
Message-ID: <4D61E4F8.40308@gmail.com> (raw)
In-Reply-To: <201102201504.14771.michaelkintzios@gmail.com>

On 02/20/2011 10:03 AM, Mick wrote:
[snip]
> 
> Have you had a look at:
> 
> http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.8-upgrade-guide.xml

Yes. Got some info there.

> 
> Also, have a read of the InputClass section in man xorg.conf and the files in 
> /usr/share/X11/xorg.conf.d/.

This was helpful.
> 
> 
[snip]
>>
>> In the past I used
>>
>> Option "ButtonMapping" "3 2 1"
> 
> Do you want this to work for your touchpad with the synaptics driver, or do 
> you want this to work with any physical buttons on the laptop, or even an 
> external (e.g. USB) mouse?

The latter.

> 
> If the former, then have a look at the NOTES at the end of the man synaptics 
> page, where it mentions button mapping.

man pages (evdev and xorg.conf) were really helpful.

> 
> For non tap buttons you can try setting this option in an InputClass section 
> in your xorg.conf for an InputClass device mouse:
> 
> Section "InputClass"
>         Identifier  "mouse catchall"
>         Driver      "evdev"
>         MatchIsPointer "on"
>         MatchDevicePath "/dev/input/event*"
>         Option      "Protocol" "auto"
>         Option "ButtonMapping" "3 2 1"
> EndSection

I tried the above for the Identifier "evdev pointer catchall" in the
xorg.conf file and both the usb mouse and trackpoint get their buttons
inverted as desired. However the touchpad buttons do not get inverted. I
am using xorg.conf.d/ with the synaptics file: 10-synaptics.conf

Section "InputClass"
 Identifier "synaptics touchpad catchall"
 Driver     "synaptics"
 Option     "Protocol" "auto-dev"
 Option     "HorizEdgeScroll" "true"
 Option     "VertEdgeScroll" "true"
 Option     "AutoServerLayout"     "on"
EndSection

which apparently needs to be read before the keyboard conf: 30-keyboard.conf

Section "InputClass"
 Identifier "evdev keyboard catchall"
 MatchIsKeyboard "on"
 MatchDevicePath "/dev/input/event*"
 Driver     "evdev"
 Option     "XkbOptions" "terminate:ctrl_alt_bksp"
 Option     "AutoSeverLayout" "on"
EndSection

otherwise my keyboard keybindings do not work. I have also tried the
pointer InputClass outside the xorg.conf file, that is, inside the
xorg.conf.d/ directory. As long as the 10-synaptics.conf file is read
first, the keyboard config works so do the usb mouse and trackpoint
(with inverted buttons). However so far I have not been able to get the
touchpad buttons to be inverted.

This is a minor thing I can deal with later.

Thanks,

--
Valmor



> 
>> which apparently does not work here. Last but not least, how do I get
>> the good old  ctrl-alt-backspace  keybinding to kill X?
> 
> You'll need to define this in the InputClass that deals with the keyboard:
> 
> Section "InputClass"
>        Identifier  "keyboard catchall"
>        Driver      "evdev"
>        MatchIsKeyboard "on"
>        MatchDevicePath "/dev/input/event*"
>        Option "XkbLayout" "gb"
>        Option "XkbOptions" "terminate:ctrl_alt_bksp"
> EndSection
> 
> HTH.




  reply	other threads:[~2011-02-21  4:04 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-19 17:44 [gentoo-user] help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X Valmor de Almeida
2011-02-19 18:03 ` [gentoo-user] " Nikos Chantziaras
2011-02-19 18:24   ` Valmor de Almeida
2011-02-19 18:43     ` Nikos Chantziaras
2011-02-19 18:45     ` Dale
2011-02-19 19:38     ` Valmor de Almeida
2011-02-19 18:07 ` [gentoo-user] " Mark Knecht
2011-02-19 18:32   ` Dale
2011-02-19 18:46     ` [gentoo-user] " Nikos Chantziaras
2011-02-19 19:32       ` Dale
2011-02-19 19:48       ` Valmor de Almeida
2011-02-20 17:53         ` Neil Bothwick
2011-02-21  3:43           ` Valmor de Almeida
2011-02-19 20:14       ` Mark Knecht
2011-02-19 20:35         ` Nikos Chantziaras
2011-02-19 20:41           ` Mark Knecht
2011-02-19 20:53             ` Valmor de Almeida
2011-02-19 20:59             ` Nikos Chantziaras
2011-02-19 23:59             ` Mick
2011-02-20  0:25               ` Valmor de Almeida
2011-02-20 15:03                 ` Mick
2011-02-21  4:07                   ` Valmor de Almeida [this message]
2011-02-21  8:10                     ` Mick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D61E4F8.40308@gmail.com \
    --to=val.gentoo@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox