Contribute
Register

[solved] Trackpad preference pane is blank

Joined
Aug 8, 2010
Messages
36
Motherboard
Lenovo Yoga 730-15IKB - Clover
CPU
i7-8550U
Graphics
HD 620, 1920x1080
Mobile Phone
Android
Yes it does work for me too.
Thanks
 
Joined
Jan 16, 2011
Messages
3
Motherboard
Gigabyte P35-DS3
CPU
Q6600
Graphics
8600 GT
Mac
MacBook
Mobile Phone
Android, iOS
No works for me. It's possible fix permissions?
 
Joined
Jun 13, 2012
Messages
154
Motherboard
Lenovo Ideapad Y510P
CPU
Core i7 4700MQ
Graphics
Intel Mobile HD4600
Mac
Classic Mac
Mobile Phone
Android
Another success report:

Extracted the prefpane from my old Yosemite installer, copied it to Sierra and it works perfectly.

Function keys still don't work. (another known issue)

EDIT: Although prefpane works, it needs to be opened after every boot to load the settings.

I hope this gets a fix.
I made a workaround for this that I' happy to share. I thought of creating an AppleScript to:
  1. Silently (not visible) Open Trackpad Prefpan in System Preferences and uncheck "Clicking"
  2. Close System Preferences
  3. Silently (not visible) Re-open Trackpad Prefpan in System Preferences and check "Clicking", "Dragging", "Use two finger ...", "Allow horizontal scrolling" and "Tap trackpad using two fingers ..."
  4. Close System Preferences again
Why do steps 1 & 2? because at least on my machine after boot the prefpan does not show all controls. Unchecking "Clicking" and reopening the prefpan restore all the controls.

Here's the script:
Code:
quit application "System Preferences"
delay 0.25

tell application "System Preferences"
    --activate
    set current pane to pane "com.apple.preference.trackpad"
    tell application "System Events" to tell process "System Preferences"
        repeat until exists window "Trackpad"
        end repeat
        tell window "Trackpad"
            set cbClicking to checkbox "Clicking" of group 1 of window "Trackpad" of application process "System Preferences" of application "System Events"
            tell cbClicking
                if (its value as boolean) then click cbClicking
            end tell
        end tell
    end tell
end tell

delay 0.25
quit application "System Preferences"
delay 0.25

tell application "System Preferences"
    --activate
    set current pane to pane "com.apple.preference.trackpad"
    tell application "System Events" to tell process "System Preferences"
        repeat until exists window "Trackpad"
        end repeat
        tell window "Trackpad"
            set cbClicking to checkbox "Use two fingers to scroll" of group 2 of window "Trackpad" of application process "System Preferences" of application "System Events"
            tell cbClicking
                if not (its value as boolean) then click cbClicking
            end tell
           
            set cbClicking to checkbox "Allow horizontal scrolling" of group 2 of window "Trackpad" of application process "System Preferences" of application "System Events"
            tell cbClicking
                if not (its value as boolean) then click cbClicking
            end tell
           
            set cbClicking to checkbox "Clicking" of group 1 of window "Trackpad" of application process "System Preferences" of application "System Events"
            tell cbClicking
                if not (its value as boolean) then click cbClicking
            end tell
           
            set cbClicking to checkbox "Dragging" of group 1 of window "Trackpad" of application process "System Preferences" of application "System Events"
            tell cbClicking
                if not (its value as boolean) then click cbClicking
            end tell
           
            set cbClicking to checkbox 4 of group 1 of window "Trackpad" of application process "System Preferences" of application "System Events"
            tell cbClicking
                if not (its value as boolean) then click cbClicking
            end tell
        end tell
    end tell
end tell
delay 0.25
quit application "System Preferences"
This code should be pasted into AppleScript then export the document to an Application (signing it is recommended). The resulting application should then be added to System Preferences > Security & Privacy > Privacy tab > Accessibility; to allow it to run. Now after boot we can run this app once to restore trackpad settings. Better yet is to add the app to System Preferences > Users & Groups > Login Items; so it runs automatically on login.

This could look as a lot of work but actually it is very simple to use and work very well; until better solutions are found.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,929
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
...
This could look as a lot of work but actually it is very simple to use and work very well; until better solutions are found.
The better workaround is to create a LaunchDaemon that runs the few 'ioio' commands required to change the settings.

ioio is available on my github.
 
Last edited:
Joined
Jun 13, 2012
Messages
154
Motherboard
Lenovo Ideapad Y510P
CPU
Core i7 4700MQ
Graphics
Intel Mobile HD4600
Mac
Classic Mac
Mobile Phone
Android
The better workaround is to create a LaunchDaemon that runs the few 'ioio' commands required to change the settings.

ioio is available on my github.
This would change the settings just fine but the prefpane will not read the changes. Yes we care for the effect in the first place but any way to sync the changes made by ioio with the prefpane? like a force reread ?
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,929
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
This would change the settings just fine but the prefpane will not read the changes. Yes we care for the effect in the first place but any way to sync the changes made by ioio with the prefpane? like a force reread ?
Since the prefpane is broken and can't be used, it really doesn't matter.
 
Joined
Jun 13, 2012
Messages
154
Motherboard
Lenovo Ideapad Y510P
CPU
Core i7 4700MQ
Graphics
Intel Mobile HD4600
Mac
Classic Mac
Mobile Phone
Android
Since the prefpane is broken and can't be used, it really doesn't matter.
But it's not. I mean when I replaced with 10.11 one it does work.
 
Top