Sunday, June 26, 2016

Fedora 24 On A Mythlogic Chaos 1313 (aka Clevo w230ST)

Its been a while since I have update this little dusty corner of the interwebs; hopefully I will provide more content regularly.


Out of the box.    I downloaded the f24x64 workstation/live image, burn't it to an 4GB USB stick, rebooted into setup, and did a 'install' operation.   I did a fresh install; wiping my drives clean from a f23 install. 

You can look back at my f19f20, and f21 installs on same hardware.   I don't recall how I got to f22, but I know I used dnf upgrade to go from f22 to f23.

SNX/Checkpoint VPN

To get SNX/SSL VPN working, basically I followed the exact same stuff I did for f20, and f21:

#Get a JDK & install
su - root
#cd ${HOME}/.mozilla/plugins
#ln -s ${JAVA_HOME}/jre/lib/amd64/
#download  (you should be able to get it from your vpn login webpage under "settings")
su - root
setsebool -P unconfined_mozilla_plugin_transition 0
yum install /lib/ xterm
#(re)start firefox

I used Oracle JDK 1.8.0_92.  

Edge Scrolling on the Trackpad 

There is lots of noise on the interwebs about gnome 3.20 control center not having some options for the track pad, especially edge scrolling.    I use edges for scrolling; so this was a pretty significant issue.   Weeding through all the noise, there does appear to an issue or bug somewhere.   I discovered that the following command line, enables edge scrolling on my rig

xinput set-prop 12 --type=int --format=8 283 0 1 0

The backstory on this gem:  
  1. use xinput --list  to find the id of the touchpad 
  2. use xinput list-props <id> to find the number of the attribute that controls edge scrolling
  3. use xinput set-prop <id> ... <prop number> to 'move' the "1" from left to middle.  Left position must be 2 finger scrolling, middle position seem like edge scrolling, not sure what the last position does..
The list operation provides:

⎡ Virtual core pointer                     id=2 [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer               id=4 [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad               id=12 [slave  pointer  (2)]
⎣ Virtual core keyboard                    id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard              id=5 [slave  keyboard (3)]
    ↳ Power Button                             id=6 [slave  keyboard (3)]
    ↳ Video Bus                                id=7 [slave  keyboard (3)]
    ↳ Video Bus                                id=8 [slave  keyboard (3)]
    ↳ Power Button                             id=9 [slave  keyboard (3)]
    ↳ Sleep Button                             id=10 [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard             id=11 [slave  keyboard (3)]

Using the ID from above, in the list props operation, that provides:

Device 'SynPS/2 Synaptics TouchPad':
 Device Enabled (136): 1
 Coordinate Transformation Matrix (138): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
 libinput Tapping Enabled (272): 1
 libinput Tapping Enabled Default (273): 0
 libinput Tapping Drag Lock Enabled (274): 0
 libinput Tapping Drag Lock Enabled Default (275): 0
 libinput Accel Speed (276): 0.154412
 libinput Accel Speed Default (277): 0.000000
 libinput Natural Scrolling Enabled (278): 0
 libinput Natural Scrolling Enabled Default (279): 0
 libinput Send Events Modes Available (256): 1, 1
 libinput Send Events Mode Enabled (257): 0, 0
 libinput Send Events Mode Enabled Default (258): 0, 0
 libinput Left Handed Enabled (280): 0
 libinput Left Handed Enabled Default (281): 0
 libinput Scroll Methods Available (282): 1, 1, 0
 libinput Scroll Method Enabled (283): 1, 0, 0
 libinput Scroll Method Enabled Default (284): 1, 0, 0
 libinput Disable While Typing Enabled (285): 1
 libinput Disable While Typing Enabled Default (286): 1
 Device Node (259): "/dev/input/event7"
 Device Product ID (260): 2, 7
 libinput Drag Lock Buttons (287): <no items>
 libinput Horizonal Scroll Enabled (261): 1

After applying the set-prop command, list-props displayed (for attribute 283):

 libinput Scroll Method Enabled (283): 0, 1, 0

Note(s): I pulled all this xinput tweaking from the aforementioned links; I didn't come up with any of this on my own. The attribute number (283) could change, I guess the input id could change too. I don't know if you can just hammer a hard coded value for these things.  Finally, I suppose, it would be easy to whittle up a startup script of some sort that could re-apply this setting on startup or login (setting is lost during reboots).


As before, I just copied and pasted and otherwise followed the directions from here.  The basic nouveau stuff is working fine and that suits my needs.

1 comment:

  1. This comment has been removed by a blog administrator.