rc dot conf

examples and default linux configuration files

dnsmasq.conf

cache-size=2048
no-negcache
domain-needed

no-resolv
no-poll
server=208.67.222.222
server=208.67.220.220

all-servers
dhcp-option=6,208.67.222.222,208.67.220.220,156.154.70.1,156.154.71.1,67.138.54.120,207.225.209.77,202.155.0.20,202.155.0.10,202.155.0.15,0.0.0.0

lwresd.conf

# aptitude install lwresd
# /etc/bind/lwresd.conf
lwres {
  listen-on {
     192.168.0.1 port 53;
     127.0.0.1 port 921;
  };
};

menu.lst

grub menu on my flash drive

default=0
timeout=8

title nimblex
kernel /nimblex/vmlinuz max_loop=255 init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=8192 root=/dev/ram0 rw quiet vga=771 nopcmcia changes=/nimblex/nimblex.data from=/nimblex autoexec=xconf;startx load=kdeedu
initrd /nimblex/initrd.gz

title puppy
kernel /puppy/vmlinuz root=/dev/ram0 PMEDIA=USBFLASH
initrd /puppy/initrd.gz

title slitaz live
kernel /slitaz/bzImage root=/dev/null vga=771 lang=en kmap=us
initrd /slitaz/rootfs.gz

title dsl
kernel /dsl/linux24 ramdisk_size=100000 init=/etc/init lang=us apm=power-off nomce noapic quiet BOOT_IMAGE=knoppix vga=791 knoppix_dir=dsl fromhd=/dev/sda1
initrd /dsl/minirt24.gz

title thinstation
kernel /thin/vmlinuz load_ramdisk=1 ramdisk_blocksize=4096     root=/dev/ram0 ramdisk_size=524288 splash=silent vga=791 console=ttyS3
initrd /thin/initrd

title Submenu -> CLI
configfile (hd0,0)/boot/grub/cli.lst

title Submenu -> Install Linux
configfile (hd0,0)/boot/grub/install.lst

title Submenu -> More Boot Options
configfile (hd0,0)/boot/grub/options.lst

title looking for menu.lst
# find --set-root /boot/grub/menu.lst
# just press c and enter your own command on grub cli
configfile (hd1,0)/menu.lst
configfile (hd1,0)/grub/menu.lst
configfile (hd1,0)/boot/grub/menu.lst

title Microsoft Windows NT/98/95 and MS-DOS
  root        (hd1,0)
#  rootnoverify (hd1,0)
  makeactive
  chainloader +1

title reboot
reboot

title power off
halt

xorg.conf

failsafe

try vesa driver when other fails

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by failsafeDexconf, using
# values from the debconf database and some overrides to use vesa mode.
#
# You should use dexconf or another such tool for creating a "real" xorg.conf
# For example:
#   sudo dpkg-reconfigure -phigh xserver-xorg
Section "InputDevice"
    Identifier    "Generic Keyboard"
    Driver        "kbd"
    Option        "XkbRules"    "xorg"
    Option        "XkbModel"    "pc105"
    Option        "XkbLayout"    "us"
EndSection

Section "InputDevice"
    Identifier    "Configured Mouse"
    Driver        "mouse"
EndSection

Section "Device"
    Identifier    "Configured Video Device"
    Driver        "vesa"    # if vesa fails too, try replace "vesa" with "vga"
EndSection

Section "Monitor"
    Identifier    "Configured Monitor"
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Device        "Configured Video Device"
    Monitor        "Configured Monitor"
    SubSection "Display"
        Modes   "800x600" # if this fails, try lower resolutions like "640x480"
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier    "Default Layout"
    Screen        "Default Screen"
EndSection

ubuntu default

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
    Identifier    "Generic Keyboard"
    Driver        "kbd"
    Option        "XkbRules"    "xorg"
    Option        "XkbModel"    "pc105"
    Option        "XkbLayout"    "us"
EndSection

Section "InputDevice"
    Identifier    "Configured Mouse"
    Driver        "mouse"
    Option        "CorePointer"
EndSection

Section "Device"
    Identifier    "Configured Video Device"
EndSection

Section "Monitor"
    Identifier    "Configured Monitor"
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Monitor        "Configured Monitor"
    Device        "Configured Video Device"
EndSection

Section "ServerLayout"
    Identifier    "Default Layout"
    Screen        "Default Screen"
EndSection

resolution

Section "Screen"
    Identifier    "Screen0"
    Device    "Card0"
    Monitor    "Monitor0"
    Defaultdepth    24
    Subsection "Display"
        Depth 24
        Modes "1280x800@60" "1280x720@60" "1280x768@60"
    EndSubSection
EndSection

.conkyrc

# Conky, a system monitor, based on torsmo
#
# Any original torsmo code is licensed under the BSD license
#
# All code written since the fork of torsmo is licensed under the GPL
#
# Please see COPYING for details
#
# Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
# Copyright (c) 2005-2007 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
# $Id: conky.conf 990 2007-11-22 19:38:17Z pkovacs $

alignment bottom_right
background no 
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
# double_buffer yes
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
font 6x10
gap_x 20
gap_y 40
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
own_window yes
own_window_class Conky
own_window_type desktop
stippled_borders 0
update_interval 3.0
uppercase no
use_spacer none

TEXT
$nodename - $sysname $kernel on $machine
$hr
${color grey}Uptime:$color $uptime
${color grey}Frequency (in MHz):$color $freq
${color grey}Frequency (in GHz):$color $freq_g
${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color grey}CPU Usage:$color $cpu% ${cpubar 4}
${color grey}Processes:$color $processes  ${color grey}Running:$color $running_processes
$hr
${color grey}File systems:
 / $color${fs_free /}/${fs_size /} ${fs_bar 6 /}
${color grey}Networking:
Up:$color ${upspeed eth0} k/s${color grey} - Down:$color ${downspeed eth0} k/s
$hr
${color grey}Name                  PID   CPU%   MEM%
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
Add a New Comment
or Sign in as Wikidot user
(will not be published)
- +
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License