Go to file
Julien Palard e4e64664ed
ControlPersist no longer needed.
2024-01-08 10:36:12 +01:00
.config/git Moving .gitconfig to . 2023-12-03 08:43:33 +01:00
.emacs.d My PR has been merged. 2024-01-05 14:01:55 +01:00
.local/bin clean: Longer but easier to maintain for me. 2024-01-02 09:40:30 +01:00
.ssh ControlPersist no longer needed. 2024-01-08 10:36:12 +01:00
.Xdefaults Try a less blue theme. 2020-06-03 11:37:29 +02:00
.Xdefaults-solarized Try a less blue theme. 2020-06-03 11:37:29 +02:00
.Xdefaults-zen Easy-to-copy colors. 2022-04-23 15:05:04 +02:00
.bashrc Oops dropped it a few commits ago. 2024-01-05 13:38:14 +01:00
.curlrc Silent curl. 2019-12-02 10:05:32 +01:00
.gitignore Cloning in my home directory. 2023-12-03 08:34:39 +01:00
.profile Oops, forgot 'export'. 2023-12-11 20:52:52 +01:00
.pypirc proofreading 2023-12-03 08:31:11 +01:00
.screenrc Give their real names to dotfiles. 2015-11-28 18:07:52 +01:00
README.md proofreading 2023-12-03 08:41:39 +01:00

README.md

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.

Pin default release

echo 'APT::Default-Release "bookworm";' > /etc/apt/apt.conf.d/00default

Then add sid (for firefox, at least):

deb https://deb.debian.org/debian sid main
deb-src https://deb.debian.org/debian sid main

Packages I typically use

apt install \
    bash-completion \
    black \
    dnsutils \
    ecryptfs-utils \
    emacs-gtk \
    exuberant-ctags \
    feh \
    firefox \
    fonts-liberation \
    fonts-symbola \
    git \
    git-completion \
    gnome \
    jq \
    keepassxc \
    lesspipe \
    libpq-dev \
    python-openssl \
    python3-full \
    source-highlight \
    tk-dev \
    unifont

and to build Python:

apt install \
    make \
    build-essential \
    libssl-dev \
    zlib1g-dev \
    libbz2-dev \
    libreadline-dev \
    libsqlite3-dev \
    wget \
    curl \
    llvm \
    libncursesw5-dev \
    xz-utils \
    tk-dev \
    libxml2-dev \
    libxmlsec1-dev \
    libffi-dev \
    liblzma-dev

Install my dotfiles

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

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

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'

What I typically do on a new laptop

  • 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

Firefox extensions