SWAT /

Arch Install Stuff

Reading

Outdoors

Games

Hobbies

LEGO

Food

Code

Nook

sidebar

Arch Install Stuff

Arch Setup

Current

Edit Tom's install script

  • Change hostname, user, password variables

Upload to new machine and execute

On non-Kinesis, setup console Dvorak w/ CTRL/CAPS switched

  • Tom's script sets up Dvorak in the console, but doesn't switch CTRL/CAPS
  • Copy /usr/share/kbd/keymaps/i386/dvorak/dvorak.map.gz to
    /usr/share/kbd/keymaps/i386/dvorak/dvorak-capsctrl.map.gz
  • gunzip /usr/share/kbd/keymaps/i386/dvorak/dvorak-capsctrl.map.gz
  • Edit dvorak-capsctrl.map to set keycode 29 = Caps_Lock and keycode 58 = Control
  • gzip dvorak-capsctrl
  • Change KEYMAP in /etc/vconsole.conf to 'dvorak-capsctrl'
  • Put 'keymap' before 'encrypt' in /etc/mkinitcpio.conf HOOKS
  • Run mkinitcpio
  • Reboot

Packages

Standard installs beyond Tom's script

  • xfce4 xfce4-cpugraph-plugin
  • emacs texlive-most auctex evince
  • firefox flashplugin
  • qiv mtpaint inkscape gimp imagemagick
  • rhythmbox libgpod
  • apache php php-apache

AUR installs beyond Tom's script

  • dropbox

Profile

Copy over configuration files

  • .ssh/
  • .emacs.d/
  • .Xdefaults .emacs .gitconfig .hgrc .xinitrc .Xmodmap

Sign in to Chromium to synchronize

  • Add an extension (e.g., LastPass), and others will be synchronized/downloaded

Window Manager

  • Keyboard shortcuts (Settings->Window Manager->Keyboard)
    • CTRL-ALT-A to maximize window vertically
    • CTRL-ALT-SHIFT-Left/Right to move window to adjacent workspace
    • CTRL-ALT-Left/Right to switch workspace (is a default?)
  • Focus
    • Focus follows mouse, reduce delays (Settings->Window Manager->Focus)
    • Raise windows on focus
    • Snap windows to other windows
    • Double click action is shade
    • Disable windows raising from other workspaces (Settings->Window Manager Tweaks->Focus)
  • Stupid behaviors
    • Disable tiling when moved to screen edge (Settings->Window Manager Tweaks->Accessibility)
    • Disable restore window size when moved while maximized (Settings->Window Manager Tweaks->Accessibility)

X Notes

The following are achieved by the profile files above, but these notes are kept here in case they're lost.

On laptops, generally want to disable touchpad using synclient:

  /usr/bin/synclient touchpadoff=$1 2>/dev/null

Set keyboard to Dvorak

  • Add English (US) Dvorak in Settings->Keyboard->Layout
  • Remove standard layout entry

Switch CapsLock and Control in X via .Xmodmap; logout and back in for switch:

  
remove Lock = Caps_Lock
remove Control = Control_L
keysym Control_L = Caps_Lock
keysym Caps_Lock = Control_L
add Lock = Caps_Lock
add Control = Control_L

Startup emacs daemon:

  emacs --daemon --background-color=black

Old Instructions

On HP tc4200s and other old laptops, Disable tmpfs (not enough RAM on tablets)

  • Tom's script has a variable for this now
  • Remove tmpfs entry from /etc/fstab
  • systemctl mask tmp.mount

Install alsamixer (alsa-utils package), unmute all channels

  • Tom's script includes alsa, disables mute
  • Notably, both master and PCM
  • speaker-test -c 2 won't work unless you've installed codexes, add -t wav

Disable xscreensaver (remove from auto start)

AUR

  • flex-sdk flashplayer-standalone flashplayer-standalone-debug
  • android-sdk android-sdk-platform-tools android-ndk

Chromium

  • Sync login
  • Lastpass, Edit with Emacs, FlashBlock and/or AdBlock extensions
    • Copy edit-server.el into .emacs.d/

Steps

Power Management

Install ACPI

X

Drivers on alice:

  • xf86-video-intel xf86-input-synaptics

Drivers on ripley:

  • xf86-video-nouveau

Extra stuff:

  • freetype2 cantarell-fonts ttf-dejavu ttf-inconsolata

xfce4

Extra stuff:

  • xfce4-cpugraph-plugin

gdm

Not worth trying to configure consolekit to run w/out GDM

  • gdm (bleh!)
    • gnome-shell ?
  • hicolor-icon-theme gnome-icon-theme

ALSA

Don't forget to hit 'm' in alsa-mixer to unmute

Network

Setup network-manager

  • networkmanager network-manager-applet

Other stuff:

  • dnsutils

On alice:

  • ipw2200 ipw2200-fw

SSH

Add openssh, enable sshd daemon

CUPS

Don't forget cups-pdf

packer

Setup:

  • pacman -S base-devel fakeroot
  • Download PKGBUILD for packer
  • Run makepkg in that directory
  • Install packer: pacman -U packer-*.pkg.tar.xz

Packages

Base:

  • sudo
  • rsync unzip
  • emacs
  • texlive-most auctex evince acroread
    • acroread on 64 bit requires 32 bit multilibs
  • chromium firefox flashplugin
  • sqlite3 raptor libxml2 libxml2-dev gdb valgrind
  • vlc mplayer deadbeef libvorbis libmad flac curl imlib2 libsndfile libcdio libcddb ffmpeg rhythmbox gstreamer0.10-ugly-plugins libmad gstreamer0.10-bad-plugins
  • mercurial subversion git
  • libreoffice-common libreoffice-base libreoffice-calc libreoffice-draw libreoffice-impress libreoffice-math libreoffice-writer libreoffice-extension-presenter-screen libreoffice-extension-pdfimport libreoffice-extension-presentation-minimizer libreoffice-extension-diagram libreoffice-extension-typo

Post-Package Setup

Sync chromium

Download edit-server.el from Edit with Emacs git repo and put in .emacsd

Copy over home directory stuff

  • .emacs
  • .bashrc
  • .xprofile
  • .Xdefaults
  • .hgrc
  • .ssh/
  • bin/
  • .Xmodmap (on alice)

Copy over .ssh/

Notes

gcc-libs
openjdk6
giflib
pkgfile
python
bc
gcc-multilib gcc-libs-multilib binutils-multilib libtool-multilib lib32-glibc
lib32-gtk-engines-2.20.2-3-x86_64.pkg.tar.xz
gnuplot
libc-manpages
papi dmidecode
Recent Changes (All) | Edit SideBar Page last modified on January 25, 2013, at 11:26 PM Edit Page | Page History