LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Update niggles with keyboard & Synaptics driver (https://www.linuxquestions.org/questions/slackware-14/update-niggles-with-keyboard-and-synaptics-driver-877442/)

business_kid 04-27-2011 01:15 PM

Update niggles with keyboard & Synaptics driver
 
I've gone from 13.1 to 13.37, and hit this problem. The Irish (~=gb) is gone to US, and the bar along the side of the touchpad no longer works.

So I went to the Backup (Yes, stop laughing, I had a backup) and copied in /etc/hal/fdi/policy/* which had the files for sorting slackware-13.1, but _they_ did nothing after a reboot. I have
Code:

bash-4.1$ cat 10-keymap.fdi
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.keys">
      <merge key="input.x11_options.XkbLayout" type="string">gb</merge>
      <merge key="input.xkb.variant" type="string" />
    </match>
  </device>
</deviceinfo>
bash-4.1$ cat 11-x11-synaptics.fdi
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.touchpad">
        <merge key="input.x11_driver" type="string">synaptics</merge>
        <!-- Enable tap click by default: -->
        <merge key="input.x11_options.TapButton1" type="string">1</merge>
        <!-- Arbitrary options can be passed to the driver using
            the input.x11_options property since xorg-server-1.5. -->
        <!-- EXAMPLES:
        Switch on shared memory, enables the driver to be configured at runtime
        <merge key="input.x11_options.SHMConfig" type="string">true</merge>

        Maximum movement of the finger for detecting a tap
        <merge key="input.x11_options.MaxTapMove" type="string">2000</merge>

        Enable vertical scrolling when dragging along the right edge -->
        <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>

        <!--Enable vertical scrolling when dragging with two fingers anywhere on the touchpad
        <merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>

        Enable horizontal scrolling when dragging with two fingers anywhere on the touchpad
        <merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge>

        If on, circular scrolling is used
        <merge key="input.x11_options.CircularScrolling" type="string">true</merge>

        For other possible options, check CONFIGURATION DETAILS in synaptics man page -->


    </match>
  </device>
</deviceinfo>

What did I do wrong?

piratesmack 04-27-2011 04:08 PM

Not sure about the first one, but synaptics configuration is done by xorg.conf instead of HAL in Current

Copy /usr/share/X11/xorg.conf.d/50-synaptics.conf into /etc/X11/xorg.conf.d and make your changes. I think you'll just have to add:
Code:

Option "VertEdgeScroll" "true"
See the synaptics man page for all available options

vulcan59 04-27-2011 04:24 PM

The keyboard layout is handled the same way as synaptics but with file /etc/X11/xorg.conf.d/90-keyboard-layout.conf. This is mentioned in the file CHANGES_AND_HINTS.TXT for 13.37. Well worth a read if you haven't already.

business_kid 04-28-2011 02:51 AM

Thanks, folks. Back to xorg.conf.d, it seems. Last time it was moved into hal.


All times are GMT -5. The time now is 03:38 AM.