WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: wlan and touchpad  (Read 1939 times)

Offline SergeiAlekseev

  • Newbie
  • *
  • Posts: 1
wlan and touchpad
« on: June 06, 2017, 06:19:52 AM »
hello
1 How to connect to AP with ' in ESSID?


2 How to disable Synaptic's tap-to-click? That feature must be disabled by default i think.

Thank you and excuse me for my broken English.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: wlan and touchpad
« Reply #1 on: June 06, 2017, 06:45:58 AM »
I don't know about SSIDs containing single quotes. Can you connect from other devices? Have you tried connecting manually? The single quote might need proper escaping which the wifi.sh script maybe isn't aware of yet.

For the touch pad, you can create an Xorg config like this
/usr/local/share/X11/xorg.conf.d/50-synaptics.conf
Code: [Select]
Section "InputClass"
    Identifier "touchpad"
    Driver "synaptics"
    MatchIsTouchpad "on"
        Option "TapButton1" "1"
        Option "TapButton2" "0"
        Option "TapButton3" "0"
        Option "VertEdgeScroll" "on"
        Option "VertTwoFingerScroll" "on"
        Option "HorizEdgeScroll" "off"
        Option "HorizTwoFingerScroll" "off"
EndSection
Change
  Option "TapButton1" "1" 
to  0, off, or false .
Then add the file to your backup
Code: [Select]
echo "usr/local/share/X11/xorg.conf.d/50-synaptics.conf" >> /opt/.filetool.lst
filetool.sh -b
Download a copy and keep it handy: Core book ;)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: wlan and touchpad
« Reply #2 on: June 06, 2017, 06:49:19 AM »
If the above config doesn't work, there's also that other driver for simpler touchpads. Stencil?
Code: [Select]
Section "InputClass"
Identifier       "Touchpad Defaults"
Option           "SendCoreEvents"    "true"
Option           "SHMConfig"         "true"
Option           "Emulate3Buttons"   "on"
Option           "HorizEdgeScroll"   "0"
Option           "HorizScrollDelta"  "0"
EndSection
Download a copy and keep it handy: Core book ;)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: wlan and touchpad
« Reply #3 on: June 06, 2017, 07:12:17 AM »
Ah, yes
Code: [Select]
### Touchpad - Sentelic Finger Sensing Pad
{ sleep 3
TOUCHPAD="/sys/devices/platform/i8042/serio1"
# Disable tap-to-click:
#[ -e "$TOUCHPAD"/setreg ] && echo -n "0x90 0x80" > "$TOUCHPAD"/setreg
##[ -e "$TOUCHPAD"/flags ] && echo -n "c" | tee "$TOUCHPAD"/flags >/dev/null 2>&1
# Disable vertical tap scrolling:
#[ -e "$TOUCHPAD"/vscroll ] && echo "0" | tee "$TOUCHPAD"/vscroll >/dev/null 2>&1
# Disable horizontal tap scrolling:
[ -e "$TOUCHPAD"/hscroll ] && echo "0" | tee "$TOUCHPAD"/hscroll >/dev/null 2>&1
} &
Download a copy and keep it handy: Core book ;)

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 715
Re: wlan and touchpad
« Reply #4 on: June 06, 2017, 08:27:04 AM »
I think you can edit the wifi.db file and add quotes round the ssid.
Something like this:

Code: (bash) [Select]
nano /home/tc/wifi.db

"Satan's Net" password

« Last Edit: June 06, 2017, 08:35:09 AM by patrikg »