Skip to content

Commit 1edfc02

Browse files
authored
Create 2020-11-13-MacbookProCreases.md
1 parent 988131a commit 1edfc02

File tree

1 file changed

+68
-0
lines changed

1 file changed

+68
-0
lines changed
+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
---
2+
layout: post
3+
title: "Ironing out the creases in the configuration of the 14,3 Macbook Pro on Linux (debian)"
4+
date: 2020-11-13
5+
---
6+
7+
### This page is currently in progress
8+
9+
Setting up the 2017 Macbook Pro with Linux was hard in 2017 but has become a dream thanks to the work of many at the github pages of e.g. [roadrunner2](https://github.com/roadrunner2/macbook12-spi-driver) and [Dunedan](https://github.com/Dunedan/mbp-2016-linux). Nonetheless everytime I do a reinstall I wish I had noted the small details that got a few of the creases in the configuration ironed out. That is the purpose of this page.
10+
11+
I always run [Debian](https://www.debian.org/) sid so this will all be related to that distro. At the time of writing I am running with kernel 5.9.0-2 which now includes the applespi driver developed by roadrunner2.
12+
13+
# Touchbar
14+
15+
Not sure because it isn't compiling anymore according to the instructions on roadrunner2's page. Will have to follow up on that.
16+
17+
# Wifi
18+
19+
The driver is the non-free Broadcom BCM43602. [AndyHolst](https://github.com/andyholst/BCM43602_macbookpro) has hacked the configuration file to get 2.4GHz and 5GHz channels working well enough.
20+
21+
# Sudo
22+
23+
I always need to look this up. As root:
24+
25+
```
26+
usermod -aG sudo user
27+
```
28+
29+
Here `-a` means append, `-G` means to group, and `user` should obviously be replaced accordingly.
30+
31+
# Font Dpi
32+
In XFCE under `Settings Manager -> Appearance -> Fonts -> Custom DPI Settings` you can increase the font to avoid squinting.
33+
In Firefox the parameter `layout.css.devPixelsPerPx` under `about:config` can be changed to 1.5 to increase fonts by 50%.
34+
While in Firefox I change the default search engine to [DuckDuckGo](https://duckduckgo.com/) for obvious reasons.
35+
36+
# Keyboard
37+
German keyboard has letters ^ and < swapped. Not sure how to switch it now
38+
39+
#Touchpad
40+
The touchpad is active while typing which is annoying. Not sure how to disable.
41+
42+
# Packages
43+
44+
```
45+
sudo apt install thunderbird gparted scipy redshift refind
46+
```
47+
48+
# Partitioning
49+
50+
I install to an SSD using Guided Paritioning on the whole disk. I usually like to keep a FAT partition unencrypted though so I utilise only part of the space available (option comes up during install).
51+
I do
52+
53+
```
54+
sudo parted
55+
```
56+
then
57+
```
58+
resizepart 3
59+
```
60+
take care to convert bytes to blocks by dividing by 512.
61+
62+
Then
63+
```
64+
sudo cryptsetup resize /dev/mapper/sda3_crypt
65+
sudo pvresize /dev/mapper/sda3_crypt
66+
```
67+
68+
More to come.

0 commit comments

Comments
 (0)