Konfigurationen

Konfigurationsdateien/Howtos für verschiedene Dienste sind im Bereich Dienste zu finden.


alsa

#/etc/asound.conf
# ALSA sound driver configuration file.
# Nützlich, wenn zum Beispiel Onboard- und PCI-Sound im Rechner steckt, 
# aber die PCI-Karte als default angesprochen werden soll.
# (In der Regel wird der Onboardsound als Karte 0 eingebunden 
# und damit ohne Konfiguration als default agiert.)

pcm.!default {
type hw
card 1
}
ctl.!default {
type hw
card 1
}
pcm.emu10k1 {
type hw
card 1
}
ctl.emu10k1 {
type hw
card 1
}
pcm.ck8s {
type hw
card 0
}
ctl.ck8s {
type hw
card 0
}
Die bessere Alternative:
#/etc/modprobe.d/sound
options snd-emu10k1 index=0
options snd-intel8x0 index=1

lirc (von Hauppauge WinTV Radio)

# ~/.lircrc
#
# Autor: Frank Remetter (www.remetter.de)
#

###############################################################################
# General section                                                             #
###############################################################################

#begin system

   # Launch programs

   begin
      prog    =       irexec
      button  =       RADIO
      config  =       xmms &
      mode    =       xmms
      flags   =       once
   end

   begin
      prog    =       irexec
      button  =       SOURCE
      config  =
      mode    =       mplayer
      flags   =       once
   end

   begin
      prog    =       irexec
      button  =       TV
      config  =       xawtv &> /dev/null
      mode    =       xawtv
      flags   =       once
   end

#end system

# Volume control

   begin
      prog    =       irexec
      button  =       VOL+
      config  =       amixer -q set 'Master' 2%+
      repeat  =       1
   end

   begin
      prog    =       irexec
      button  =       VOL-
      config  =       amixer -q set 'Master' 2%-
      repeat  =       1
   end

   begin
      prog    =       irexec
      button  =       MUTE
      config  =       amixer -q set 'Master' 0
      #config  =      amixer -q set 'Master' unmute
   end

# system shutdown (kde-bezogen)

   begin
      prog    =       irexec
      button  =       RESERVED
      config  =       dcop ksmserver ksmserver logout 0 2 0
   end

 .
 .
 .

###############################################################################
# xawtv                                                                       #
###############################################################################

begin xawtv

      begin
               prog = xawtv
               button = FULL_SCREEN
               config = fullscreen
      end

      begin
               prog = xawtv
               button = MINIMIZE
               config = quit
               flags = mode
      end

      begin
               prog   = xawtv
               button = CH+
               config = setstation next
      end

      begin
               prog   = xawtv
               button = CH-
               config = setstation prev
      end

      begin
               prog = xawtv
               button = 1
               config = setstation ARD
      end

      .
      .
      .
   
end xawtv

mutt

### .muttrc für imap mit courier ###

# start folder
set folder=imaps://hostname.domain.tld/INBOX
# new mail incoming
set spoolfile=imaps://hostname.domain.tld:993/INBOX
# save after read
set mbox=imaps://hostname.domain.tld:993/INBOX
# Save copies of outgoing e-mail
set record=imaps://hostname.domain.tld:993/INBOX/Sent

# imap account
set imap_user="username"
#set imap_pass="xxxxxxx"

# mailuser
set realname="Vorname Nachname"
my_hdr From: Vorname Nachname <mail@domain.tld>

# cache headers
set header_cache=".mutt_header"

# ssl
set ssl_use_sslv3

set mask="\..*"

# charset
#set charset="ISO-8859-15"
#set send_charset="ISO-8859-15"

#set ispell="aspell -e -c"

######################################

# Don't display certain headers
ignore *
unignore From To Cc Subject Date Reply-To Organization X-Mailer User-Agent X-Spam-Status

# Order to display the headers in
hdr_order From: Date: To: Cc: Subject:

# ssl/tls
#set certificate_file=mutt.crt
#set ssl_starttls=no

# Automatically begin editing messages
#set autoedit=yes

#set edit_headers

# Append messages to other mailboxes automatically
#unset confirmappend

# Automatically delete messages
set delete=yes

# View html mails using lynx
#set implicit_autoview
#auto_view text/html  application/x-pgp-message
#set mailcap_path="~/.mailcap"
#set mailcap_sanitize=yes

# envelope sender must match
#set envelope_from
# Reply FASTER!
#set fast_reply

# Don't save outgoing attachments
unset fcc_attach

# Dont include self in reply
unset reply_self

# Include full headers in replies
#set header

# set hostname - if not machine name (uname -a)
# will be used for - among other things - making
# up message-ids
#set hostname="kcircle.com"

# Automatically quote message
set include=yes

# Set quotemark to 1 byte
set indent_str="> "

set index_format   = "%4C %Z %{%b %d} %-15.15F (%4l) %s"
set forward_format="Fw: %s"     # subject in forwarded messages
set date_format="%d/%m/%y %H:%M %Z"
set quote_regexp="^([A-Za-z ]+>|[]%>:|}-][]>:|}-]*)"
#set reply_regexp="^(re([\\[0-9\\]+])*|aw):[ \t]*"
set reply_regexp='^((re(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*'

#set mime_forward=ask-yes

# Use mutt.view as my pager
#set pager=mutt.view

# Use vim as the editor - this line will wrap
# Set wordwrap on in vim to automatically wrap lines -
# no :gq all the time
set editor="vim +':set textwidth=77' +':set wrap' +\`awk '/^$/ {print i+2; exit} {i++}' %s\` %s"
#set visual=vim# editor invoked by ~v in the builtin editor
#set editor="vim -f  -c 'set tw=60 nobackup'"           #your favourite editor

# dont mark messages old
#set nomark_old

# Location for postponed messages
#set postponed="=postponed"

# I don't want to resume postponed messages
#set recall=no

# Don't confirm using Reply-To: headers
set reply_to=yes

# Delete empty mailboxes
#unset save_empty

# Use as from the address mail was sent to
# You'd have to define $alternates for this
#set reverse_name

# Set my web browser
#set web_browser="lynx %s"

# Apply operations to tagged messages automatically
#set auto_tag

# Define the directory where mutt looks for mailboxes to
# report new mail
#mailboxes `echo $HOME/mail/*`

# Tell mutt which mails to recognize as mailing lists
#subscribe linux
#subscribe freebsd

#folder-hook . set sort=threads
#folder-hook . set signature="~/sig.suresh|"
#folder-hook . 'set attribution="+++ %n [%d]:"'
#folder-hook . my_hdr From: foo@bar.com (Foo Bar)
#folder-hook . my_hdr Organization: Eh? What's that?
#folder-hook . my_hdr X-OS: `uname -mnrs`
# Ignore annoying MAIL SYSTEM INTERNAL DATA message
# generated by c-client (pine / uw-imapd)
#folder-hook . "push \"l!(~s 'FOLDER INTERNAL DATA')\n*\""

#folder-hook linux unmy_hdr reply-to
#folder-hook linux 'set attribution="+++ %n [linux] [%d]:"'
#folder-hook linux my_hdr From: linux@bar.com (Foo Linux)
#folder-hook linux my_hdr Organization: Hopelessly Disorganized
#folder-hook linux set signature="~/sig.unix|"

#folder-hook freebsd set signature="~/sig.unix|"
#folder-hook freebsd 'set attribution="+++ %n [freebsd] [%d]:"'
#folder-hook freebsd my_hdr From: freebsd@bar.com (Foo FreeBSD)
#folder-hook freebsd my_hdr Organization: Hmmm... I dunno

# color patterns for mutt
#color normal     white         black   # normal text
#color indicator  yellow         default # actual message
#color tree       brightmagenta  default # thread arrows
#color status     yellow         default # status line
#color error      brightred      default # errors
#color message    magenta        default # info messages
#color signature  magenta        default # signature
#color attachment brightyellow   red     # MIME attachments
#color search     brightyellow   red     # search matches
#color tilde      brightmagenta  default # ~ at bottom of msg
#color markers    red            default # + at beginning of wrapped lines
#color hdrdefault cyan           default # default header lines
#color bold       red            default # hiliting bold patterns in body
#color underline  green          default # hiliting underlined patterns in body
#color quoted     cyan           default # quoted text
#color quoted1    magenta        default
#color quoted2    red            default
#color quoted3    green          default
#color quoted4    magenta        default
#color quoted5    cyan           default
#color quoted6    magenta        default
#color quoted7    red            default
#color quoted8    green          default
#color quoted9    cyan           default
#color body      cyan           default  "((ftp|http|https)://|news:)[^ >)\"\t]+"
#color body      cyan           default  "[-a-z_0-9.+]+@[-a-z_0-9.]+"
#color body      red            default  "(^| )\\*[-a-z0-9*]+\\*[,.?]?[ \n]"
#color body      green          default  "(^| )_[-a-z0-9_]+_[,.?]?[\n]"
#color body      red            default  "(^| )\\*[-a-z0-9*]+\\*[,.?]?[ \n]"
#color body      green          default  "(^| )_[-a-z0-9_]+_[,.?]?[ \n]"
#color index     cyan           default  ~F         # Flagged
#color index     red            default  ~N         # New
#color index     magenta        default  ~T         # Tagged
#color index     cyan           default  ~D         # Deleted

# Don't ask to move read messages to mbox on exit
#set move=no

xorg xinerama

# /etc/X11/xorg.conf Xinerama enabled

Section "ServerLayout"
    Identifier     "Layout Twinview"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen2" RightOf "Screen0"
    InputDevice    "Dell Laptop Keyboard" "CoreKeyboard"
    InputDevice    "Mouse" "CorePointer"
EndSection

Section "Files"
    RgbPath    "/usr/share/X11/rgb"
    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
    Load        "dbe" 
    Load        "bitmap"
    Load        "ddc"
    Load        "extmod"
    Load        "int10"
    Load        "record"
    Load        "vbe"
    Load        "type1"
    Load        "freetype"
    Load        "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "1"
EndSection

Section "InputDevice"
    Identifier  "Dell Laptop Keyboard"
    Driver      "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xorg"
    Option "XkbModel"   "dell"
    Option "XkbLayout"  "de"
    Option "XkbVariant" "nodeadkeys"
#    Option "Xleds"       "1 2 3"
#    Option "LeftAlt"     "Meta"
#    Option "RightAlt"    "ModeShift"
#    Option "XkbOptions"  ""
EndSection

Section "InputDevice"
    Identifier  "Mouse"
    Driver      "mouse"
    Option "Protocol"    "auto"
    Option "Device"      "/dev/input/mice"
    Option "Buttons" "7"
    Option "ZAxisMapping" "4 5 6 7"
#    Option "Resolution"        "256"
#    Option "Protocol"  "Xqueue"
#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"
#    Option "ChordMiddle"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Dell Laptop TFT"
    VendorName     "DELL"
    ModelName      "Seiko"
    HorizSync       30.0 - 75.0
    VertRefresh     60.0
    Option         "DPMS"
    #DisplaySize  332 207
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "DELL KOM"
    VendorName     "DELL"
    ModelName      "DELL 2007FP"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "hp L1925"
    VendorName     "HP"
    ModelName      "HP L1925"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "nVidia Quadro NVS 110M"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro NVS 110M"
    BusID          "PCI:1:0:0"
    Screen          0
    #Option         "TripleBuffer" "True"
    #Option         "AddARGBGLXVisuals" 
EndSection

#Section "Extensions"
#        Option "Composite" "Enable"
#EndSection

Section "Device"
    Identifier     "Videocard1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro NVS 110M"
    BusID          "PCI:1:0:0"
    Screen         1 
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "nVidia Quadro NVS 110M"
    Monitor        "Dell Laptop TFT"
    DefaultDepth    24
    Option         "metamodes" "DFP: 1680x1050 +0+0; DFP: 1280x1024 +0+0; DFP: 1024x768 +0+0; DFP: 800x600 +0+0; DFP: 640x480 +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Videocard1"
    Monitor        "DELL KOM"
    DefaultDepth    24
    Option         "metamodes" "CRT: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen2"
    Device         "Videocard1"
    Monitor        "hp L1925"
    DefaultDepth    24
    Option         "metamodes" "CRT: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "DRI"
   Group "users"
   Mode 0660
EndSection

© 2001 - 2024 Frank Remetter