Live data from Hacker News

Install Ubuntu 20.04 LTS on MacBookPro14,1

victorleungtw.com

141–150 of 176 posts

Re: Install Ubuntu 20.04 LTS on MacBookPro14,1

#141
post #115

Earlier quoted context omitted.

> I would kill for a mouse with a real middle button

Your reading skills are atrocious. > ... not a scroll+button. Unix/X middle click paste is a feature I sorely miss on macOS and Windows.

Middle-click paste is one of X's many usability fails, especially since it's a convention adopted by no other UI. All the rest assume a max of 2 essential buttons.

Command-C and Command-V are just so much better. Learn to love them.

Re: Install Ubuntu 20.04 LTS on MacBookPro14,1

#142
post #6

I used MacBooks with Linux starting in 2006 till the end of last year. That's when I finally gave up. I really love the hardware Apple produces, but we're at a point where I believe it's not feasible anymore to use Linux on MacBooks. For the MacBook Pros 2016 and up I put significant effort into trying to get mainline Linux running as smoothly as possible by documenting and coordinating the efforts to have drivers fo…

Just use a VM. Macs are designed to run macOS. Hardware and software working together to create an integrated product.

Re: Install Ubuntu 20.04 LTS on MacBookPro14,1

#143
post #98

Earlier quoted context omitted.

Is the battery life any good? That has always been the Achilles heel for me. The battery life is like half or 3/4 of what windows gets on the same hardware. Last I tried this was on a 2016 X1 Carbon.

Carbon X1 (6th gen ), I can get 8-9 hours light stuff and solid 6 doing work. That is pretty much equivalent to the macbook 13. I have a macbook 15 for work and am extremely disappointed in its battery life, so I think the Lenovo matches up well.

Bizarre. I probably only could get 3-4 hours tops with that Carbon X1 (might have been 4th gen?). What distro do you run? Mine was running Ubuntu.

Re: Install Ubuntu 20.04 LTS on MacBookPro14,1

#144

Earlier quoted context omitted.

This is why I can't understand the appeal of a MacBook. You have the Apple burden, the Apple costs, what benefits? The touchpad? The showoff luxury of a lighted logo?

Well, it's very good hardware, very stable software (in my experience), and you can drop to a terminal. It's excessively expensive though. It's a business expense for me, but otherwise I would've bought one of those laptops that come with Linux pre-installed.

Good hardware with the exception of the keyboards. Never had a laptop keyboard fail this bad before and then to find out it is glued in and can't really be replaced without leaving my machine in the hands of the company is not an option.

Re: Install Ubuntu 20.04 LTS on MacBookPro14,1

#145
post #133

Earlier quoted context omitted.

Macbooks are mostly bought by companies in the tech industry, which is how Apple can get away with charging high prices for them. Companies don't barter. They'll pay whatever the price. This too is why upgrades home users do not need cost an arm and a leg. Why are MBs and MBPs used in the tech industry? Many types of dev roles can only be done well on Linux or OSX (or BSD), because they're writing software for server…

My previous company used to offer both options (Dell laptop with Linux or MacBook) and eventually stopped offering the MacBook because of the RAM limitations at the time (16GB Max) and horrible docker performance. RAM and docker were very important for our product and whoever chose the MacBook ended up regretting it (devs only, I mean).

The companies I've worked at have a "docker team" that does all of that, so everyone else can just write code. Continuous integration is enough to identify if there is a bug on Linux that isn't on OSX, but sometimes you just gotta SSH into a Linux box and build there to figure it out.

Requiring docker from the get go sounds painful, but maybe that just comes from my inexperience never having to use it. Like, does CLion, PyCharm, and similar even support building into docker from the get go? Wouldn't that increase build times instead of just building it natively on your machine? Any extra level of complexity is painful until you automate it in a bug free and efficient way, I suppose.

Re: Install Ubuntu 20.04 LTS on MacBookPro14,1

#146
post #139
post #6

I used MacBooks with Linux starting in 2006 till the end of last year. That's when I finally gave up. I really love the hardware Apple produces, but we're at a point where I believe it's not feasible anymore to use Linux on MacBooks. For the MacBook Pros 2016 and up I put significant effort into trying to get mainline Linux running as smoothly as possible by documenting and coordinating the efforts to have drivers fo…

What do you run on now? My worry is that while Apple is continually making their machines less and less useful for development (meaning macOS as an environment), that the Linux laptop story remains bad even on the Dell “Ubuntu Certified” machines or the Lenovo line of newer Thinkpads. I think this means I’m resigned to “No, I would rather ssh to a Linux workstation” because I want to spend ~0 hours per year fighting…

If you want a laptop that runs Linux great out of the box, buy a Linux laptop. There are plenty of known dealers that sell them. System 76 getting the most press recently.

If you want to stick with a specific brand (eg. I usually buy Lenovo) the trick has always been to buy one gen back. Laptops are all custom hardware by nature and if the manufacturer isn't spending the time to make sure Linux works on it then it is up to the community, and they can't do it until it is available. Once available it seems to take a year or so to get everything ironed out (assuming it is a major brand popular among Linux users). This really applies equally well to small, token lines, like Dell's, as they are really only a few steps ahead of the community due to limited resources.

Re: Install Ubuntu 20.04 LTS on MacBookPro14,1

#147
post #139
post #6

I used MacBooks with Linux starting in 2006 till the end of last year. That's when I finally gave up. I really love the hardware Apple produces, but we're at a point where I believe it's not feasible anymore to use Linux on MacBooks. For the MacBook Pros 2016 and up I put significant effort into trying to get mainline Linux running as smoothly as possible by documenting and coordinating the efforts to have drivers fo…

What do you run on now? My worry is that while Apple is continually making their machines less and less useful for development (meaning macOS as an environment), that the Linux laptop story remains bad even on the Dell “Ubuntu Certified” machines or the Lenovo line of newer Thinkpads. I think this means I’m resigned to “No, I would rather ssh to a Linux workstation” because I want to spend ~0 hours per year fighting…

I use a ThinkPad now and I can't complain about missing hardware support. Something which feels almost magical to me is that Lenovo supports Linux Vendor Firmware Service (LVDS) [1] which means you can issue a simple "fwupdmgr get-updates && fwupdmgr update" and reboot and you got the latest firmware updates for your machine. That's completely unthinkable with MacBooks as firmware updates come bundled with macOS updates and therefore the only good mechanism to update the firmwares is to run macOS as well.

Regarding the need to fix occasional problems when using Linux: There is no silver bullet. While Linux has some advantages over the other operating systems, it also has its disadvantages. One disadvantage is that it's still quite niche, which I believe is the main reason for such problems. However from my experience it has already gotten _a lot_ better over the past two decades. More people are using Linux nowadays which results in companies putting more effort and resources into Linux development which then results in a better overall experience for everybody.

If your goal is to spend no time at all fixing or tweaking your system, I'd say Linux isn't the right choice for now.

[1]: https://fwupd.org/

Re: Install Ubuntu 20.04 LTS on MacBookPro14,1

#148
post #139
post #6

I used MacBooks with Linux starting in 2006 till the end of last year. That's when I finally gave up. I really love the hardware Apple produces, but we're at a point where I believe it's not feasible anymore to use Linux on MacBooks. For the MacBook Pros 2016 and up I put significant effort into trying to get mainline Linux running as smoothly as possible by documenting and coordinating the efforts to have drivers fo…

What do you run on now? My worry is that while Apple is continually making their machines less and less useful for development (meaning macOS as an environment), that the Linux laptop story remains bad even on the Dell “Ubuntu Certified” machines or the Lenovo line of newer Thinkpads. I think this means I’m resigned to “No, I would rather ssh to a Linux workstation” because I want to spend ~0 hours per year fighting…

My dellbuntu works quite well.

Re: Install Ubuntu 20.04 LTS on MacBookPro14,1

#149
post #143

Earlier quoted context omitted.

Carbon X1 (6th gen ), I can get 8-9 hours light stuff and solid 6 doing work. That is pretty much equivalent to the macbook 13. I have a macbook 15 for work and am extremely disappointed in its battery life, so I think the Lenovo matches up well.

Bizarre. I probably only could get 3-4 hours tops with that Carbon X1 (might have been 4th gen?). What distro do you run? Mine was running Ubuntu.

Fedora - currently 31

I do have tlp running on it.

Re: Install Ubuntu 20.04 LTS on MacBookPro14,1

#150
post #51
post #7

Buy a XPS-13 developer edition.

I tried the 13' laptop but after getting used to the extra space around arrow keys on Macbook's for a decade, the tight configuration of keys on the 13 which have PGUP/PGDOWN adjacent to the up/left/right keys ended up annoying the shit out of me. I ended up going with a 15' XPS and installing Ubuntu. The annoying part was the wifi card which sometimes Ubuntu would stop finding, so I'd have to re-install the drivers.…

>The annoying part was the wifi card which sometimes Ubuntu would stop finding, so I'd have to re-install the drivers.

I had a 15 XPS (Skylake version?) a few years ago with Ubuntu - I just ended up buying an Intel Wifi card for $25 and replacing the oem one. The nice thing about that XPS was it was user serviceable.

Post reply on HN