News for hackers. Stuff that matters.
Re:Linux touchpad like a Macbook: progress and a call for help by cheald on Monday March 25, 2019 @03:46PM (#19486091)
I use a Macbook and a Linux (Kubuntu 19.10) desktop, and I vastly prefer the Linux desktop for UX.

There are more knobs to fiddle with, naturally, but the desktop Linux experience has vastly improved over the last few years, and I'm happy enough with it that I don't see myself willingly going back to OS X or Windows as my primary anytime soon. My desktop feels like the synthesis of all the things I like from both Windows and OSX, with the added benefit of an actual package manager and first-class support for all my development toolchains. The amount of time my coworkers spend fighting oddities in their brew installs becomes really apparent when I'm not fighting those battles.

The hardware (particularly) touchpad is the single biggest advantage Macs have left. I use a mouse rather than touchpad, but if the touchpad is solved, I'd have nothing I'd say that OS X does better.

Re:Linux touchpad like a Macbook: progress and a call for help by solomatov on Monday March 25, 2019 @04:10PM (#19486310)
I completely agree with you. For me this list of the problem is the following:

* Touchpad

* Sleep mode

* USB-C display

Re:Linux touchpad like a Macbook: progress and a call for help by zymhan on Monday March 25, 2019 @04:14PM (#19486343)
ACPI has been the bane of Linux on laptops for two decades.

If I can't trust that my laptop will go to sleep when I shut the lid and put it in my bag, it's not useful as a portable device.

Re:Linux touchpad like a Macbook: progress and a call for help by andrewshadura on Monday March 25, 2019 @04:37PM (#19486541)
I haven’t had issues with suspend since 2009.
Re:Linux touchpad like a Macbook: progress and a call for help by war1025 on Monday March 25, 2019 @05:03PM (#19486714)
There was an issue with hibernate memory mapping that broke hibernate on my work Thinkpad for the first year or two that I had it.

Then at some point they fixed the issue, which if I remember correctly came down to "stop trying to be fancy and just do the straight-forward thing, which is correct". And since then I've had no issues.

I'm unclear why I had an issue with the Thinkpad but never had issues with any of the 5 or so Dell Inspirons I've had over the years.

Re:Linux touchpad like a Macbook: progress and a call for help by penagwin on Monday March 25, 2019 @04:56PM (#19486674)
As a counter point, I've had repeated issues with my several different laptops in the last few years with them not going to sleep (2015~2018?). I have a new laptop now that I primarily run windows on now...
Re:Linux touchpad like a Macbook: progress and a call for help by int_19h on Tuesday March 26, 2019 @02:31AM (#19489676)
As usual, it all depends on how lucky you get with your hardware, unless you specifically buy a Linux laptop.
Re:Linux touchpad like a Macbook: progress and a call for help by noelsusman on Monday March 25, 2019 @06:46PM (#19487469)
FWIW my Dell Windows laptop at work can't accomplish this correctly either.
Re:Linux touchpad like a Macbook: progress and a call for help by mikelpr on Monday March 25, 2019 @08:11PM (#19488022)
my retina MBP 15" 2012 would wake up with the lid closed on macOS. prolly hardware related and still linux acpi should get to 100 but I think it's gotten good
Re:Linux touchpad like a Macbook: progress and a call for help by saagarjha on Tuesday March 26, 2019 @02:07AM (#19489599)
Are you sure this wasn't just Power Nap?
Re:Linux touchpad like a Macbook: progress and a call for help by zymhan on Tuesday March 26, 2019 @10:15AM (#19492031)
To be fair you shouldn't notice the laptop waking up for power nap, if I'm not mistaken.
Re:Linux touchpad like a Macbook: progress and a call for help by 13rac1 on Monday March 25, 2019 @09:06PM (#19488349)
Sleep and USB-C display work out-of-the-box on my Lenovo T470s running Ubuntu 18. I've even used a USB-C hub with Ethernet, HDMI, USB3, and power delivery. Just one wire for everything. Sleep has worked for years now. YMMV
Re:Linux touchpad like a Macbook: progress and a call for help by tinnet on Monday March 25, 2019 @10:03PM (#19488674)
what's missing to bring my private t470s on par with my work macbook is "hybrid sleep". the macbook seems uncannily smart of sleeping when i close the lid, then eventually hibernating, so that even after a whole weekend unplugged it has an almost full battery when i open it on monday.

meanwhile the sleeping t470s drains the battery by keeping the RAM alive and eventually runs out. the arch wiki has some content on this, but it did not make me hopeful to get it to work

Re:Linux touchpad like a Macbook: progress and a call for help by MayeulC on Tuesday March 26, 2019 @04:05AM (#19489985)
Well, on a systemd-based distro, you can

    systemctl hybrid-sleep
And configure it as the lid close action trough logind conf (or your DE's). It works differently, though (AFAIK). It saves the state to both RAM and disk, so when battery eventually runs out, you can resume from disk. The solution you offer seems interesting. It would just need a RTC wakeup event, so that the system goes all the way to S5 after a set time.
Re:Linux touchpad like a Macbook: progress and a call for help by aembleton on Monday March 25, 2019 @07:20PM (#19487717)
Touchpad - my work Dell touchpad is not as good as my old Macbook Pro, but my Xiaomi Air touchpad feels just as good to me. The only gestures are use are two finger scrolling so I don't make use of the touchpad as much as others do.

Sleep mode. It's failed on my a couple of times in the last year, but my Macbook Pro failed about as often. I'm not sure what the issue is here.

USB-C display. Using one right now. Got a USB-C hub plugged into my Xiaomi Air that is providing it with power, keyboard, mouse, HDD and display. What is the issue you're seeing with this?

My Dell is running Ubuntu 18.04 LTS. Xiaomi Air is running Linux Mint 18.3 Sylvia.

Re:Linux touchpad like a Macbook: progress and a call for help by darpa_escapee on Monday March 25, 2019 @04:34PM (#19486520)
> I use a Macbook and a Linux (Kubuntu 19.10) desktop, and I vastly prefer the Linux desktop for UX.

How's the battery life? I used to use Linux as my daily driver until about 2015, but grew tired of replacing batteries in laptops that weren't made to have their batteries replaced.