11 things to do after installing Debian 11

Configure daily update checks

If you would like to be notified of available updates the day they become available, open the Software & Updates application and set the following options:

Are you unable to get a list of updates?

You may run into the following error message when attempting to check for updates for the first time:

Unable to get list of updates:
Failed to update metadata for lvfs: checksum failure: failed to verify data, expected yJcztsgVmmvtkn9na5YyQVdyqFNIXlzYUgrACKX

Run the following command to fix the issue:

$ fwupdmgr --force refresh

Enable unattended upgrades

If you would like to enable the automatic and unattended downloading and installation of security upgrades, run the follwoing command:

$ sudo dpkg-reconfigure unattended-upgrades
Configuring unattended-upgrades

Automatically donwload and install stable updates? Yes

Install TLP

If you have installed Debian 11 on a laptop, consider installing TLP to further optimise battery life.

$ sudo apt-get install tlp

Enable Network Manager to manage all interfaces

Network manager detects and configures network interfaces to automatically connect your system to available networks. By default, it will only recongnise network interfaces not declared in /etc/network/interfaces. If you want NetworkManager to manage all interfaces, open NetworkManager.conf with the following command:

$ sudo nano /etc/NetworkManager/NetworkManager.conf

Make the following change:

[ifupdown]
managed=true

Restart NetworkManager with the following command:

$ sudo service NetworkManager restart

Install Syncthing for continuous file synchronisation

Syncthing synchronises files between two or more computers. Its usefulness cannot be overestimated. Add the release key with the following command:

$ sudo curl -s -o /usr/share/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg

Add the syncthing repository with the following command:

$ sudo echo "deb [signed-by=/usr/share/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list

Install syncthing on your system with the following command:

$ sudo -- bash -c 'apt update && apt install syncthing'

Enable syncthing for the local user bullseye:

$ sudo -- bash -c 'systemctl enable syncthing@bullseye.service && systemctl start syncthing@bullseye.service && systemctl status syncthing@bullseye.service'

Access the Syncthing configuration page by using your browser to navigate to the following address:

https://localhost:8384

If you would like to enable direct connections for faster synchronisation, configure ufw with the following command:

$ sudo ufw allow syncthing

Replace Firefox ESR with Epiphany

Firefox ESR appears to be stuck on version 78 for the time being. Inconsistencies relating to the use of graphics libraries are preventing the planned upgrade. If you would like to side-step the issue and replace Firefox ESR with GNOME Web (Epiphany), use the following command:

$ sudo -- bash -c 'apt-get install --show-progress epiphany-browser && apt-get remove --show-progress --purge firefox-esr'

Install neofetch

Neofetch is a command-line tool that displays information about your system next to an operating system logo.

$ sudo apt-get install neofetch

If you would like neofetch to display every time you open a new terminal, open .bashrc with the following command:

$ nano ~/.bashrc

Add the following text at the end of the file:

# use Neofetch to display information about the system
if [ -f /usr/bin/neofetch ]; then
    clear && neofetch;
fi

Apply the changes with the following command:

$ source ~/.bashrc

Hide the snap directory

The snap directory in your home folder is not supposed to be accessed manually. Use the following command to hide it from view:

$ echo snap >> ~/.hidden

Hide the Desktop directory

The Desktop feature was disabled in GNOME 3.28. While this decision was not universally popular, developers pointed to the fact that, as an unmaintained feature, it stood the way of other improvements. Use the following command to hide the associated Desktop folder from view:

$ echo Desktop >> ~/.hidden

Install Virtual Machine Manager

If you would like run virtual machines from your desktop, start with the following command:

$ grep -E --color 'svm|vmx' /proc/cpuinfo

If the output shows svm or vmx in red, then the virtualization extensions are enabled and you are good to go.

Proceed to install virt-manager with the following command:

$ sudo apt-get install virt-manager libguestfs-tools python3-guestfs

With only members of the group libvirt allowed to run virt-manager, add the local user bullseye to the group:

$ sudo adduser bullseye libvirt

Install Google Chrome

Google Chrome is available neither as a snap nor flatpak. This ties in with what Martin Wimpress had to say in a recent episode of the LINUX Unplugged podcast.

If, after listening to Martin, you would still like to use Google Chrome, download the official Google Chrome for Linux installer with the following command:

$ wget -P ~/Downloads --show-progress https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

Install Google Chrome with the following command:

$ sudo dpkg -i ~/Downloads/google-chrome-stable_current_amd64.deb

When you launch Google Chrome for the first time, it will ask you to:

[ ] make Google Chrome the default browser
[ ] Automatically send usage statistics and crash reports to Google

OK

Disable both these options. If required, you can always re-enable them later.

With reference to Joey Sneddon and OMG!Ubuntu!

What we give away when we log on to a public Wi-Fi network

“Already 20 smartphones and laptops are ours. If he wanted to, Slotboom is now able to completely ruin the lives of the people connected.” Wouter Slotboom is one of the good guys, demonstrating to Maurits Martijn his effortless ability to retrieve people’s passwords, steal their identity, and plunder their bank accounts.
decorrespondent.nl

Good luck with that

“Practicing effective counterintelligence on the internet is an extremely difficult process and requires planning, evaluating options, capital investment in hardware, and a clear goal in mind.” The advice of the grugq is to choose your adversaries carefully, should you wish to maintain anonymity.
grugq.github.io