TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Linux touchpad like a Macbook: goal worth pursuing?

433 pointsby maccoalmost 7 years ago

50 comments

101kmalmost 7 years ago
I have been using 12&quot; MacBooks since they came out because I live out of a backpack and travel a lot.<p>I cannot find anything comparable in terms of size&#x2F;weight&#x2F;battery and build quality. Especially the trackpad, nothing is remotely close. Otherwise I&#x27;d get that and put Arch on it.<p>People complain Apple is expensive, not so sure. The TCO may actually be less because of the high resale value. It is also more convenient.<p>More than once when faced with crossing an annoying border (TSA, sigh) I&#x27;d sell the Macbook at my origin and simply pickup a new one at the destination. Thirty minutes in-and-out of the Apple store, they all seem to have exceptionally fast wifi, and setup handled via a curl-to-bash of mine gets me <i>exactly</i> back to where I started, down to the sessions..<p>Since my points of origin usually have higher Apple prices due to currency&#x2F;taxes, I end up accidentally eking out a profit after months of use per machine.<p>If you can&#x27;t be arsed with the above consider this: Their retail global presence is getting to be quite complete, even coming to Samsung land (Seoul, behold: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=xt4ldH5vQCQ" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=xt4ldH5vQCQ</a>) and Tel Aviv finally along with some others. Most big airport hub cities will have an Apple store close by.<p>Stuff gets broken or stolen and yet with this setup I&#x27;m generally never 24 hours away from my exact laptop setup...<p>There is no alternative. I feel trapped.
评论 #17549084 未加载
评论 #17548193 未加载
评论 #17549005 未加载
评论 #17550261 未加载
评论 #17548805 未加载
评论 #17549509 未加载
评论 #17548971 未加载
评论 #17550557 未加载
评论 #17552328 未加载
评论 #17547998 未加载
评论 #17549489 未加载
评论 #17548118 未加载
评论 #17554646 未加载
评论 #17549304 未加载
peterburkimsheralmost 7 years ago
I&#x27;ll volunteer 2 months full-time development for free, with a few conditions.<p>- I&#x27;m looking for a job in New Zealand, Australia, or Canada. Not Seattle (sorry Bill). I&#x27;d stop job hunting to work on this, so someone else will have to find me a job.<p>- I&#x27;d develop for the MacBook Pro 2014, because that&#x27;s my hardware. Only one Linux distro (probably Ubuntu).<p>- Weekly check-in emails (maybe twice a week). A plan set out at the beginning with the deliverables for each week.<p>Am I qualified? No idea. Currently I work at OSE, a microSD card manufacturer in Taiwan, where I&#x27;ve bit-banged control systems protocols and done big data analysis. The closest side project I did to this is KeyMouSerial, which logs keyboard &amp; mouse movements on my laptop, sends them to an Arduino, which behaves like a keyboard for a Raspberry Pi.<p>I&#x27;m disillusioned with Apple now, and wanting to hop to Linux. I also want to port iTunes and AppleScript, though I think there&#x27;s less demand for those two.
评论 #17550220 未加载
评论 #17549992 未加载
评论 #17550062 未加载
评论 #17550177 未加载
评论 #17549724 未加载
MrLeftHandalmost 7 years ago
One of the main reasons I stopped using Linux is the touchpad! It is horrible out of the box experience and the insult to injury is the lack of no good user interface to even set anything. You have to screw around with libinput or xinput with zero documentation on both parts and hope you will hit a sweet spot eventually and hope that any future updates won&#x27;t break it.<p>I am way past of the tinkerer phase where I would enjoy spending a week on trying to make something work under Linux just so I can feel better. Or the patience where I waited for 1.5 years just to have proper support for the AGP slot on my motherboard.<p>I want a Linux system that works out of the box and has no problems with standard features like a touchpad.<p>Under Windows 10 the new precision drivers are fantastic, very close to Mac comfort. Whoever creates something similar under Linux deserves a Nobel Prize and a monument.
评论 #17549655 未加载
评论 #17551510 未加载
评论 #17548990 未加载
maggitalmost 7 years ago
Yes, please do! I&#x27;ve spent some time researching this as well, and to me it seems like the author has missed one thing; the Mac touchpad hardware is <i>so much better</i> than other touchpad hardware. (As I understand it, the competition is barred from making similar touchpads due to patents)<p>I have been running Linux on MacBook Pros for many years, and the touchpad is a constant source of disappointment. For the effort to be worthwhile to me, the goal would have to include getting Apple&#x27;s touchpads working excellently in Linux.<p>I would definitely participate in crowdfunding this effort. (Kickstarter or otherwise)
评论 #17549520 未加载
评论 #17548837 未加载
评论 #17548211 未加载
sabarasabaalmost 7 years ago
I used to care a lot about this kind of things about two years ago when I switched from mac to linux. But to be honest, you just kind of get used to it after a while and its not really that much of a deal breaker anymore. I spend most of my time in terminals, and I use i3wm so most of my workflow doesnt involve using the touchpad at all. The only use case i have for it is when using chrome, but even so theres vimium and similar things to help you navigate around without leaving your keyboard.
评论 #17548073 未加载
评论 #17560526 未加载
评论 #17549532 未加载
opdahlalmost 7 years ago
If someone could actually make this, I would gladly pay an annual subscription to access it. Almost the only reason I&#x27;m still buying MacBooks is because of the touchpad, and if I could get that on Linux I probably would just switch to a normal PC.
评论 #17547927 未加载
评论 #17548997 未加载
wbhardingalmost 7 years ago
Original blog poster here (hi!). I&#x27;m pleased to find this motherlode of detail-oriented perfectionists here on HN and in my blog comments. This affirms my original question of whether it&#x27;s a goal worth pursuing. Step one complete.<p>Step two will be for me to sift through the offers and figure out how they can be pieced together into a plan of action. It seems unrealistic to expect that we could raise more than... $20k?... from detail-oriented perfectionists, so I still need to figure out how best to constrain the scope of the goals enough to get this done with scarce resources (unless someone at Microsoft wants to kick in $1m in exchange for the affection of several thousand developers? :D)<p>It doesn&#x27;t help that my day job is running a company in the process of launching two new products -- this has a tendency to gobble up available evenings and weekends and I wouldn&#x27;t recommend it. But I&#x27;ve added it to my todo list to puzzle out how to combine these dev resources into a plan. It&#x27;s plausible that the current libinput developer could be swayed by this outpouring to help me build a viable plan to build a modern Linux touchpad driver. I&#x27;ll start there.<p>Look for an updated blog post with progress in the next couple months. And who knows, maybe I won&#x27;t still be using this 10 year old hardware in another year?
评论 #17555780 未加载
batteryhorsealmost 7 years ago
I&#x27;ve wanted to do this as well. I came to the conclusion that you&#x27;ll need to bypass the X windows input system and read the device directly, none of the current solutions (like libinput, mtrack, or synaptics) would work satisfactorily. And integrating it with Gtk or Qt will never work well because of the structure imposed by those frameworks (Cocoa&#x2F;ObjC is a much more flexible framework)<p>I was able to write a prototype version of things like a tableview or image viewer that gets input directly from the touchpad device (that draws straight to an OpenGL texture or pixmap). The problem is that you&#x27;ll never be able to integrate this with Gtk and Qt, it just doesn&#x27;t fit together. And working within those two frameworks is kind of hell. Generally, gestures are not discrete, you can go halfway through a gesture and change your mind, but you&#x27;ll still get graphical feedback from the UI. That&#x27;s part of the joy of using the touchpad. But it&#x27;s just easier to write it from scratch than to add it to Gtk or Qt.<p>For me personally, it&#x27;s not a huge problem because I generally avoid Gtk and Qt apps if at all possible and make my own UI&#x27;s, but I don&#x27;t see it gaining widespread adoption so I don&#x27;t know if it&#x27;s worth the effort.
评论 #17557246 未加载
micheljansenalmost 7 years ago
The touchpad experience of the Mac is where vertical integration really shines. The touchpad is so good precisely because there are not hundreds of hardware variants to support. Just the one that Apple used in their past X years of MacBooks (so never more than a hand-full). And they make their own OS and drivers.<p>Doing this for all laptops Linux could possibly run on is almost impossible. It’s a shame that touchpad (or laptop) vendors do not see good drivers as a competitive advantage. Sounds like a lot of people would buy a laptop just for its touchpad (though probably not enough to justify investment from manufacturers, so it seems).
评论 #17549013 未加载
评论 #17549305 未加载
nneonneoalmost 7 years ago
It would be great to know why the Linux drivers aren’t as good as the Mac touchpad drivers. I have little experience with Linux input drivers, but significant experience with the Android touch input stack (including a fair bit of experience hacking the Synaptics touchscreen drivers). Is it a matter of (1) the drivers themselves failing to provide good raw data (finger positions, update rate, positional accuracy, etc.)? (2) A matter of the drivers&#x2F;userspace stack not decoding motions into useful gestures accurately? (3) Or a lack of support from normal applications or the window server for touch gestures and touch inputs?<p>In kernel space there’s definitely a lot we could crib from Android to get started quickly - since that’s the low-hanging fruit I wonder if anyone’s already done it. The userspace stuff is a totally different affair...
评论 #17550925 未加载
评论 #17551064 未加载
isostaticalmost 7 years ago
Am I the only one who prefers the nipples on thinkpads?
评论 #17547921 未加载
评论 #17548006 未加载
评论 #17548208 未加载
评论 #17550230 未加载
评论 #17548831 未加载
评论 #17549842 未加载
评论 #17549590 未加载
评论 #17549274 未加载
评论 #17549959 未加载
评论 #17549984 未加载
评论 #17549317 未加载
评论 #17549022 未加载
评论 #17547987 未加载
评论 #17547969 未加载
评论 #17548942 未加载
评论 #17547916 未加载
dvirskyalmost 7 years ago
I have an Apple Magic Trackpad 2 attached to my Linux workstation, and configured using synaptics and a custom kernel driver. The experience is almost good, but not quite there.<p>The most annoying thing is scroll zoom in some apps (mostly Chrome), that makes hitting ctrl while the trackpad is &quot;coasting&quot;, result in zooming to oblivion. I&#x27;ve sort of solved it with a chrome extension that disabled scroll zooming.<p>But in general it just doesn&#x27;t feel as smooth and took a lot of time tinkering with to get to reasonable results.<p>I&#x27;ll gladly contribute a bit to a kickstarter or something.
sammothalmost 7 years ago
I tried a MacBook touchpad in the Apple store and I didn&#x27;t get what the fuss was about. It has that annoying feature where when you click the cursor freezes for some period of time, which stops you clicking on multiple things in quick succession. It didn&#x27;t feel any more precise to me in terms of pointing. I realise it has gesture support that works in close harmony with OS features, but just in terms of pointing and clicking it was nothing special.
评论 #17549218 未加载
haspokalmost 7 years ago
Instead of starting a new project from scratch, why not reanimate synaptics and fix the annoying bugs? Are there licensing issues? Is it not open source? Or is there some underlying technical problem that makes this hard&#x2F;unfeasible?
emsyalmost 7 years ago
Usually when people set me up for high expectations, I end up getting disappointed. In the case of the Macbook touchpad, my expecations were actually exceeded. I use Bootcamp a lot for some of my projects, and the touchpad support in Windows is so bad, I can&#x27;t wait to go back to Mac Os (other than that, I&#x27;m pretty much OS agnostic).
评论 #17548463 未加载
paulsmalalmost 7 years ago
It&#x27;s been a year now I&#x27;ve switched from mac to linux. Using libinput-gestures[0] was quite nice, but eventually I changed by workflow to use keyboard shortcuts more.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;bulletmark&#x2F;libinput-gestures" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bulletmark&#x2F;libinput-gestures</a>
评论 #17549700 未加载
评论 #17548386 未加载
fotcornalmost 7 years ago
Is the touchpad driver in the macOS kernel? If yes, the kernel itself is open source, would it be crazy to try to extract the driver from there and make it Linux compatible?<p>Other question: When are you actually using the touchpad? I use my notebook 99% of the time with a screen + keyboard&#x2F;mouse.<p>Next question: Can we get to the level of a Macbook touchpad only with software? Is there no magic sauce inside the hardware itself? How does the touchpad feel when installing Windows or Linux on the Mac?
评论 #17548451 未加载
评论 #17548197 未加载
评论 #17548223 未加载
sz4kertoalmost 7 years ago
Interesting that touchpad problems affect _many_ users, it&#x27;s been a source of pain and complaints for many years and the community can&#x27;t throw together e.g. $100k to pay a dev to develop a good enough driver.
rrrazdanalmost 7 years ago
I would pay good money for this and other improvements to make Linux even come close to Mac (HiDPI support, simple set of utilities, etc)
ToFab123almost 7 years ago
Microsoft did it and wrote a driver that makes a PC touchpad just as amazing as the one you find on a MacBook. There is a world as different between using that driver and the standard synaptics driver most laptops ships with. For sure you want the same on a Linux box.
评论 #17549174 未加载
评论 #17549809 未加载
H1Supremealmost 7 years ago
Maybe I&#x27;m not as sensitive to the differences, but after using Macbooks since 2009, I recently picked up a 13&quot; Dell Inspiron 7000. I put Ubuntu (Mate) on it first thing, and was actually surprised how well the trackpad worked. I was fully prepared for it to be horrible, but it&#x27;s really not.<p>Maybe I got lucky with this purchase? Maybe the driver isn&#x27;t so bad? I don&#x27;t know. I have experienced awful trackpads from other models, so I&#x27;m not immune to the effects of a bad one. But, this has been smooth sailing so far.
p3llin0r3almost 7 years ago
I have a System76 Galago Pro with 32 gigs of ram and an i7 processor.<p>Works GREAT, fan of the keyboard and everything.<p>The case is kinda shit, but it doesn&#x27;t really bother me that much. I&#x27;m not obsessed with having a designer laptop that looks beautiful, just something to slam around and run programs on. Additionally, having a ton of ports to plug things into has been very welcome after migrating off of the touchpad macbook pros.<p>Linux desktop is nice because of the great docker support, and honestly it tends to work quite well for pretty much everything I throw at it. Multi-monitor support is great, it works fine with my 4k monitor. I was AMAZED when I plugged my usb-c headphones into the usb-c port and heard sound come out.<p>I tend to just travel with a ball mouse because I have really severe hyperhidrosis which renders basically all track-pads, even Apples&#x27;, completely unusable, and uncomfortable to boot. Moisture + friction is not a great combo.<p>I admit that I&#x27;m a bit of a weirdo and this set-up would be sub-optimal for a lot of people due to support for various adobe products. But I&#x27;m happy with the setup.<p>If I could go back in time I would probably get a Surface laptop and set my home computer up as a server, and automate sending work to it, because I&#x27;m a big fan of indie video games and would enjoy being able to play games on my laptop.
mschuster91almost 7 years ago
What I find the biggest advantage is the hardware (as another poster here does), but not only due to its superior capabilities in gesture recognition.<p>I have yet to find a non-Macbook touchpad which is:<p>- decently sized: all Windows&#x2F;Linux laptops I have encountered have <i>ridiculously</i> small touchpads, some not even a quarter of a Macbook touchpad in size. I have huge hands, tiny touchpads are awful when two fingers are wider than the touchpad.<p>- decent material: AFAIK, Apple is the <i>only</i> manufacturer using a glass overlay on the touchpad. The Windows scene exclusively uses plastic, which gets greasy after a couple of months for me. For the keyboards it&#x27;s similar, Apple simply uses a material that does not get greasy...<p>- decent layouting: MBP touchpads are nearly flush with the casing, which means one can use its full surface area including the edges. Windows touchpads all are recessed, worst I had was 5mm - as evidenced by the grease-free borders I lost about 25% of the already small touchpad.
评论 #17549522 未加载
评论 #17548988 未加载
setzer22almost 7 years ago
This is something I&#x27;ve been wanting for a long time and I&#x27;d definitely donate money to support such a project!
oldgunalmost 7 years ago
I&#x27;m actually very interested in all the input devices for Linux. I feel like Desktop Linux is not as good on user input devices, compared to MacOS&#x2F;Windows, e.g. touch screen, hand gesture, stylus support, and of course touchpad.<p>Would like to see them all improved. If there&#x27;s such an initiative I&#x27;ll definitely donate.
curioussavagealmost 7 years ago
I am in the same boat as the author. This is why own machine is a chromebook too. Gallium OS (the distro with chromebook fixes) uses the driver from chromeos and it is way better.<p>I would donate at least $100 towards this and would contribute if possible.<p>Maybe a more technical paper on the history and current state of things would be nice too.
评论 #17554149 未加载
HeadsUpHighalmost 7 years ago
Absolutely no. I never liked the macbook touchpad. I tried using it a couple times. It really felt like they had to shoehorn every action into a gesture to the point where a lot of them felt extremely cumbersome. For example it took me a few tries until I managed to tile windows.<p>I&#x27;m using a regular non-luxury laptop. I&#x27;m mostly using it with a mouse because the trackpad goes off every now and then( it&#x27;s a hardware issue). But when it works it&#x27;s fine. Cursor tracking is good with no artificial accel etc( meaning it goes exactly where I ask it to go), two finger scrolling works... The only complain is that pinch to zoom doesn&#x27;t work and that the default button arrangement is a bit cumbersome.
评论 #17549389 未加载
shaan7almost 7 years ago
I&#x27;ve worked with a 2013 MBP 15&quot; for 4 years and then switched to XPS 13 + Kubuntu. The touchpad is butter smooth - be it taps, clicks, or two finger scrolling (and three finger gestures thanks to comfortable-swipe).<p>Any XPS 13 (9360) users around who feel the same?
评论 #17549601 未加载
newscrackeralmost 7 years ago
When I switched to Linux (because the Mac was old enough not to get updates from Apple), the thing I missed most was support for the external Magic Trackpad (the first version with the removable batteries). I searched around and found some solutions, but they were all outdated and&#x2F;or abandoned, and none of them could get me all the features and gestures that Apple supported natively since about 8-9 years ago.<p>Though Linux drivers have improved a lot over time, there are still some areas like this that don&#x27;t get attention. Not that there isn&#x27;t a large enough user base, but for many other reasons. I would gladly support a crowd funded project by reliable people on such things.
maaaatsalmost 7 years ago
I don&#x27;t think the trackpad is uniquely good on MacBooks. What I miss after switching however is BetterTouchTool. That supercharged what was a trackpad basically only used for scroll and single&#x2F;right clicks to something awesome.
sneakalmost 7 years ago
It would also be amazing to have a linux distro that has excellent, first-class support for recent Apple computers. No such thing has existed for years. It’s terrible that we are all trusting closed-source FileVault.<p>I would donate to such an effort.
ChuckMcMalmost 7 years ago
I agree that the trackpad on the macbook pro is the gold standard, but the author needs to effectively define the requirements in terms of something testable. Otherwise they will be stuck in a bikeshedding world where everyone is arguing.<p>This doesn&#x27;t require any coding expertise, but it does require the ability to write requirements in a way that more than one person can interpret them correctly.
rcontialmost 7 years ago
&quot;but the Touchbar Era has taught me that it sucks to have my user experience tied to the whims of a singleminded hardware company.&quot;<p>He&#x27;s negative on Apple, sure, but this should really read as &quot;it sucks to have my user experience tied to the whims of a company&quot;. And that makes a better OSS tagline anyway.
dbg31415almost 7 years ago
I&#x27;d be happy if Macs running Windows via Bootcamp had their touchpads work anywhere close to how they work under MacOS... identical hardware, but the software just falls short. Microsoft has a lot of money... makes me think this isn&#x27;t a simple issue to solve.
deltron3030almost 7 years ago
Are the Linux touchpad drivers developed apart, or together with other input methods, like touch (e.g. KDE Plasma)?<p>How is the state of touch on desktop Linux, does it work fluidly? If yes, the drivers that handle touch might be usable to improve touchpad performance.
jnmandalalmost 7 years ago
I would absolutely fund and support this project. It should be done. Personally I am fine with my touchpad experience right now on arch but it can be improved and it should be. These are the offerings we need to make linux more mainstream.
Sholmesyalmost 7 years ago
I have this on one of my &quot;Todos&quot;, as its my biggest frustration. I must be underestimating just how much it takes to do this, because no one gets close to Apple in my opinion.
scandoxalmost 7 years ago
I&#x27;d certainly contribute to a fund to raise money for a way of making the internet easily browse-able using the keyboard.<p>Then I would not need a pointing or scrolling device at ALL.<p>Which would be heaven.
评论 #17548164 未加载
hajilealmost 7 years ago
Has there been any consideration of the driver Google uses for the pixelbook? The touch experience is at least as good as a macbook and I think it&#x27;s superior.
matt4077almost 7 years ago
It‘s insane to see how the author is unwilling to give the touch bar a chance, even after they themselves gives exhaustive proof of Apple’s expertise in UI.
rataata_jralmost 7 years ago
I care! We need this.
hathymalmost 7 years ago
How about make your smartphone a smart touchpad? I will use it right aways, maybe even buy a dedicated cheap smartphone just for that
scarejunbaalmost 7 years ago
Use bountysource. I&#x27;ll chip on a bit of you do that. That&#x27;s how neovim got started and that worked out well
securealmost 7 years ago
I would very much appreciate MacBook-level touchpad support in Linux.
znpyalmost 7 years ago
In this post: problems I didn&#x27;t know existed.
bengalealmost 7 years ago
I wonder when he switches back in a year whether the time will feel like a worthwhile investment or just happy to have really showed them and their Touch Bar.
naibafoalmost 7 years ago
Yes, please!
sonnyblarneyalmost 7 years ago
The touchpad on my macbook pro is just such an amazing feature, so intuitive. So &#x27;just right&#x27; ... and consider that it&#x27;s a primary form of interface.<p>Everybody should be doing this yesterday, it&#x27;s one of the most obviously good things going.
评论 #17547979 未加载
nkkollawalmost 7 years ago
Yes, definitely.<p>Depending on the distribution, touchpads on Linux are between unusable and bad.<p>False touches are expecially annoying while you&#x27;re typing a paper and you palm touches the border of the touchpad.<p>I often disable the touchpad completely, or at least while a key is being pressed, with a few milliseconds delay.
ahartmetzalmost 7 years ago
A cheap mouse allows finer and faster control than the best touchpad that currently exists, so... I plug in a mouse. (Don&#x27;t believe me? Play an FPS game with touchpad against a mouse user.)<p>That said, Synaptics touchpad support on Linux is bad. In my case, it&#x27;s the touchpad on a Thinkpad T440s. It can run in a legacy&#x2F;standard protocol mode or a &quot;modern&quot; protocol mode. Linux supposedly supports the latter (where palm detection should work) since a few years, but I don&#x27;t see it being used or palm detection working.
评论 #17548430 未加载
评论 #17548153 未加载
评论 #17548174 未加载
评论 #17548235 未加载
评论 #17548923 未加载
评论 #17548514 未加载
评论 #17551354 未加载