FedoraForum.org - Fedora Support Forums and Community
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2013
    Location
    US
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    seeking help configuring macbook pro keyboard & trackpad

    I've been using Fedora on an MBP 8,3 (late-2011 17") for a while, but just yesterday did I install it natively. I've always run it through VirtualBox or Fusion in the past.

    I've got Fedora 19 installed and mostly working, but need help configuring keyboard and trackpad. Things I'm looking to do:

    * Use function keys as function keys.

    After some searching I have found that doing "echo 2 > /sys/module/hid_apple/parameters/fnmode" makes the function keys work as desired. I found a posting for a different distro suggesting that I achieve this via "options hid_apple fnmode=2" in /etc/modprobe.d/hid_apple.conf, but that doesn't work. Doing "lsmod" I see that there is no "hid_apple" module, so that's probably why. Anyhow, where should I put the "echo 2 ..."? Back in the day I would have put this into rc.local, but I don't grok systemd and how this works on current systems.

    * Caps-Lock as control

    I've done this via xmodmap before, and could probably figure that out again, but I'm thinking the better way is xorg.conf. But I don't know where xorg.conf is, and don't remember the syntax. Any suggestions?

    Also, I recall back in the day that there was an "xorg.conf". Now it seems it's been split into many files, and I'm not sure where they go or what they should be called.

    * Swap Alt and Super keys

    Basically the same question as above.

    * Configure the trackpad

    I'm looking for a trackpad experience closer to what I had in OS X. Specifically I want to change:

    Scroll speed
    Tap-to-click
    Two-finger-tap for right click
    Drag-lock

    I don't know where to start on this. I've seen things about configuring the xorg-...-synaptics driver, but I haven't found an overview of all that I can configure in there.
    Last edited by SnoopyLane; 7th July 2013 at 11:19 PM. Reason: improving wording

  2. #2
    Join Date
    Apr 2013
    Location
    US
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: seeking help configuring macbook pro keyboard & trackpad

    Wouldn't you know it... after posting I spent a few more hours searching and found some of the answers :-)

    In case others might benefit from this:

    For the keyboard config stuff, Gnome-3 apparently overwrites anything XkbOptions that you put into xorg.conf files, so don't bother with them. However, the ones I was looking for can be found in gnome-tweak-tool. Just "sudo yum install gnome-tweak-tool", then run it, select "Typing" on the left. For the two I was looking for...

    Change "Caps Lock key behavior" to "Make Caps Lock an additional Control bu..."
    Change Alt/Win key behavior to "Alt is swapped with Win".

    Previous versions of Xorg would let you swap just Left-Alt with Left-Win, which is actually what I wanted, where current versions do the swapping on both side of the keyboard.

    As for the trackpad, I did some of this in Settings' "Mouse and Touchpad". Specifically checking "Two finger scroll" and "Tap to click". I also select "Disable while typing"--doesn't work quite as well as Apple's native touchpad drivers, but it's better than without it. The "Content sticks to fingers" setting is what Apple refers to as "Natural Scrolling", if that's your sort of thing.

    Note that there's nothing there about Drag-lock. So I found how to set that up via xorg.conf. The above things can probably also be done via xorg.conf, but I haven't bothered to figure it out. Anyhow, drag lock:

    Code:
    # Drag-Lock on the touchpad
    Section "InputClass"
            Identifier	"finger-touchpad-draglock"
            MatchDriver	"synaptics"
    
    	# enable drag-lock
            Option		"LockedDrags"	"on"
    	Option		"LockedDragTimeout"	"3000"
    EndSection
    Note that I put this in /etc/X11/xorg.conf. I did not put that into a file in one of the xorg.conf.d directories because the Fedora system administration docs recommend leaving those directories as-is for distros to modify.

Similar Threads

  1. Replies: 4
    Last Post: 5th June 2013, 08:51 PM
  2. Macbook Pro 8,2 trackpad & display oddness
    By chrismurphy in forum F16 Development
    Replies: 0
    Last Post: 15th October 2011, 02:23 AM
  3. Replies: 1
    Last Post: 7th April 2009, 12:46 PM
  4. Replies: 3
    Last Post: 8th March 2009, 05:33 PM
  5. Replies: 0
    Last Post: 7th March 2009, 01:49 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •