Utilisateur   Mot de passe  
Informaticien.be - Derniers blogs actifs - Liste des blogs
blietaer
Messages à Caractère informatique & Mémotechnique.
08/06/2009 @ 12:26:02: setup kdm
kdesu systemsettings
Lire la suite?
28/05/2009 @ 16:53:06: Un bon petit make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.

# ARCHITECTURE
##############
ACCEPT_KEYWORDS="x86"


# COMPILE OPTIONS
#################
CHOST="i686-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=prescott -mtune=prescott -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"

#MAKEOPTS="-j3"
MAKEOPTS="-j10"
FEATURES="distcc"
#DISTCC_HOSTS="141.253.4.93 141.253.4.95"



# USE FLAGS
###########
USE="-gtk -gnome -apm X aac acpi alsa amr amr_nb amr_wb apache2 battery bzip2 \
cddb cdr cpufreq ctype cups curl dba dbus dvd dvdr dvdread encode fbcon \
fbdev firefox gd gif gimp hal i810 ieee1394 imagemagick innodb ithreads \
java5 javascript jpeg kde lame mjpeg mng mmx mmxext mozilla mp3 mpeg \
mplayer msn mysql nptl nptlonly nvidia ogg opengl oss pcre pdf png \
qt3 qt4 rdesktop samba sdl session simplexml smp spell sse sse2 ssse3 \
svg syslog tcl threads tiff truetype tv unicode usb v4l v4l2 vesa vga \
vim-syntax wavpack webkit wifi xcb xinerama xml xmlwriter xvid zlib"


# GLOBALS VARIABLES
###################
INPUT_DEVICES="synaptics evdev keyboard mouse"
VIDEO_CARDS="nvidia"
LINGUAS="fr"


# REPOSITORIES
##############
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
#BeID
PORTDIR_OVERLAY="/usr/local/portage"

# allows the openoffice ebuild and a few others to use parallel jobs on this
# multi-processor system
WANT_MP="true"
Lire la suite?
08/04/2009 @ 14:14:52: bli Vs. Xorg 1.5 :: 1 - 0
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Wed Sep 5 19:29:10 PDT 2007

# xorg.conf (xorg 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 "ServerFlags"
Option "AllowEmptyInput" "true"
Option "AutoAddDevices" "true"
Option "AutoEnableDevices" "true"
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Screen0" 0 0
# InputDevice "Generic Keyboard"
# InputDevice "Configured Mouse"
# InputDevice "Synaptics Touchpad"
EndSection

Section "Files"

# path to defoma fonts
# RgbPath "/usr/X11R6/lib/X11/rgb"
# FontPath "unix/:7100"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/100dpi:unscaled"
FontPath "/usr/share/fonts/X11/75dpi:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/usr/local/share/fonts"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/freefonts"
FontPath "/usr/share/fonts/terminus"
FontPath "/usr/share/fonts/ttf-bitstream-vera"
FontPath "/usr/share/fonts/unifont"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/artwiz"

EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "int10"
Load "vbe"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
# Load "freetype"
# Load "type1"
# Load "synaptics"
EndSection

#Section "InputDevice"
# Identifier "Generic Keyboard"
# Driver "kbd"
# Option "CoreKeyboard"
# Option "XkbRules" "xorg"
# Option "XkbModel" "pc105"
# Option "XkbLayout" "us_intl"
# #Option "XkbLayout" "be"
#EndSection
#
#Section "InputDevice"
# Identifier "Configured Mouse"
# Driver "mouse"
# Option "CorePointer"
# Option "Device" "/dev/input/mice"
# Option "Protocol" "ImPS/2"
# Option "Emulate3Buttons" "true"
#EndSection
#
#Section "InputDevice"
# Identifier "Synaptics Touchpad"
# Driver "synaptics"
# Option "SendCoreEvents" "true"
# Option "Device" "/dev/psaux"
# Option "Protocol" "auto-dev"
# Option "HorizScrollDelta" "0"
#EndSection
#
Section "Modes"
Identifier "16:10"
ModeLine "1280x800" 107.2 1280 1360 1496 1712 800 801 804 835
ModeLine "1280x800" 123.4 1280 1368 1504 1728 800 801 804 840
ModeLine "1280x800" 147.9 1280 1376 1512 1744 800 801 804 848
ModeLine "1680x1050" 147.1 1680 1784 1968 2256 1050 1051 1054 1087
ModeLine "1680x1050" 188.1 1680 1800 1984 2288 1050 1051 1054 1096
ModeLine "1680x1050" 214.5 1680 1800 1984 2288 1050 1051 1054 1103
ModeLine "1680x1050" 256.2 1680 1808 1992 2304 1050 1051 1054 1112
ModeLine "1920x1200" 246.6 1920 2064 2272 2624 1200 1201 1204 1253
ModeLine "1920x1200" 282.7 1920 2072 2280 2640 1200 1201 1204 1260
ModeLine "1920x1200" 337.6 1920 2072 2288 2656 1200 1201 1204 1271
EndSection

Section "Monitor"
Identifier "LCD Laptop"
HorizSync 28.0 - 64.0
VertRefresh 43.0 - 60.0
Option "DPMS"
EndSection

Section "Device"

# Option "SecondMonitorVertRefresh" "50-160"
Identifier "nVidia 0"
Driver "nvidia"
BoardName "Go 7300"
option "DPMS"
Option "VBERestore" "true"
EndSection

Section "Screen"
Identifier "Screen0"
Device "nvidia 0"
Monitor "LCD Laptop"
DefaultDepth 24
Option "AddARGBGLXVisuals" "True"
Option "UseEdidFreqs" "yes"
Option "FlatPanelProperties" "Scaling = ascpect-scaled"
Option "TwinView" "1"
# Option "MetaModes" "1280x800,1280x1024;1280x800,CRT-0:NULL"
Option "MetaModes" "1280x800,1280x1024"
Option "TwinViewOrientation" "LeftOf"
Option "UseDisplayDevice" "DFP-0,CRT-0"
Option "HorizSync" "CRT-0: 30.0 - 80.0; DFP-0: 31.5 - 100"
Option "VertRefresh" "CRT-0: 50.0 - 85.5; DFP-0: 30.0 - 90.0"
Option "RenderAccel" "1"
Option "XAANoOffscreenPixmaps" "true"
Option "AllowGLXWithComposite" "true"
Option "TripleBuffer" "true"
# Option "SecondMonitorHorizSync" "30-96"
Option "ConnectedMonitor" "CRT-0,DFP-0"
# Option "NoPowerConnectorCheck" "
Option "NvAGP" "2"
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection
06/03/2009 @ 11:22:50: PROXIMUS 3G SOUS LINUX
06/03/2009 @ 11:08:06: Migrate to a new Hard Drive
cd /
find ./ -xdev -print0 | cpio -pa0V /mnt/sdb1
watch df
grub-install --recheck -root-directory /mnt/sdb1 /dev/sdb
Lire la suite?
05/03/2009 @ 12:16:32: viewty 3g sous wvdial
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","internet.proximus.be"
Modem Type = USB Modem
ISDN = 0
Phone = *99#
New PPPD = yes
Modem = /dev/ttyACM0
Username = wap
Password = wap
#Idle Seconds = 3000
Auto DNS = yes
Stupid Mode = 1
Compuserve = 0
Baud = 460800
Dial Command = ATD
Ask Password = 0
FlowControl = NOFLOW
Lire la suite?
05/03/2009 @ 12:14:14: video viewty 3GP to avi
ajout des USE flags:
aac amr_nb amr_wb amr

et utilisation de :
ffmpeg -i myfile.3gp -f avi -acodec libmp3lame out.avi
Lire la suite?
16/01/2009 @ 14:37:25: CSSH + password-less SSH sessions
Pour pouvoir faire plusieurs SSH à la fois sur différentes machines: CSSH.
Sur gentoo, package: x11-terms/clusterssh

Il peut aussi être intéressant de créer des clés SSH:
  1. ssh-keygen -t dsa  
  2. scp ~/.ssh/id_dsa you@another-box:.ssh/ 
  3. cat ~/.ssh/id_dsa.pub | ssh you@other-host 'cat - >> ~/.ssh/authorized_keys'

Informaticien.be - © 2002-2024 AkretioSPRL  - Generated via Kelare
The Akretio Network: Akretio - Freedelity - KelCommerce - Votre publicité sur informaticien.be ?