Debian on dell g3 3579
Jump to navigation
Jump to search
Dell G3 15 3579
https://www.dell.com/en-us/shop/dell-laptops/dell-g3-15-gaming-laptop/spd/g-series-15-3579-laptop
debian10 install
from http://www.campisano.org/wiki/en/Debian_on_mackbook_pro_8.2
partitions:
#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
SSH cups system utilities
NOTE: gnome starts up :(
basic system
- etckeeper
see http://www.campisano.org/wiki/en/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 package
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
- i386 support (from http://www.campisano.org/wiki/en/Debian_i386_on_amd64)
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
# buster-backports deb http://deb.debian.org/debian buster-backports main contrib non-free
dell g3 specific stuffs
- acpi problem "PCIe Buss Error"
from https://wiki.archlinux.org/index.php/Dell_XPS_15_9560#PCIe_Bus_Error_in_system_logs
edit /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT varible and add pcie_aspm=off, it should became like the follow:
GRUB_CMDLINE_LINUX_DEFAULT="pcie_aspm=off"
and finally, update grub configuration and reboot
update-grub
- nvidia packages (from https://wiki.debian.org/NvidiaGraphicsDrivers)
apt-get autoremove --purge nvidia* libnvidia* apt-get install -t buster-backports nvidia-driver # from https://wiki.archlinux.org/index.php/NVIDIA_Optimus#Use_Intel_graphics_only 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" EndSection Section "OutputClass" Identifier "nvidia" MatchDriver "nvidia-drm" Driver "nvidia" Option "AllowEmptyInitialConfiguration" Option "PrimaryGPU" "yes" ModulePath "/usr/lib/nvidia/xorg" ModulePath "/usr/lib/xorg/modules" EndSection EOF mkdir -p /etc/X11/Xsession.d/ cat > /etc/X11/xdm/Xsetup << 'EOF' xrandr --setprovideroutputsource modesetting NVIDIA-0 xrandr --auto xrandr --dpi 96 EOF
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 http://www.campisano.org/wiki/en/Xdm and http://www.campisano.org/wiki/en/I3wm
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