You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
6 days ago | |
---|---|---|
.emacs.d | 1 month ago | |
.ssh | 7 months ago | |
.Xdefaults | 3 years ago | |
.Xdefaults-solarized | 3 years ago | |
.Xdefaults-zen | 1 year ago | |
.bashrc | 6 days ago | |
.curlrc | 4 years ago | |
.gitconfig | 7 months ago | |
.profile | 6 years ago | |
.pypirc | 4 years ago | |
.screenrc | 8 years ago | |
README.md | 7 months ago | |
install.sh | 6 years ago | |
interactive_copy.py | 6 years ago |
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 \
dnsutils \
ecryptfs-utils \
emacs-gtk \
exuberant-ctags \
feh \
firefox \
fonts-liberation \
fonts-symbola \
git \
git-completion \
gnome \
jq \
keepassxc \
libpq-dev \
python-openssl \
python3-full \
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
and for pidgin:
apt install pidgin \
pidgin-plugin-pack # Pour IRC
purple-discord
Install my dotfiles
sh <(curl -s https://raw.githubusercontent.com/JulienPalard/dotfiles/master/install.sh)
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 runupdate-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
, usexev
fromx11-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