Debian on dell g3 3579

Jump to navigation Jump to search

Dell G3 15 3579

debian10 install



#1      786MB   ESP
#2      5.4GB   fat32
#3      8GB     swap
#4      25GB    xfs     /
#5      25GB    xfs     /srv
#6      8GB     swap
#7      440GB   xfs     /home

US apt repository, timezone and keyboard

Desktop environment withou any of gnome,kde,fce,etc specified

system utilities

NOTE: gnome starts up :(

basic system

  • etckeeper

see Git_server_config_backup

  • update packages
apt-get update
apt-get install dialog
apt-get install locales tzdata
  • locales
dpkg-reconfigure locales        # choose en_US.UTF8, None default
etckeeper commit
  • timezone
dpkg-reconfigure tzdata
etckeeper commit
  • base packages
apt-get dist-upgrade
apt-get install binutils nano psmisc lsof findutils grep less tar gzip bzip2 procps iptables kmod curl cron exim4 dnsutils mutt man nmap
  • gui packages
apt-get install xterm spacefm conky geany sylpheed blueman pnmixer arandr pavucontrol file-roller eog evince gimp audacious vlc ffmpeg imagemagick scrot
  • dev package
apt-get install git diffuse cmake make g++ autoconf kdiff3-qt astyle doxygen
dpkg --add-architecture i386
apt-get update
apt-get install libc6:i386 libgcc1:i386 libstdc++6:i386 zlib1g:i386 libncurses5:i386 libasound2:i386 libasound2-plugins:i386 libpulse0:i386 libx11-6:i386
  • add backport support

see Debian_backports

  • firmware packages
apt-get install firmware-linux-free/buster
apt-get install firmware-linux-nonfree/buster-backports firmware-misc-nonfree/buster-backports

dell g3 specific stuffs

  • acpi problem "PCIe Buss Error"


edit /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT varible and add pcie_aspm=off, it should became like the follow:


and finally, update grub configuration and reboot

apt-get autoremove --purge nvidia* libnvidia*
apt-get install -t buster-backports nvidia-driver
# from
mkdir -p /etc/X11/xorg.conf.d
cat > /etc/X11/xorg.conf.d/99-outputclass_nvidia_optimus.conf << 'EOF'
Section "OutputClass"
    Identifier "intel"
    MatchDriver "i915"
    Driver "modesetting"

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    Option "PrimaryGPU" "yes"
    ModulePath "/usr/lib/nvidia/xorg"
    ModulePath "/usr/lib/xorg/modules"
mkdir -p /etc/X11/Xsession.d/
cat > /etc/X11/xdm/Xsetup << 'EOF'
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
xrandr --dpi 96

my user custom packages

  • shared
mkdir -m 0755 /home/shared
mkdir -m 0775 /home/shared/downloads /home/shared/public
mkdir -m 0750 /home/shared/audio /home/shared/documents /home/shared/graphics /home/shared/opt /home/shared/video
mkdir -m 0750 /home/shared/opt/bin /home/shared/opt/etc /home/shared/opt/scripts /home/shared/opt/software
chown -R root:users /home/shared/
chown USER:users /home/shared/opt/*
usermod -a -G users USER
  • USER home folder
  • xdm and i3wm

from and

apt-get autoremove --purge gdm3 task-gnome-desktop gnome-core gnome-session* gnome-shell* gnome-terminal* chrome-* cheese* evolution* network-manager+ file-roller+ nautilus+ eog+
apt-get install xdm
update-alternatives --config x-session-manager
apt-get install i3 rofi