.vimrc:
map <F11> :let &background = ( &background == "dark"? "light" : "dark" )<CR>
.vimrc:
map <F11> :let &background = ( &background == "dark"? "light" : "dark" )<CR>
.vimrc
map <F11> :let &background = ( &background == "dark"? "light" : "dark" )<CR>
syntax on
" Conversion HTML (:help 2html.vim)
let g:html_use_css = 1
let g:html_use_encoding = "utf8"
let g:use_xhtml = 1
Código:
Section "ServerLayout"
Identifier "Desk"
Screen 0 "Screen Lap" 0 480
Screen 1 "Screen CRT" Above "Screen CRT"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics TouchPad" "AlwaysCore"
EndSection
Section "ServerLayout"
Identifier "Lap"
Screen 0 "Screen Lap" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics TouchPad" "AlwaysCore"
Option "Xinierama" "0"
EndSection
Section "ServerLayout"
Identifier "TV"
Screen 0 "Screen Lap" 0 480
Screen 1 "Screen TV" Above "Screen Lap"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics TouchPad" "AlwaysCore"
EndSection
Section "Files"
RgbPath "/usr/lib/X11/rgb"
ModulePath "/usr/lib/modules/extensions"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/lib/X11/fonts/misc/:unscaled"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/misc/"
FontPath "/usr/lib/X11/fonts/Type1/"
FontPath "/usr/lib/X11/fonts/Speedo/"
FontPath "/usr/lib/X11/fonts/100dpi/"
FontPath "/usr/lib/X11/fonts/75dpi/"
FontPath "/usr/lib/X11/fonts/cyrillic/"
FontPath "/usr/lib/X11/fonts/TTF/"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
Load "synaptics"
EndSection
Section "ServerFlags"
Option "DefaultServerLayout" "Lap"
Option "Xinerama" "1"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Synaptics TouchPad"
Driver "synaptics"
Option "Device" "/dev/input/mouse0"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.09"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0015"
Option "SHMConfig" "on"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc104"
Option "XkbLayout" "latam"
EndSection
Section "Monitor"
Identifier "Monitor CRT"
VendorName "LG"
ModelName "Studioworkss 40Si"
HorizSync 31.5 - 48.4
VertRefresh 60.0 - 75.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor Lap"
VendorName "Unknown"
ModelName "Nvidia Default Flat Panel"
HorizSync 29.0 - 49.0
VertRefresh 0.0 - 61.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor TV"
VendorName "SAMSUNG"
ModelName "TV-0"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Videocard Lap"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce Go 6150"
BusID "PCI:0:5:0"
Screen 0
EndSection
Section "Device"
Identifier "Videocard TV"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce Go 6150"
Screen 1
EndSection
Section "Device"
Identifier "Videocard CRT"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce Go 6150"
BusID "PCI:0:5:0"
Screen 1
EndSection
Section "Screen"
Identifier "Screen Lap"
Device "Videocard Lap"
Monitor "Monitor Lap"
DefaultDepth 24
Option "RenderAccel" "True"
Option "metamodes" "DFP: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen CRT"
Device "Videocard CRT"
Monitor "Monitor CRT"
DefaultDepth 24
Option "RenderAccel" "True"
Option "metamodes" "CRT: 1024x768 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen TV"
Device "Videocard CRT"
Monitor "Monitor TV"
DefaultDepth 24
Option "RenderAccel" "True"
Option "metamodes" "TV: 640x480 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Código:
$ for arch in *.MP3; do name=`echo "$arch" | cut -d. -f1`; mv "$arch" "${name}.mp3"; done

Eso es todo... sane-find-scanner muestra los parametros de nuestro scanner como el id del fabricante y del producto que en mi caso son:
# rpm -iUvh --nodeps iscan-2.10.0-1.c2.i386.rpm
# sane-find-scanner
# chmod 0666 /proc/bus/usb/002/006
# iscan

Esto instala los binarios necesarios así como el backend y los filtros necesarios, crea varios archivos necesarios como /etc/pipslite/ekpdrc y otros.#rpm -iUvh --nodeps iscan-2.10.0-1.c2.i386.rpm
Install Message > Start /usr/share/pipslite/setup to change setup.
Install Message > Start /usr/bin/pipslite-install to make ppd file.
En mi caso el segundo dato es /dev/usblp0 ya que ese es el dispositivo que se crea al conectar la impresora.#/usr/share/pipslite/setup
Please select locale to use.
Select : en ja
(english) > en
Para el siguiente paso es necesario que la impresora este encendida y conectada a la computadora.Please specify the connection of a printer.
(/dev/usb/lp0) > /dev/usblp0
Please specify the printer name when it is using by lpr.
(lite) > Epson
Setup is complete. Is it saved?
(Yes/no) > Yes
The following files were changed.
/etc/pipslite/ekpdrc
/etc/printcap
The following directories were created.
/var/spool/lpd/Epson
It saved. Setup is complete.
Start /usr/share/pipslite/setup to change setup.
Esto crea el archivo .ppd que sirve como descriptor de la impresora. Despues de esto nos sersioraremos que el demonio ekpd que comunica la impresora este corriendo:$xhost +LOCAL:
#/usr/bin/pipslite-install
Dependiedo del resultado podemos dar un start para arrancar este demonio o seguir adelante. A continuación es necesario reiniciar CUPS:#/etc/rc.d/init.d/ekpd status
Listo esto podemos dar de alta la impresora por medio de la interfaz web de CUPS o mediante el asistente en KDE. Yo preferí la interfaz web.#/etc/rc.d/rc.cups restart
