Notes
How to install comfortable Debian environment on Dell Latitude D630
$ su
# sed -i '/cdrom/d' /etc/apt/sources.list
# echo 'deb http://httpredir.debian.org/debian/ stretch contrib non-free' > \
/etc/apt/sources.list.d/deb-bin.list
# apt update
# apt upgrade
# apt install firmware-linux firmware-iwlwifi
# echo 'GRUB_CMDLINE_LINUX_DEFAULT="video=SVIDEO-1:d"' >> /etc/default/grub
# grub-mkconfig -o /boot/grub/grub.cfg
# apt install sudo
# /sbin/usermod -a -G sudo <username>
# /sbin/usermod -a -G adm <username>
# reboot
after reboot, install useful tools
$ sudo apt install apt-transport-https aptitude nfs-common
$ sudo apt install ack feh inkscape jq mc ttf-mscorefonts-installer vim
$ sudo apt install build-essential git git-gui htop ruby ruby-dev rsync yarn
$ git config --global alias.up 'pull --rebase --autostash'
$ echo 'gem: --no-document' > ~/.gemrc
$ sudo gem update --system
$ gem pristine --all
$ sudo gem install bundler
replace Firefox ESR with Mozilla Firefox browser
$ sudo mkdir /opt
$ cd /opt
$ sudo wget https://download-installer.cdn.mozilla.net/pub/firefox/releases/61.0.2/linux-x86_64/en-US/firefox-61.0.2.tar.bz2
$ sudo tar xvf firefox-61.0.2.tar.bz2
$ sudo rm firefox-61.0.2.tar.bz2
$ mkdir -p ~/.local/share/applications
$ echo '[Desktop Entry]
Name=Firefox Stable
Comment=Web Browser
GenericName=Web Browser
X-GNOME-FullName=Firefox Stable Web Browser
Exec=/opt/firefox/firefox %u
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=/opt/firefox/browser/chrome/icons/default/default128.png
Categories=Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;
StartupWMClass=Firefox
StartupNotify=true
' >> ~/.local/share/applications/firefox-stable.desktop
$ sudo apt autoremove --purge firefox-esr
remove unwanted packages
$ sudo apt autoremove --purge evince-gtk sugar-browse-activity apache2-doc debian-faq doc-debian libreoffice* xbrlapi
configure fonts
$ mkdir -p ~/.config/fontconfig
$ echo "
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
</fontconfig>
" > ~/.config/fontconfig/fonts.conf