dotfiles/README.md

66 lines
1.6 KiB
Markdown
Raw Permalink Normal View History

2019-10-15 12:42:23 +00:00
# Install a new Debian
On a laptop, I typically use
https://cdimage.debian.org/images/unofficial/non-free/images-including-firmware/
to get the Wi-Fi firmwares.
2019-10-15 12:40:52 +00:00
# Pin default release
2021-11-06 09:26:12 +00:00
echo 'APT::Default-Release "bookworm";' > /etc/apt/apt.conf.d/00default
2019-10-15 12:40:52 +00:00
Then add sid (for firefox, at least):
deb https://deb.debian.org/debian sid main
deb-src https://deb.debian.org/debian sid main
2019-10-15 09:43:55 +00:00
# Install my dotfiles
2017-02-20 13:10:33 +00:00
2023-12-03 07:41:39 +00:00
I clone the repo in `~/` thanks to a `.gitignore` containing `*`, so
the first setup looks like:
git init
git fetch git@git.afpy.org:mdk/dotfiles.git
git checkout -f main
2017-02-20 13:10:33 +00:00
2018-01-30 20:27:35 +00:00
2017-03-14 16:01:09 +00:00
## Packages I may need
```
apt install firmware-iwlwifi
apt install firmware-nonfree
apt install tlp # Optimize Laptop Battery Life
apt install opensc opensc-pkcs11 # For yubikey
2017-03-14 16:01:09 +00:00
```
2015-11-28 17:05:51 +00:00
2021-09-19 10:04:53 +00:00
With:
echo'CPU_ENERGY_PERF_POLICY_ON_BAT=power > /etc/tlp.d/50-cpu.conf
## Packages I don't want
```
aptitude purge ttf-bitstream-vera
```
see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981577 or simply `echo $'e\xcc\x81a'`
2015-11-28 17:05:51 +00:00
# What I typically do on a new laptop
2023-12-03 07:41:39 +00:00
- Change grub sleep time in `/etc/default/grub` (and run `update-grub`)
- Set `Option "Tapping" "on"` for touchpad in `/usr/share/X11/xorg.conf.d/40-libinput.conf`
- (May have to change button map, like `xinput set-button-map 12 1 2 2 4 5 6 7`, use `xev` from `x11-utils` to see button ids).
- https://wiki.debian.org/TransparentEncryptionForHomeFolder
- Storage=volatile dans /etc/systemd/journald.conf
2018-01-30 20:27:35 +00:00
2018-10-14 22:14:28 +00:00
# Firefox extensions
2023-12-03 07:41:39 +00:00
- [uBlock in medium mode](https://github.com/gorhill/uBlock/wiki/Blocking-mode)
- Multi Account Containers
- Grammalecte