Skip to content

Instantly share code, notes, and snippets.

@jiewmeng
Created August 12, 2012 07:56
Show Gist options
  • Save jiewmeng/3330595 to your computer and use it in GitHub Desktop.
Save jiewmeng/3330595 to your computer and use it in GitHub Desktop.
Arch Linux Build

Arch Linux Install Notes

Core Packages

dbus xorg-server xorg-server-utils alsa-utils mesa xf86-video-ati sudo xfce4 lxdm

For NVIDIA, use xf86-video-nouveau For VirtualBox guest, virtualbox-archlinux-additions

Config

Starting Daemons

# manually 
rc.d start {moduleName}

# automatically: in `/etc/rc.conf`
# can prefix with @ to indicate start "asyncronously"
DAEMONS=({moduleName, ...})

Starting Modules

# manually
modprobe -a {moduleName} {moreModules ...}

# automatically: in `/etc/rc.conf`
MODULES=({moduleName} ...)

For VirtualBox guests: need vboxvideo vboxguest vboxsf vboxnetflt

Sudo

EDITOR=nano visudo. Then uncomment line %wheel ALL=(ALL) ALL

XFCE

In /etc/inittab, change id:3 to id:5. Use telinit q to test changes in config b4 reboot

id:5:initdefault:

Then do something like

x:5:respawn:/usr/sbin/lxdm >& /dev/null

Keyboard Shortcuts

/usr/bin/amixer set Master toggle
/usr/bin/amixer set Master playback 2+
/usr/bin/amixer set Master playback 2-
/usr/bin/terminal

Time Format

http://www.linuxquestions.org/questions/slackware-14/xfce-clock-custom-formatting-codes-753433/

%l:%M %p, %_d %b

User

adduser

Groups

audio, lp, optical, storage, video, wheel, games, power, scanner

Other Packages

xfce4-power-manager acpi pm-utils cpupower vbetool gedit chromium firefox p7zip file-roller ristretto git blender virtualbox virtualbox-additions vlc pidgin flashplugin gparted ntfs-3g meld evince xournal nodejs mongodb transmission-gtk gvfs gvfs-smb thunar-archive-plugin xfce4-screenshooter xfce4-wavelan-plugin xfce4-taskmanager xfce4-power-manager xfce4-mpc-plugin xfce4-mount-plugin xorg-utils notify-sharp itstool mcomix libcups

From AUR

Install aurget

wget http://aur.archlinux.org/packages/au/aurget/aurget.tar.gz && tar -xvf ./aurget.tar.gz && cd aurget && makepkg -si

Packages

gnome-do-bzr sublime-text xfce-theme-greybird faenza-icon-theme xfwm4-tiling pdftk

From NPM (Global -g)

coffee-script express stylus mocha

File Sharing

configure thunar share http://goo.gl/Ipxqr

Improve Ext4 Performance

Improve ext4 performance

tune2fs -o journal_data_writeback /dev/sdXY
noatime,data=writeback,nouser_xattr

Don't put for OS partition to be safe

Sublime Text

Package Control

import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print 'Please restart Sublime Text to finish installation'

Extensions

  • CodeIntel
  • Stylus
  • Jade
  • CoffeeScript
  • CoffeeCompile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment