[ Home | Install ]
Install Debian
https://www.debian.org/distrib/
https://www.debian.org/releases/stable/amd64/ch04s03.fr.html
Download an ISO file and copy it to a USB drive :
sudo dd if=<file> of=<device> bs=16M status=progress oflag=sync
or
sudo cp <file> <device> && sudo sync
where /dev/sdc
, not a partition.
https://www.youtube.com/watch?v=gddlhr9ST9Y
choose Install
for the text based installer
let the domain name blank or enter a local domain such as : mydomain.local
let the root password blank in order to use sudo
.
Upgrade packages
sudo apt update && sudo apt upgrade
Install and Configure Git
sudo apt install git
git config --global user.name "My Name"
git config --global user.email mymail@example.com
Execute the post-install script
mkdir ~/DevFiles && cd ~/DevFiles
git clone https://github.com/hotnuma/sysconfig.git
cd sysconfig
./sysconfig.sh
reboot
Firefox
Install uBlock Origin, SingleFile, cookies.txt.
Restore bookmarks, passwords, filters and user.js.
Test videos :
https://www.youtube.com/watch?v=cuXsupMuik4
https://www.youtube.com/watch?v=TVtoxUohG5E
Disable Filemanager service :
https://bbs.archlinux.org/viewtopic.php?id=255794
https://unix.stackexchange.com/questions/66662/
https://askubuntu.com/questions/530779/
sudo mv /usr/share/dbus-1/services/org.xfce.FileManager.service .
sudo mv /usr/share/dbus-1/services/org.xfce.Thunar.FileManager1.service .
sudo mv /usr/share/dbus-1/services/org.xfce.Thunar.service .
Configure Terminal
Font : DejaVu Sans Mono Book 11 Geometry : 90 x 35
XFCE Session
On log out, set don't save session, delete saved sessions.
Mount internal drives
sudo nano /usr/share/polkit-1/actions/org.freedesktop.UDisks2.policy
In the excerpt allow_active
with yes :
<allow_active>yes</allow_active>
USB keys access rights
If needed, set user right to the drive mount point :
sudo chown -R $USER:$USER /media/$USER/Data/
Disable grub background
cat /etc/default/grub
GRUB_DEFAULT=0
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""
GRUB_BACKGROUND=
Install Adwaita-xfwm4 theme
wget https://github.com/hotnuma/Adwaita-xfwm4/archive/refs/heads/master.tar.gz
tar xzf master.tar.gz
mkdir $HOME/.themes
mv ./Adwaita-xfwm4-master $HOME/.themes/Adwaita-xfwm4
Panel dark mode
Run xfce4-appearance-settings
, select adwata dark and then clair theme to
have dark panel working.
Icon theme
set icon theme elementary xfce
Disable log messages
https://github.com/hotnuma/doclinux/blob/master/01-Systemd.md#disable
User dirs
edit user dirs .config/user-dirs.dirs
Progams settings
copy restore geany settings
copy mpv settings
Xfwm4
Use resistance instead of magnet.
If the panel is on top, disable drop down shasows :
Install yt-dlp
https://github.com/yt-dlp/yt-dlp/wiki/Installation
wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp
chmod a+rx ./yt-dlp
sudo mv ./yt-dlp /usr/local/bin/
To upgrade download the program again.
Install QtCreator
https://unix.stackexchange.com/questions/752145/
https://packages.debian.org/bookworm/qtcreator
https://packages.debian.org/source/bookworm/qt6-base
./sysconfig qtcreator
additional packages : qtchooser qt6-tools-dev
Disable unneeded plugins :
QbsProjectManager
Help
Welcome
Android
Qnx
RemoteLinux
Modeling
GLSLEditor
Qt Quick
FakeVim
Version Control
In Edit/Preferences/Kits
.
In Qt Version
, browse to qmake path, such as :
/usr/lib/qt6/bin/qmake
In the Kits
tab, select the previously detected Qt Version
.
In the preferences of the editor, Fonts and Colors
, set font
size to 11 and select the Default Classic
color scheme.
Repack gvfs-backends
https://unix.stackexchange.com/questions/138188/
download : apt download gvfs-backends
raw extract :
dpkg-deb -R gvfs-backends_1.57.2-2_arm64.deb gvfs-backends
file list :
usr/libexec/gvfsd-mtp
usr/libexec/gvfs-mtp-volume-monitor
usr/lib/gvfs/gvfsd-mtp
usr/lib/gvfs/gvfs-mtp-volume-monitor
usr/lib/systemd/user/gvfs-mtp-volume-monitor.service
usr/share/dbus-1/services/org.gtk.vfs.MTPVolumeMonitor.service
usr/share/gvfs/mounts/mtp.mount
usr/share/gvfs/remote-volume-monitors/mtp.monitor
create archive from list :
pushd gvfs-backends
tar cvfz ../gvfs-mtp_1.57.2-2_arm64.tgz -T ../files.txt
popd
install :
sudo tar xvf gvfs-mtp_1.57.2-2_arm64.tgz -C /
killall -q /usr/lib/gvfs/gvfsd -HUP
killall -q /usr/libexec/gvfsd -HUP
create list :
tar tfz gvfs-mtp_1.57.2-2_arm64.tgz \
| grep -e "[^/]$" | sort > files.txt
Video test
Device nformations
sudo lspci -k | grep -EA3 'VGA|3D|Display'
Intel GPU
https://wiki.debian.org/Firefox
https://wiki.debian.org/HardwareVideoAcceleration
https://christitus.com/fix-screen-tearing-linux/
https://bugzilla.mozilla.org/show_bug.cgi?id=1710400
sudo apt purge xserver-xorg-video-intel