Inhaltsverzeichnis

Konfigurationsdateien für das MacBookPro

xorg.conf

Section "ServerLayout"
\tIdentifier     "X.org Configured"
\tScreen      0  "Screen0" 0 0
\tInputDevice    "Mouse0" "CorePointer"
\tInputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
\tModulePath   "/usr/local/lib/xorg/modules"
\tFontPath     "/usr/local/lib/X11/fonts/misc/"
\tFontPath     "/usr/local/lib/X11/fonts/TTF/"
\tFontPath     "/usr/local/lib/X11/fonts/OTF"
\tFontPath     "/usr/local/lib/X11/fonts/Type1/"
\tFontPath     "/usr/local/lib/X11/fonts/100dpi/"
\tFontPath     "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
\tLoad  "extmod"
\tLoad  "record"
\tLoad  "dbe"
\tLoad  "dri"
\tLoad  "dri2"
\tLoad  "glx"
EndSection

Section "InputDevice"
\tIdentifier  "Keyboard0"
\tDriver      "kbd"
\tOption\t"XkbModel"\t"pc105"
\tOption\t"XkbLayout"\t"de"
\tOption\t"XkbVariant"\t"mac"
\tOption\t"XkbOptions"\t"lv3:rwin_switch,apple:badmap"
EndSection

Section "InputDevice"
\tIdentifier  "Mouse0"
\tDriver      "mouse"
\tOption\t    "Protocol" "auto"
\tOption\t    "Device" "/dev/atp0"
\tOption\t    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
\t#DisplaySize\t  340   220\t# mm
\tIdentifier   "Monitor0"
\tVendorName   "APP"
\tModelName    "Color LCD"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            \t# [<bool>]
        #Option     "SWcursor"           \t# [<bool>]
        #Option     "Dac6Bit"            \t# [<bool>]
        #Option     "Dac8Bit"            \t# [<bool>]
        #Option     "BusType"            \t# [<str>]
        #Option     "CPPIOMode"          \t# [<bool>]
        #Option     "CPusecTimeout"      \t# <i>
        #Option     "AGPMode"            \t# <i>
        #Option     "AGPFastWrite"       \t# [<bool>]
        #Option     "AGPSize"            \t# <i>
        #Option     "GARTSize"           \t# <i>
        #Option     "RingSize"           \t# <i>
        #Option     "BufferSize"         \t# <i>
        #Option     "EnableDepthMoves"   \t# [<bool>]
        #Option     "EnablePageFlip"     \t# [<bool>]
        #Option     "NoBackBuffer"       \t# [<bool>]
        #Option     "DMAForXv"           \t# [<bool>]
        #Option     "FBTexPercent"       \t# <i>
        #Option     "DepthBits"          \t# <i>
        #Option     "PCIAPERSize"        \t# <i>
        #Option     "AccelDFS"           \t# [<bool>]
        #Option     "IgnoreEDID"         \t# [<bool>]
        #Option     "CustomEDID"         \t# [<str>]
        #Option     "DisplayPriority"    \t# [<str>]
        #Option     "PanelSize"          \t# [<str>]
        #Option     "ForceMinDotClock"   \t# <freq>
        #Option     "ColorTiling"        \t# [<bool>]
        #Option     "VideoKey"           \t# <i>
        #Option     "RageTheatreCrystal" \t# <i>
        #Option     "RageTheatreTunerPort" \t# <i>
        #Option     "RageTheatreCompositePort" \t# <i>
        #Option     "RageTheatreSVideoPort" \t# <i>
        #Option     "TunerType"          \t# <i>
        #Option     "RageTheatreMicrocPath" \t# <str>
        #Option     "RageTheatreMicrocType" \t# <str>
        #Option     "ScalerWidth"        \t# <i>
        #Option     "RenderAccel"        \t# [<bool>]
        #Option     "SubPixelOrder"      \t# [<str>]
        #Option     "ClockGating"        \t# [<bool>]
        #Option     "VGAAccess"          \t# [<bool>]
        #Option     "ReverseDDC"         \t# [<bool>]
        #Option     "LVDSProbePLL"       \t# [<bool>]
        #Option     "AccelMethod"        \t# <str>
        #Option     "DRI"                \t# [<bool>]
        #Option     "ConnectorTable"     \t# <str>
        #Option     "DefaultConnectorTable" \t# [<bool>]
        #Option     "DefaultTMDSPLL"     \t# [<bool>]
        #Option     "TVDACLoadDetect"    \t# [<bool>]
        #Option     "ForceTVOut"         \t# [<bool>]
        #Option     "TVStandard"         \t# <str>
        #Option     "IgnoreLidStatus"    \t# [<bool>]
        #Option     "DefaultTVDACAdj"    \t# [<bool>]
        #Option     "Int10"              \t# [<bool>]
        #Option     "EXAVSync"           \t# [<bool>]
        #Option     "ATOMTVOut"          \t# [<bool>]
        #Option     "R4xxATOM"           \t# [<bool>]
        #Option     "ForceLowPowerMode"  \t# [<bool>]
        #Option     "DynamicPM"          \t# [<bool>]
        #Option     "NewPLL"             \t# [<bool>]
        #Option     "ZaphodHeads"        \t# <str>
\tIdentifier  "Card0"
\tDriver      "radeon"
\tVendorName  "Advanced Micro Devices [AMD] nee ATI"
\tBoardName   "M56P [Radeon Mobility X1600]"
\tBusID       "PCI:1:0:0"
EndSection

Section "Screen"
\tIdentifier "Screen0"
\tDevice     "Card0"
\tMonitor    "Monitor0"
\tSubSection "Display"
\t\tViewport   0 0
\t\tDepth     1
\tEndSubSection
\tSubSection "Display"
\t\tViewport   0 0
\t\tDepth     4
\tEndSubSection
\tSubSection "Display"
\t\tViewport   0 0
\t\tDepth     8
\tEndSubSection
\tSubSection "Display"
\t\tViewport   0 0
\t\tDepth     15
\tEndSubSection
\tSubSection "Display"
\t\tViewport   0 0
\t\tDepth     16
\tEndSubSection
\tSubSection "Display"
\t\tViewport   0 0
\t\tDepth     24
\tEndSubSection
EndSection

Section "ServerFlags"
\tOption "AutoAddDevices"\t"false"
\tOption "DontZap"\t"false"
\tOption "AutoEnableDevice"\t"false"
EndSection

rc.conf

ifconfig_msk0="DHCP"
keymap="german.iso"
hostname="macbookpro"
ifconfig_ath0="up"
wlans_ath0="wlan0"
ifconfig_wlan0="WPA DHCP"
powerd_enable="YES"
powerd_flags="-i 85 -r 60 -p 100 -m 125"
hald_enable="YES"
dbus_enable="YES"
slim_enable="YES"
anacron_enable="YES"
ntpdate_enable="YES"
ntpdate_hosts="de.pool.ntp.org"

loader.conf

wlan_wep_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"
atp_load="YES"
asmc_load="YES"
coretemp_load="YES"
sound_load="YES"
snd_hda_load="YES"
autoboot_delay="1"

~/bin/mouse

#!/usr/bin/perl

@status = `/usr/local/bin/xinput list-props 6`;
foreach (@status){
    if (/Device Enabled.*(\\d)$/){
        $status=$1;
    }
}
if ($status == 1) { $status = 0;  } else { $status = 1;}
`/usr/local/bin/xinput set-prop 6 \\"Device Enabled\\" $status`;

~/.spectrwm.conf

modkey = Mod4

bar_enabled             = 1
bar_delay               = 1
bar_border_width        = 1
bar_border[1]           = rgb:00/80/80
bar_color[1]            = rgb:12/12/12
bar_font_color[1]       = rgb:af/af/af
bar_format              = +N:+I +S +2< %R +2< %a %d %b %Y +4< +U +4< +P - +W
clock_enabled           = 1
bar_justify             = left
stack_enabled           = 1
title_name_enabled      = 1
urgent_enabled          = 1

program[irc]            = /usr/local/bin/xterm  -e /usr/bin/ssh -t -p#### #####@##### /home/####/bin/irc
bind[irc]               = Mod+i
program[music_toggle]   = mpc toggle
bind[music_toggle]      = Mod+Mod1+KP_Begin
program[su]             = /usr/local/bin/xterm -fg rgb:00/00/00 -bg rgb:ff/72/56 -e su
bind[su]                = Mod+s
program[killmouse]      = /usr/home/####/bin/mouse
bind[killmouse]         = Mod+y
program[play]           = ssh ##### mpc toggle
bind[play]              = Mod+g

bind[name_workspace]    = Mod+Shift+n
bind[search_workspace]  = Mod+n
bind[width_shrink]      = Mod+KP_End
bind[width_grow]        = Mod+KP_Next
bind[height_shrink]     = Mod+KP_Home
bind[height_grow]       = Mod+KP_Prior
bind[move_left]         = Mod+KP_Left
bind[move_right]        = Mod+KP_Right
bind[move_up]           = Mod+KP_Up
bind[move_down]         = Mod+KP_Down

autorun = ws[1]:xterm -ls
autorun = ws[1]:/usr/local/bin/xterm  -e /usr/bin/ssh -t -p##### ######@###### /home/#####/bin/irc
autorun = ws[10]:firefox
autorun = ws[9]:claws-mail

quirk[feh:feh]=FLOAT + FULLSCREEN