On 23.04.2015 18:17, Bob Goodwin ~ Zuni, Virginia, USA wrote:
> 
> 
> On 04/23/2015 07:56 AM, poma wrote:
>> On 23.04.2015 13:29, Bob Goodwin ~ Zuni, Virginia, USA wrote:
>>>
>>> On 04/23/2015 06:49 AM, poma wrote:
>>>> man 5 xorg.conf
>>>> ...
>>>>
>>>> DESCRIPTION
>>>>          Xorg uses a configuration file called xorg.conf and files ending 
>>>> in the
>>>>          suffix .conf from the directory xorg.conf.d for its initial 
>>>> setup.  The
>>>>          xorg.conf configuration file is searched for in  the  following  
>>>> places
>>>>          when the server is started as a normal user:
>>>>
>>>>              ...
>>>>              /etc/X11/$XORGCONFIG
>>>>              ...
>>>>
>>>> i.e. create your own
>>>> /etc/X11/xorg.conf.d/foo-bar.conf
>>>> <SUBSTANCE>
>>> .
>>>
>>> I tried adding the following, called it "10-evdev.conf"
>>>
>>> [root@box10 bobg]# ll /etc/X11/xorg.conf.d/
>>> total 8
>>> -rw-r--r--. 1 root root 232 Apr 22 04:48 00-keyboard.conf
>>> -rw-r--r--. 1 root root 355 Apr 23 07:16 10-evdev.conf
>>>
>>> [root@box10 bobg]# cat /etc/X11/xorg.conf.d/10-evdev.conf
>>>
>>> Section "InputClass"
>>>        Identifier "whatever"
>>>        MatchIsPointer "on"
>>>        Option "Emulate3Buttons" "on"
>>> EndSection
>>>
>>> Section "InputClass"
>>>        Identifier        "system-setup-keyboard"
>>>        MatchIsKeyboard     "on"
>>>        Option        "XkbOptions"    "terminate:ctrl_alt_bksp"
>>> EndSection
>>>
>>> Then rebooted but that apparently isn't what it needs? What am I doing
>>> wrong?
>>>
>>> Bob
>>>
> .
> 
> # ll  /etc/X11/xorg.conf.d/
> total 12
> -rw-r--r--. 1 root root 232 Apr 22 04:48 00-keyboard.conf
> -rw-r--r--. 1 root root 153 Apr 23 11:17 10-evdev.conf
> -rw-r--r--. 1 root root 217 Apr 23 11:24 20-evdev-mouse.conf
> 
> Ok, this has evolved to:
> 
> Section "InputClass"
>        Identifier "middle button emulation class"
>        MatchIsPointer "on"
>        Option "Emulate3Buttons" "on"
>        Driver "evdev"
>      EndSection
> 
> It needed the Driver "evdev" line to work. I never used that before? I 
> took that from your "00-evdev-mouse.conf"
> 

It is possible that you i.e. Fedora installed "xorg-x11-drv-libinput"
with its configuration file:

/usr/share/X11/xorg.conf.d/90-libinput.conf 
# Match on all types of devices but tablet devices and joysticks

Section "InputClass"
        Identifier "libinput pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection
..


So if you do not explicitly define 'evdev' as "input driver" driver,
'libinput' as another "input driver" will "steal" focus on "mouse".

'libinput' as "input driver" is actually intended for Wayland - a simpler 
replacement for X,
although it can be used as *very* basic "input driver" for X also.

http://wayland.freedesktop.org

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you are running the Xfce on top of the X, thus *not* the Wayland,
you really do not need 'libinput', so you can safely:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# yum erase xorg-x11-drv-libinput

Thereafter your configuration file
i.e.
/etc/X11/xorg.conf.d/10-evdev.conf
would no longer need the line:
Driver "evdev"


>> Maybe it's just enough to restart X. ;)
> I don't know how to restart X? Must be a systemctl restart  command. 
> Whatever I tried didn't work, I just reboot and wait ...
> 

$ man 1 Xorg
...
KEYBOARD
       The  Xorg  server is normally configured to recognize various special 
combinations
       of key presses that instruct the server to perform some action, rather  
than  just
       sending  the  key press event to a client application. These actions 
depend on the
       XKB keymap loaded by a particular keyboard device and may or may not be  
available
       on a given configuration.

       The following key combinations are commonly part of the default 
XKEYBOARD keymap.

       Ctrl+Alt+Backspace
               Immediately  kills the server -- no questions asked. It can be 
disabled by
               setting the DontZap xorg.conf(5) file option to a TRUE value.

               It should be noted that  zapping  is  triggered  by  the  
Terminate_Server
               action in the keyboard map. This action is not part of the 
default keymaps
               but can be enabled with the XKB option "terminate:ctrl_alt_bksp".
..


If this option is needed but not enabled by configuration

# localectl set-x11-keymap "" "" "" terminate:ctrl_alt_bksp

will (re)create the required configuration file i.e.

/etc/X11/xorg.conf.d/00-keyboard.conf
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection


$ man 1 localectl


>> See line:
>> Option        "XkbOptions"    "terminate:ctrl_alt_bksp"
>>
>>
>> Here's one I use:
>>
>> $ cat /etc/X11/xorg.conf.d/00-evdev-mouse.conf
>> Section "InputClass"
>>          Identifier "Device Accel Velocity Scaling"
>>          MatchIsPointer "on"
>>          MatchDevicePath "/dev/input/event*"
>>          Option "VelocityScale" "1000"
>>          Driver "evdev"
>> EndSection
>>
>>
>> $ pkexec yum install xorg-x11-drv-evdev
>> $ man 4 evdev
> .
> Yes, that restores the Sensitivity adjustment. Without that I just ran 
> the Acceleration at max! Now I have another adjustment to play with.
> 

Yes, that was the default "mouse" movement physics, several versions back, Xorg 
versions.

Bob, you have understood what the libinput developer does not seem to be 
understood! ;)

'VelocityScale' equivalent in libinput
https://bugzilla.redhat.com/show_bug.cgi?id=1195886

> Thanks, as always you are a good source of help,
> 
> Bob
> 


No problemos, old cowboy. ;)

-- 
test mailing list
test@lists.fedoraproject.org
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test

Reply via email to