From 119940c33c8c760224d9c3cf6704128344798c7d Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 11 Nov 2018 08:52:50 +0100 Subject: some more work on A1211 article --- content/blog/archlinux-macbook-a1211.md | 48 ++++++++++++++++++++++++++++++--- test.sh | 2 +- 2 files changed, 45 insertions(+), 5 deletions(-) diff --git a/content/blog/archlinux-macbook-a1211.md b/content/blog/archlinux-macbook-a1211.md index d0ea094..9fec1fa 100644 --- a/content/blog/archlinux-macbook-a1211.md +++ b/content/blog/archlinux-macbook-a1211.md @@ -10,7 +10,7 @@ draft = true I got an old Mac from a collegue at work. Apple decided not to support those devices anymore, anyway, they date back to 2006. -I find a pitty, because this Mac has a solid case, a pretty fast +I think, it's a pitty, because this Mac has a solid case, a pretty fast 64-bit processor (sorry Archlinux32, no test machine for you) and a graphic chip which is not melting away like in later models.. @@ -208,9 +208,49 @@ TODO: issues with powertop and hard disk wake-up? ### Mouse buttons -TODO: load synaptic, configure at your gusto (double, triple finger clicks), -for opening tabs in a browser, doing some X copy paste etc. -TODO: Ctrl/Meta-Modifier shift if you want context menues +Managers might like to use only one mouse. Also keyboard fanatics may +be happy by just switching off the mousepad completly. + +The one button mouse is a disaster for people being used to Xorg copy- +paste or Oberon enthusiasts used to three buttons. + +Two finger scrolling is nice, but per default only for up and down. +I enable it also to left and right. Besides, the keyboard is missing +PageUp, PageDown keys, which is a usability nightmare when you want to +scroll bigger source code files or web pages (yes, I know there is Fn-Page, +but having Ctrl, Alt, Meta and Fn all on the same spot doesn't make it +easier to find the right one). + +Change */etc/X11/xorg.conf.d/50-synaptics.conf* as follows to your likings: +``` +Section "InputClass" + Identifier "Touchpad Catchall" + Driver "synaptics" + MatchIsTouchpad "on" + Option "TapButton1" "0" + Option "TapButton2" "3" + Option "TapButton3" "2" + Option "VertTwoFingerScroll" "1" + Option "HorizTwoFingerScroll" "1" + Option "ClickFinger2" = 0 + Option "ClickFinger3" = 0 +EndSection +``` + +*TabButton1=1* only leads to all kind of frantic behaviour, because I +touch the touchpad by accident. *ClickButton* and *TapButton* for the +second and third button are just completly useless. Either no menu +appears for TapButton or a menu appears for ClickFinger, but I can no +longer to copy-pastes. + +The default modifiers Ctrl, Alt, Meta don't do anything with the mouse +or just very weird stuff, like Alt-2-fingers jumps to the beginning of +my text. + +For now, I choose TapButtons for copy-paste, as this is the function +I need most often. + +TODO: For mouse button 2 and three I changed the modifiers for Ctrl and Alt. ## References diff --git a/test.sh b/test.sh index 5d64e07..e10e2b3 100755 --- a/test.sh +++ b/test.sh @@ -1,4 +1,4 @@ #!/bin/sh -hugo serve --buildDrafts --bind=0.0.0.0 -v --baseURL=http://`hostname -f`:1313 +hugo serve --buildDrafts --buildFuture --buildExpired --bind=0.0.0.0 -v --baseURL=http://`hostname -f`:1313 -- cgit v1.2.3-54-g00ecf