by hacknat · 6y ago · 0 comments
Thinkpad + Fedora
Fedora stays on the cutting edge of the kernel, which means that driver support is quite good. Additionally, most of the Linux kernel developers use Thinkpads, so the drivers for Thinkpad are always good. I've never had to download drivers individually.
Here's a list of things that just "worked" without me having to do anything:
1. My bluetooth noise cancelling headphones paired with no issues.
2. My desktop display with usb-c just works.
3. Old-style plugin iphone headphones worked as did their builtin mic.
4. Logitech camera plugging into my monitor and routing to the laptop via usb-c just works.
5. I have yet to find a printer (as long as its on the same wifi network) that I can't use (granted I barely print anything).
6. You can install and manage everything via the GUI.
7. Docker just works.
Things that didn't work:
1. I had to install "gnome-tweaks" in order to remap my CapsLock key to Control.
In my ten years of using Thinkpad+Fedora I've only encountered one issue and that was during the Wayland transition. The Zoom client (as in video chat) briefly didn't support screen sharing, but that was fixed several versions ago.
Also, people saying that "M1" is a gamechanger: I totally get it for certain sectors, but for Software Engineers? Memory has always been my bottleneck. I don't think I've ever seen my CPU choke on a legitimate task.
Stick to the X, T & to some extent P series. Avoid nvidia graphics if you can.
Arch Linux (and to some extent OpenBSD) probably has the best support/documentation/fixes for any ACPI/APM management issues you have.
I have a top-end 2017 MBP and I just recently bought a brand new 7th Gen X1 Carbon for very cheaply (like $800) and it _screams_ in comparison to the Mac.
No one would say it's as seamless as using a Macbook, but being able to tinker with and customize everything has been half the fun.
Being limited to 802.11n networking is fine.
That's not to say that it's been perfect. The touchpad on this thing isn't great. I've had issues with sporadic jumping of the pointer when touching it with two fingers. I replaced the touchpad which did not have any effect. The funny thing is that the problem has been slowing going away over the months. I have never tested it on Windows, so I wouldn't know if there is a hardware problem.
The reason I was mentioning this is because I wanted to give some credit to Lenovo support. I fully expected them to tell me to test on Windows before replacing the touchpad but they were happy to tell me they supported Linux and me showing the issue in Arch Linux was enough for them to replace it.
The 7th gen has two different screen options. I gather you got the higher density one. I don't use Ubuntu but I have the same display and don't have scaling issues. I use Arch & OpenBSD and configure everything myself though.
> Speakers are incredibly quiet.
Mostly a PulseAudio issue (doesn't play well with 4 speaker configurations). Has multiple workarounds (2 speaker only and to use all 4). I got it working in an hour. Full fix coming in next major version.
> Suspend / hibernate does not work reliably.
Has had a fix since February
Also, Lenovo now directly supports Linux on some of their laptops, including the X1.
Stand-alone Nvidia GPUs are fine but on Fedora you have to do some work because the Mutter and Kwin devs are currently in a spat with Nvidia.
Also look at what Redhat or BSD developers use.
Besides, try to avoid discrete GPUs if you can. An all Intel machine, or lately all AMD, usually works really well.
Another good sign is the availability of EFI firmware updates that are OS independent.
I had Mint 20 running on it briefly. Everything (that I tried) worked perfectly, except that the trackpad was jumpy. Eventually got fed up with the imprecision and put Win10 back on it (I still run Mint on a Yoga S730 and have Ubuntu under WSL2 on the L14).
I'm sure I'll try again at some point as it is probably a simple fix; I just couldn't spare the time to investigate. I'm assuming as this is a fairly new machine, when I try again in a few months it may work better.
Except for ultrabooks where the sacrifice makes sense, I don't expect Thinkpads with soldered RAM to ever become standard. That's just not their target market - their warranties even allow CPU repasting.
When talking about ThinkPads, I always recommend going with the T line and skipping anything with S at the end.
COPR [2] is interesting, like PPA, with the worst user experience I've ever seen. The patched kernel I was interested about was already compiled by somebody, and available through COPR, but good luck finding which repo has an up-to-date version of the package you're interested. The whole Fedora COPR site is more than useless.
I mean, the default experience was pretty good, but being the unstable branch of Red Hat means there's a lot of breakage, every release changes something big and you're constantly on the bleeding edge without the safety net of a top notch wiki like Arch Linux has.
I've never had anything break, unlike in Ubuntu. (Constant Ubuntu breakages were the thing that drove me to Arch in the first place.)
Arch Linux is basically "default upstream Linux", which means less random patches and stuff built on top of it.
On Ubuntu I get security and reliability fixes, and every time I upgrade to a next version I got stuff to fix; ie. every half a year, if I upgrade to next release and decide to not stick on a LTS version. With LTS it is rock stable for years to come, at the sacrifice of not being able to run the latest and the greatest version of software.
Yeah, exactly. This is everyone's experience.
> And, practically every time I boot into it, I got stuff to fix...
But this isn't, you're definitely doing something very wrong.
I recently moved over to Podman from Docker and found the documentation for it very good as well.[3]
I do agree that the search functionality of Copr is extremely basic to the point of being useless for popular packages such as custom kernels, but I believe there is some effort to remedy this with upvoting Copr repos, but I'd argue this is still not enough.
I found though as someone new to Copr that it was very easy to figure out as someone simply building my own packages.
[1] https://docs.fedoraproject.org/en-US/packaging-guidelines
[2] https://docs.fedoraproject.org/en-US/quick-docs/kernel/build...
(Create patch, install src.rpm, add patch to SOURCE directory, mention patch in .spec and add instruction to apply patch to %setup section, and then rpmbuild the .spec).
$ cat ~/.config/autostart/map-caps-lock-to-ctrl.desktop
[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=Map CAPS LOCK to CTRL
Comment=Remaps the CAPS LOCK key to another CTRL key
Exec=/usr/bin/setxkbmap -option 'ctrl:nocaps'
OnlyShowIn=XFCE;
StartupNotify=false
Terminal=false
Hidden=falseI wish there was a drop-in file that did this at the console/keymap level. It seems every distribution does it a different way.
I always have to make my own keymap for loadkeys
If you look for a Laptop, Dell XPS are pretty good. If you buy one used, avoid the one which has the camera at the bottom of the screen. People look right up your nose in meetings I was told.
As for magic mouse, right clicks works, but it might be because I already configured the mouse to enable right click on my mac. The mouse seem to store that settings locally in the device itself. My only gripes is inertial scrolling doesn't seem to work. I'm using ubuntu 20.04 desktop.
Edit: forgot to include the biggest annoyance related to using apple bluetooth keyboard on my linux desktop: for some reason, ubuntu seem to think the right half side of the keyboard is actually a numpad. I had to install numlockx and add `numlockx off` to gnome startup command list to fix this.
Steam is also at a point where I can just install native windows games and run them with barely any trouble.
I’d say 50% of games works out of the box. And 25% more after installing some video libraries that are for some reason not automatically installed.
It can support up to 64gb though and two NVMe drives + one Sata drive so that’s nice. But it drove me mad in the past few months that I’ve been using it, by hanging several times a day so I built instead a desktop machine for Linux as they never have these kind of issues, and for mobile use I might as well be fine with MBP from 2015
[1] https://www.amazon.com/gp/product/B07P8C1PWY/ref=ppx_yo_dt_b...
Also, I have found a few things that seem to make a large difference on power/battery. Currently running i3 desktop, and a Firefox extension (auto tab discard) that unloads pages I've not been in recently.