User Tools

Site Tools


arch_linux_on_gentex_dell_m6600_laptop

Installation

Follow https://wiki.archlinux.org/index.php/installation_guide.

HOOKS="... encrypt lvm2 ... filesystems ..."

After installing grub, in /etc/default/grub:

GRUB_CMDLINE_LINUX="cryptdevice=UUID=${device_uuid}:lvm"

Install packages:

pacman -S vim \
  xorg-server \
  xorg-xrandr \
  xorg-xinit \
  xf86-input-synaptics \
  xterm \
  nvidia \
  nvidia-libgl \
  xf86-video-intel \
  plasma-workspace \
  plasma-nm \
  plasma-desktop \
  networkmanager-qt \
  kdegraphics-thumbnailers \
  kio-extras \
  pulseaudio \
  plasma-pa \
  gvim \
  sudo \
  firefox \
  noto-fonts \
  terminus-font \
  ttf-dejavu \
  ttf-liberation \
  git \
  subversion \
  python \
  rsync \
  virtualbox \
  networkmanager-openconnect \
  openconnect \
  gcc \
  gdb \
  make \
  openssh \
  p7zip \
  gimp \
  dolphin \
  kcalc \
  gwenview \
  xorg-xev \
  xautomation \
  xbindkeys \
  wmctrl \
  pidgin \
  pidgin-otr \
  audacious \
  audacious-plugins \
  jdk8-openjdk \
  x11-ssh-askpass \
  xorg-xwininfo \
  xorg-xdpyinfo \
  ctags \
  gtk3-print-backends

Edit/create /etc/modprobe.d/blacklist.conf:

blacklist pcspkr
cp /etc/X11/xinit/xinitrc ~/.xinitrc

Append to ~/.xinitrc:

xrandr --setprovideroutputsource modesetting NVIDIA-0
if [ "$(xrandr | grep 'DP-0 connected')" != "" ]; then
    xrandr --output LVDS-1 --off --output VGA-1 --mode 1920x1200 --output DP-0 --primary --mode 1920x1200 --panning 1920x1200+1920+0 --output DP-2 --mode 1920x1200 --panning 1920x1200+3840+0
else
    xrandr --output LVDS-1 --mode 1920x1080 --output VGA-1 --off --output DP-0 --off --output DP-2 --off
fi
exec startkde

Set xorg.conf:

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia"
    Inactive "intel"
EndSection

Section "Device"
    Identifier "intel"
    Driver "modesetting"
    BusID "PCI:0@0:2:0"
    Option "AccelMethod" "None"
EndSection

Section "Screen"
    Identifier "intel"
    Device "intel"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1@0:0:0"
    Option "ConstrainCursor" "off"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
    Option "AllowEmptyInitialConfiguration" "on"
    Option "IgnoreDisplayDevices" "CRT"
EndSection

Enable autologin per https://wiki.archlinux.org/index.php/Getty#Automatic_login_to_virtual_console

Enable starting X on user login from tty1 per https://wiki.archlinux.org/index.php/Xinit#Autostart_X_at_login

Enable the multilib repository in /etc/pacman.conf. Then:

pacman -Syu
pacman -S wine winetricks wine_gecko wine-mono

To fix USB keyboard to work when decrypting the disk on kernel startup, edit /etc/mkinitcpio.conf to move keyboard before encrypt in HOOKS and then run:

mkinitcpio -p linux

This may have to be run while the USB keyboard is plugged in to generate the initial ramdisk correctly.

Set up wine binfmt.

Printer

Install things:

pacman -S \
  cups \
  print-manager \
  foomatic-db-engine \
  foomatic-db \
  foomatic-db-ppds

Add lpadmin group, add user to group, enable services, and edit cups-files.conf per https://wiki.archlinux.org/index.php/KDE#Printing

arch_linux_on_gentex_dell_m6600_laptop.txt · Last modified: by josh