Skip to content

Instantly share code, notes, and snippets.

View ilya-grigoriev's full-sized avatar
:shipit:
Working from home

Ilya Grigoriev ilya-grigoriev

:shipit:
Working from home
View GitHub Profile
@ilya-grigoriev
ilya-grigoriev / macbook7.1
Last active June 25, 2025 21:17
MacBook 7.1 (mid 2010) with Ubuntu 18.04 in 2025
1. Install Ubuntu 18.04.6 (amd64).
2. Follow [the instructions](https://askubuntu.com/a/613573). When I entered `sudo setpci -s "00:17.0" 3e.b`, I got `0a`, but this didn't affect the installation Nvidia graphics driver.
3. Install Nvidia graphics driver and drivers for Wi-Fi from `Additional Drivers` program (in Ubuntu). Reboot. We see the Nvidia logo.
4. [The method with enabling "EnableBrightnessControl" in `/etc/X11/xorg.conf`](https://askubuntu.com/a/199652) doesn't work for me, so I created hotkeys for `F1` and `F2` with `xbacklight` tool.
5. Disabled unnecessary (for me) daemons like `snapd`, `apparmor`, etc., so as not to slow down the system.
6. Done!
@ilya-grigoriev
ilya-grigoriev / alacritty.toml
Created July 3, 2023 16:17
Alacritty config
import = ["~/.config/alacritty/themes/ayu_dark.toml",
"~/.config/alacritty/themes/doom_one.toml", "~/.config/alacritty/themes/drakula.toml"]
live_config_reload = true
[env]
TERM = "alacritty"
[font]
size = 14