diff options
author | Dan McGee <dan@archlinux.org> | 2008-02-28 19:43:54 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-03-01 12:46:33 -0600 |
commit | fde46068133e90aa47a5705cb90a745a9dac5ae2 (patch) | |
tree | c78928da5d77019fdff6f536fadd73e93e84bd5f /configs | |
parent | 8ee9f0b644d93f8d1c4c492ab57ff7fa7eba3693 (diff) | |
download | eee-fde46068133e90aa47a5705cb90a745a9dac5ae2.tar.gz eee-fde46068133e90aa47a5705cb90a745a9dac5ae2.zip |
Add some of my configs to the repository
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/conkyrc | 84 | ||||
-rw-r--r-- | configs/fstab | 10 | ||||
-rw-r--r-- | configs/rc.conf | 89 | ||||
-rwxr-xr-x | configs/rc.local | 8 | ||||
-rw-r--r-- | configs/syslog-ng.conf | 27 | ||||
-rw-r--r-- | configs/xorg.conf | 117 |
6 files changed, 335 insertions, 0 deletions
diff --git a/configs/conkyrc b/configs/conkyrc new file mode 100644 index 0000000..bc54969 --- /dev/null +++ b/configs/conkyrc @@ -0,0 +1,84 @@ +# set to yes if you want Conky to be forked in the background +background yes + +# number of samples to average +cpu_avg_samples 2 +net_avg_samples 2 + +#send output to stdout +out_to_console no + +# Xft use? +use_xft yes +xftfont Bitstream Vera Sans Mono:size=10 +# Xft text alpha +#xftalpha 0.8 + +# Update interval in seconds +update_interval 1 + +# Use double buffering (reduces flicker, may not work for everyone) +double_buffer yes + +draw_shades no +draw_outline no +draw_borders no +stippled_borders 8 +border_margin 4 +border_width 1 + +# Default colors and also border colors +default_color white +default_shade_color lightgrey +default_outline_color white + +# alignment on screen +alignment top_right + +# Min/max sizes +minimum_size 220 +maximum_width 220 + +# Gap between borders of screen and text +gap_x 5 +gap_y 5 + +# Add spaces to keep things from moving about? +use_spacer yes + +# Subtract file system buffers from used memory? +no_buffers yes + +# set to yes if you want all text to be in uppercase +uppercase no + +# stuff after 'TEXT' will be formatted on screen +TEXT +${alignc}$nodename - $kernel +${alignc}$time +${alignc}${color lightgrey}Up:$color $uptime_short ${color lightgrey}Load:$color $loadavg +${alignc}${color lightgrey}CPU:$color ${freq}MHz ${cpu}% ${acpitemp}°C +${color lightgrey}${cpugraph 000000 0000ff} +${color lightgrey}Bat: ${alignr}$color${battery} +${color lightgrey}RAM: ${alignr}$color${memperc}% - ${mem}/${memmax} +${membar} +${color lightgrey}FS: /${alignr}$color${fs_used /}/${fs_size /} +${fs_bar /} +${color lightgrey}FS: /mnt${alignr}$color${fs_used /mnt}/${fs_size /mnt} +${fs_bar /mnt} + +${color lightgrey}Wired (eth0): $color${addr eth0} + ${color lightgrey}Down: $color${downspeed eth0} k/s ${alignr}${color lightgrey}Up: $color${upspeed eth0} k/s +${color lightgrey}Wireless (ath0): $color${addr ath0} + ${color lightgrey}AP: $color${wireless_essid ath0} ${alignr}$color${wireless_bitrate ath0} + ${color lightgrey}Down: $color${downspeed ath0} k/s ${alignr}${color lightgrey}Up: $color${upspeed ath0} k/s + +${color lightgrey}Conns: $color${tcp_portmon 1 65535 count} ${alignr}${color lightgrey}In: $color${tcp_portmon 1 32767 count} ${color lightgrey}Out: $color${tcp_portmon 32768 61000 count} +${color}Inbound ${alignr} Port${color lightgrey} + ${tcp_portmon 1 32767 rhost 0} ${alignr}${tcp_portmon 1 32767 lservice 0} + ${tcp_portmon 1 32767 rhost 1} ${alignr}${tcp_portmon 1 32767 lservice 1} +${color}Outbound ${alignr} Port${color lightgrey} + ${tcp_portmon 32768 61000 rhost 0} ${alignr}${tcp_portmon 32768 61000 rservice 0} + ${tcp_portmon 32768 61000 rhost 1} ${alignr}${tcp_portmon 32768 61000 rservice 1} + ${tcp_portmon 32768 61000 rhost 2} ${alignr}${tcp_portmon 32768 61000 rservice 2} + ${tcp_portmon 32768 61000 rhost 3} ${alignr}${tcp_portmon 32768 61000 rservice 3} diff --git a/configs/fstab b/configs/fstab new file mode 100644 index 0000000..77aebdc --- /dev/null +++ b/configs/fstab @@ -0,0 +1,10 @@ +# +# /etc/fstab: static file system information +# +# <file system> <dir> <type> <options> <dump> <pass> +none /dev/pts devpts defaults 0 0 +none /dev/shm tmpfs defaults 0 0 +/dev/sda2 / ext2 defaults,noatime 0 1 +/dev/sda1 /boot ext2 defaults,noatime 0 2 +#/dev/sdb1 /home ext2 defaults,noatime 0 2 +none /tmp tmpfs defaults,size=64m 0 0 diff --git a/configs/rc.conf b/configs/rc.conf new file mode 100644 index 0000000..ea02890 --- /dev/null +++ b/configs/rc.conf @@ -0,0 +1,89 @@ +# +# /etc/rc.conf - Main Configuration for Arch Linux +# + +# +# ----------------------------------------------------------------------- +# LOCALIZATION +# ----------------------------------------------------------------------- +# +# LOCALE: available languages can be listed with the 'locale -a' command +# HARDWARECLOCK: set to "UTC" or "localtime" +# TIMEZONE: timezones are found in /usr/share/zoneinfo +# KEYMAP: keymaps are found in /usr/share/kbd/keymaps +# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US) +# CONSOLEMAP: found in /usr/share/kbd/consoletrans +# USECOLOR: use ANSI color sequences in startup messages +# +LOCALE="en_US.utf8" +HARDWARECLOCK="UTC" +TIMEZONE="America/Chicago" +KEYMAP="us" +CONSOLEFONT= +CONSOLEMAP= +USECOLOR="yes" + +# +# ----------------------------------------------------------------------- +# HARDWARE +# ----------------------------------------------------------------------- +# +# Scan hardware and load required modules at bootup +MOD_AUTOLOAD="yes" +# +# Modules to load at boot-up (in this order) +# - prefix a module with a ! to blacklist it +# +# we need pciehp here due to buggy madwifi modload and modunload +MODULES=(pciehp) +# Scan for LVM volume groups at startup, required if you use LVM +USELVM="no" + +# +# ----------------------------------------------------------------------- +# NETWORKING +# ----------------------------------------------------------------------- +# +HOSTNAME="kilkenny" +# +# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available +# interfaces. +# +# Interfaces to start at boot-up (in this order) +# Declare each interface then list in INTERFACES +# - prefix an entry in INTERFACES with a ! to disable it +# - no hyphens in your interface names - Bash doesn't like it +# +# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp") +# +# Don't use this for wireless interfaces, see network profiles below +# +eth0="dhcp" +INTERFACES=(!eth0) +# +# Routes to start at boot-up (in this order) +# Declare each route then list in ROUTES +# - prefix an entry in ROUTES with a ! to disable it +# +ROUTES=() +# +# Enable these network profiles at boot-up. These are only useful +# if you happen to need multiple network configurations (ie, laptop users) +# - set to 'menu' to present a menu during boot-up (dialog package required) +# - prefix an entry with a ! to disable it +# +# Network profiles are found in /etc/network-profiles +# +#NET_PROFILES=(main) + +# +# ----------------------------------------------------------------------- +# DAEMONS +# ----------------------------------------------------------------------- +# +# Daemons to start at boot-up (in this order) +# - prefix a daemon with a ! to disable it +# - prefix a daemon with a @ to start it up in the background +# +DAEMONS=(syslog-ng network ifplugd netfs 915resolution @acpid @crond @alsa @autowifi) + diff --git a/configs/rc.local b/configs/rc.local new file mode 100755 index 0000000..34cabfb --- /dev/null +++ b/configs/rc.local @@ -0,0 +1,8 @@ +#!/bin/sh +# +# /etc/rc.local: Local multi-user startup script. +# +# enable use of the webcam +echo 1 > /proc/acpi/asus/camera +# lower the threshold to 40% so X is a bit more responsive +echo 40 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold diff --git a/configs/syslog-ng.conf b/configs/syslog-ng.conf new file mode 100644 index 0000000..9d863f7 --- /dev/null +++ b/configs/syslog-ng.conf @@ -0,0 +1,27 @@ +# +# /etc/syslog-ng.conf +# + +options { + sync (0); + time_reopen (10); + log_fifo_size (1000); + long_hostnames(off); + use_dns (no); + use_fqdn (no); + create_dirs (no); + keep_hostname (yes); + perm(0640); + group("log"); +}; + +source src { + unix-stream("/dev/log"); + #internal(); + file("/proc/kmsg"); +}; + +# Log everything to vc12 +destination console_all { file("/dev/vc/12"); }; +log { source(src); destination(console_all); }; + diff --git a/configs/xorg.conf b/configs/xorg.conf new file mode 100644 index 0000000..8cbf583 --- /dev/null +++ b/configs/xorg.conf @@ -0,0 +1,117 @@ +Section "ServerLayout" + Identifier "ArchLinux" + Screen 0 "Screen0" + InputDevice "keyboard" + InputDevice "mouse" + InputDevice "synaptics" +EndSection + +Section "Files" + RgbPath "/usr/share/X11/rgb" + ModulePath "/usr/lib/xorg/modules" + FontPath "/usr/share/fonts/misc" + FontPath "/usr/share/fonts/100dpi:unscaled" + FontPath "/usr/share/fonts/75dpi:unscaled" + FontPath "/usr/share/fonts/TTF" + FontPath "/usr/share/fonts/Type1" +EndSection + +Section "Module" + Load "glx" + Load "dri" + Load "extmod" + Load "synaptics" +EndSection + +Section "ServerFlags" + Option "AllowMouseOpenFail" + Option "BlankTime" "5" + Option "AIGLX" "false" +EndSection + +Section "InputDevice" + Identifier "keyboard" + Driver "kbd" + Option "CoreKeyboard" + Option "XkbRules" "xorg" + Option "XkbLayout" "us" + Option "XkbVariant" "" +EndSection + +Section "InputDevice" + Identifier "mouse" + Driver "mouse" + Option "Device" "/dev/input/mice" + Option "Protocol" "IMPS/2" + Option "Emulate3Buttons" "yes" + Option "ZAxisMapping" "4 5" + Option "CorePointer" +EndSection + +Section "InputDevice" + Identifier "synaptics" + Driver "synaptics" + Option "Device" "/dev/psaux" + Option "Protocol" "auto-dev" + Option "LeftEdge" "1000" + Option "RightEdge" "5400" + Option "TopEdge" "1000" + Option "BottomEdge" "4900" + Option "PalmDetect" "0" + Option "SHMConfig" "true" + Option "SendCoreEvents" "yes" + Option "HorizScrollDelta" "0" + Option "RBCornerButton" "0" + Option "RTCornerButtom" "0" + Option "MaxSpeed" "0.1" +EndSection + +Section "Monitor" + Identifier "Monitor0" + VendorName "ASUS" + ModelName "eeePC P701" + Modeline "800x480" 29.58 800 816 896 992 480 481 484 497 -HSync +Vsync # 60 Hz +EndSection + +Section "Device" + Identifier "Card0" + Driver "i810" + VendorName "Intel Corporation" + BoardName "Mobile 915GM/GMS/910GML Express Graphics Controller" + BusID "PCI:0:2:0" +EndSection + +Section "Screen" + Identifier "Screen0" + Device "Card0" + Monitor "Monitor0" + DefaultDepth 24 + SubSection "Display" + Viewport 0 0 + Depth 1 + EndSubSection + SubSection "Display" + Viewport 0 0 + Depth 4 + EndSubSection + SubSection "Display" + Viewport 0 0 + Depth 8 + EndSubSection + SubSection "Display" + Viewport 0 0 + Depth 15 + EndSubSection + SubSection "Display" + Viewport 0 0 + Depth 16 + EndSubSection + SubSection "Display" + Viewport 0 0 + Depth 24 + EndSubSection +EndSection + +Section "DRI" + Mode 0666 +EndSection |