Install: SMB stuff, syncthing, google chrome, keepassxc
Make Xfce look modern and beautiful | Average Linux User
Update sources.list replacing bookworm with testing.
Edit your apt sources, changing 'stable' (or bookworm, the current codename for stable) to 'testing' (or trixie, the current code name for the next stable release).
Edit your security updates apt sources (anything with security.debian.org in it) by changing 'stable' or bookworm to 'testing' or trixie.
Remove, disable or comment out any other stable-specific apt sources, like *-backports or *-updates.
Verify that your installation is not fixed to a specific release in /etc/apt/apt.conf.d/00default-release
sudo apt update
sudo apt full-upgrade -y
Your PC will stay with "testing" updates forever. The key point is edit your apt sources, changing to 'testing' (not the named release).
Ref: https://wiki.debian.org/DebianTesting?highlight=%28CategoryRelease%29
visudo
Add the the end of the file like this:
# User privilege specification
root ALL=(ALL:ALL) ALL
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
# See sudoers(5) for more information on "@include" directives:
dana ALL=(ALL) NOPASSWD:ALL
@includedir /etc/sudoers.d
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
# See sudoers(5) for more information on "@include" directives:
@includedir /etc/sudoers.d
bubba ALL=(ALL) NOPASSWD: ALL
deb http://deb.debian.org/debian bookworm-backports main
to /etc/apt/sources.list (or add a new file with the ".list" extension to /etc/apt/sources.list.d/).
Run apt update or apt-get update
Install newer Linux kernel:
apt install -t bookworm-backports linux-image-amd64 linux-headers-amd64
https://wiki.debian.org/DebianUpgrade
# So the laptop will not power off what lid is closed, when then is no GUI to set this.
sudo nano /etc/systemd/logind.conf
Edit the "HandleLidSwitch" line:
Find the line that says HandleLidSwitch=suspend.
Change it to HandleLidSwitch=ignore.
# Save and restart the service:
sudo systemctl restart systemd-logind
To enable Samba browsing in Thunar within an XFCE environment, ensure that gvfs-backends and smbclient are installed, along with any other necessary Samba-related packages. This allows Thunar to interact with Samba shares through the smb:// URI scheme, enabling you to connect to and browse network shares.
Code
sudo apt install gvfs-backends smbclient
ref: https://docs.syncthing.net/users/autostart.html
Using DE tools:
Search for and launch a tool related to autostart or startup applications.
Add a new autostart application and search for and choose “Start Syncthing”.
If you don’t find “Start Syncthing” in the steps above or just prefer doing it manually:
Find the file syncthing-start.desktop: Either from the package you downloaded from GitHub in etc/linux-desktop/, in /usr/share/applications/ if installed from your package manager or from our repository.
Copy syncthing-start.desktop to ~/.config/autostart/.
To see the setting
xset -q
Make an autostart start command to off screen in 10 minutes and lock 30 seconds after that. Numbers are in seconds.
xset s 600 30