Go to file
Julien Palard 9c8bf47b0f Forgot a minutely debug cron. 2021-04-13 17:18:05 +02:00
.config I moved my screen physically, so I need this one now. 2021-04-10 11:19:43 +02:00
.emacs.d Try lsp-deferred, and global yasnippets. 2021-04-04 18:18:53 +02:00
.ssh Add a ServerAliveInterval, which plays nicely with sshfs -o reconnect. 2017-04-24 14:50:39 +02: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 Bind TypeMatrix 'cut, copy, paste' keys to Meta, Super, Hyper for Emacs. 2020-10-18 14:45:12 +02:00
.bashrc Python 3.9 hotfix. 2021-04-10 11:13:36 +02:00
.curlrc Silent curl. 2019-12-02 10:05:32 +01:00
.gitconfig Adding a git remote-gh, and rework aliases while I'm at it. 2019-12-01 23:03:56 +01:00
.profile Adding CHROMIUM_FLAGS='--enable-remote-extensions --disable-print-preview'. 2017-03-10 19:19:05 +01:00
.pypirc pypi 2019-10-23 09:41:02 +02:00
.screenrc Give their real names to dotfiles. 2015-11-28 18:07:52 +01:00
.xsession NASA APOD FTW 2021-04-10 11:19:20 +02:00
README.md Forgot a minutely debug cron. 2021-04-13 17:18:05 +02:00
install.sh Use readonly clone to avoid asking for the passphrase. 2017-04-28 11:26:18 +02:00
interactive_copy.py Create missing intermediate directories. 2017-04-29 11:23:04 +02: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 "bullseye";' > /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-get install \
    arandr \
    bash-completion \
    build-essential \
    curl \
    dnsutils \
    ecryptfs-utils \
    emacs-nox \
    exuberant-ctags \
    feh \
    firefox \
    fonts-liberation \
    fonts-symbola \
    git \
    git-completion \
    i3 \
    i3lock-fancy \
    jq \
    keepassxc \
    libbz2-dev \
    libffi-dev \
    liblzma-dev \
    libncurses5-dev \
    libncursesw5-dev \
    libpq-dev \
    libreadline-dev \
    libsqlite3-dev \
    libssl-dev \
    llvm \
    make \
    network-manager-gnome \
    py3status \
    python-openssl \
    python3-venv \
    redshift \
    rxvt-unicode \
    tk-dev \
    unifont \
    wget \
    xautolock \
    xorg \
    xz-utils \
    zlib1g-dev

and update-alternatives --configure x-terminal-emulator to choose urxvt.

Install my dotfiles

sh <(curl -s https://raw.githubusercontent.com/JulienPalard/dotfiles/master/install.sh)

Packages I may need

apt-get install firmware-iwlwifi
apt-get install firmware-nonfree
apt-get install laptop-mode-tools
apt-get install opensc opensc-pkcs11  # For yubikey

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

Crontab

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DISPLAY=:0

# m h  dom mon dow   command
0 */4 * * * curl https://apod.nasa.gov/apod/astropix.html | grep -o 'image/[^ ]*.jpg' | sed 's#^#https://apod.nasa.gov/apod/#' | head -n 1 | xargs wget -O $HOME/apod.jpg && feh --bg-fill $HOME/apod.jpg && convert -resize 1920x1080^ $HOME/apod.jpg $HOME/apod.png