share configurations for digital emancipation
- freedom (open licenses)
- privacy protection
- minimalism
- stability
compare software and service with https://alternativeto.net/
- download https://www.debian.org/ and mount iso on USB
- boot from USB
- for the hostname use: deb
- don’t put root password (allows using sudo)
- use LVM encrypted (encrypt the os)
- for now do not install the desktop environment but only: standard system utilities, print server
- login: enter user and password on tty2
- connect an ethernet cable or a smartphone in USB tethering mode
- run a
sudo apt update
andsudo apt upgrade
- then launch:
sudo apt install \
gnome-session \
gnome-terminal \
gnome-shell-extension-prefs \
gnome-tweaks \
seahorse \
gnome-disk-utility \
mpv \
eog \
foliate \
transmission \
audacity \
gnome-characters
- since it is encrypted, it is advisable to enable: Settings > User > Automatic Login
- on
gnome-terminal
usingnano
(^
stands forctrl
) modify the following files:
/etc/default/grub
to have GRUB_TIMEOUT=1
and GRUB_TERMINAL=console
,
then run sudo update-grub
/etc/apt/sources.list
to have:
deb http://deb.debian.org/debian/ stable main contrib non-free non-free-firmware deb-src http://deb.debian.org/debian/ stable main contrib non-free non-free-firmware deb http://deb.debian.org/debian/ stable-updates main contrib non-free non-free-firmware deb-src http://deb.debian.org/debian/ stable-updates main contrib non-free non-free-firmware
then you can install firmware non-free, in my case (lenovo thinkpad x1 1ts
gen) sudo apt install firmware-iwlwifi
/etc/bluetooth/main.conf
to have: AutoEnable=false
create a ~/.config/mpv/mpv.conf
and add fs=yes
sudo apt install firefox-esr
then write about:config
in the address bar and
set:
network.security.esni.enabled
to trueextensions.screenshots.disabled
to true
in settings set:
- DuckDuckGo as Default Search Engine
- in Enhanced Tracking Protection set Custom with blocking of cookies from unvisited sites
- “Do Not Track” always
- Delete cookies and site data when Firefox is closed with the exception of a few sites
- history: custom, only when i close firefox
- OCSP disabled
- HTTPS-Only in all windows
- DNS secure: MaxProtection - NextDNS
write about:config
in the address bar and set:
media.peerconnection.enabled
to false
- uBlock Origin
- ClearURLs
- Bitwarden
- Simple Translate
- Auto Move Windows, Auto Activities
- Unite, Hide Top Bar
- Bluetooth Quick Connect
still using gnome-terminal
and nano
:
run sudo apt install macchanger
and modify
/etc/NetworkManager/conf.d/macchanger.conf
to have:
[device] wifi.scan-rand-mac-address=no [connection] wifi.cloned-mac-address=random
run sudo apt install systemd-resolved
and modify
/etc/systemd/resolved.conf
to have https://my.nextdns.io setups
run sudo apt install privoxy tor
and modify /etc/privoxy/config
to have
forward-socks5t
under: Settings > Network > Network Proxy > Manual; set:
HTTP: 127.0.0.1 8118 HTTPS: 127.0.0.1 8118 Socks: 127.0.0.1 9050
test privacy with https://browserleaks.com/
sudo apt install syncthing
systemctl --user enable syncthing.service
sudo apt install git
git config --global user.signinKey <key>
git config --global user.name <name>
git config --global user.email <email>
git config --global commit.gpgsign true
sudo apt install \
emacs \
hunspell-en-us \
hunspell-it \
ripgrep \
sox \
mpg123 \
libtool-bin \
libvterm-dev
git clone [email protected]:francesco-cadei/.emacs.d.git
you can now sudo apt autoremove --purge gnome-terminal
and use terminal
inside emacs with C-x C-d
.
sudo apt install \
texlive \
texlive-pictures \
texlive-publisher \
texlive-pictures \
dvipng
sudo apt install \
cmake \
clang \
libclang-dev
sudo apt install \
openjdk-17-jdk \
openjdk-17-source
install specific package for thinkpad’s fan:
sudo apt install \
acpi-call-dkms \
thinkfan \
tp-smapi-dkms
sudo apt install tlp tlp-rdw
sudo tlp start
sudo tlp-stat
sudo apt install powertop
sudo systemctl enable powertop.service
sudo apt install thermald
sudo apt install \
libreoffice \
libreoffice-gnome
- do initial setup of an android device without google account (prefer a device with pure android)
- i use Nokia because of the partnership with https://www.ifixit.com/
- under: Settings > Network & internet > Private DNS; use https://nextdns.io/ config
- with usb cable provide https://f-droid.org/ apk, install it
- install OpenBoard from F-Droid and disable GBoard
- uninstall or disable all unused app
- setup
Wi-Fi non persistent MAC randomization
to true - setup animations to 0.5x
- Olauncher Clutter Free
- Syncthing, Orgzily Revived
- RiMusic, Tuta, Tuta Calendar, Silence
- Aegis, Aurora Store
- Bitwarden, PosteID, Kena Mobile
- Wise, ING Italia
- Maps, Translate
- Firefox, Beats, WhatsApp
- Meta Horizon, Audible, Kena Mobile
- uBlock Origin
- Video Background Play Fix
- F-Droid
- OpenBoard
- Syncthing
- Aegis, Aves Libre