Intallation

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml
http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml
http://www.gentoo.org/main/en/mirrors.xml
http://gentoo-euetib.upc.es/mirror/gentoo/
http://gentoo-euetib.upc.es/mirror/gentoo/releases/x86/current-stage3/
http://gentoo-euetib.upc.es/mirror/gentoo/snapshots/
http://www.gentoo.org/doc/en/liveusb.xml

Confiuration

http://www.gentoo-wiki.info/UTF-8 http://www.gentoo.org/doc/en/utf-8.xml

/etc/make.conf

  • CFLAGS="-O3 -march=i686 -pipe"
  • CXXFLAGS="${CFLAGS}"
  • 	MAKEOPTS="-j3"
    	
  • # WARNING: Changing your CHOST is not something that should be done lightly.
    # Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
    CHOST="i686-pc-linux-gnu"
    	
  • ACCEPT_KEYWORDS="~x86"
    	
  • #default: DISTDIR=/usr/portage/distfiles
    #default: PORTAGE_TMPDIR=/var/tmp
    	
  • FEATURES="distlocks -userpriv parallel-fetch"
    AUTOCLEAN="yes"
    CLEAN_DELAY ="0"
    PORTDIR_OVERLAY="/usr/local/portage/overlay" #normal ebuilds in /usr/portage ??
    EMERGE_DEFAULT_OPTS="--jobs 3 --keep-going --load-average 9" #4
    	
  • USE="3dnow 3dnowext
    -a52 aac alsa apng avi
    bash-completion bluetooth bzip2 cairo cjk consolekit cups
    declarative device-mapper dbus djvu encode dri dvd dvdr dts -doc
    fbcon ffmpeg flac fortran ftp fam fontconfig
    gif gnutls -gdbm -gtk -gtk2 gmp -gnome gstreamer
    -ieee1394 imagemagick jadetex java javascript jpeg kde kpathsea
    latex mad matroska midi mikmod
    mod mmx mng modplug mpeg mp3 mp4 msn musepack mplayer mysql
    network nls nsplugin ntfs offensive ogg -oss oggvorbis opengl optimization
    pdf png plotutils policykit qt4
    spell samba smbclient sql sqlite ssl sse sse2 static-libs svg -svga symlink
    -theora tiff truetype usb unicode
    vaapi vim-syntax v4l vorbis webkit wifi wxwindows
    X xcb xine x264 xvid xinerama xulrunner win32codecs zeroconf"
    	
  • #INPUT_DEVICES="evdev synaptics"
    INPUT_DEVICES="evdev keyboard mouse synaptics"
    #VIDEO_CARDS="radeon" #open
    VIDEO_CARDS="intel"
    LINGUAS="en es"
    #ACCEPT_LICENSE="*"
    	
  • GENTOO_MIRRORS="http://sunsite.rediris.es/mirror/gentoo/
    http://darkstar.ist.utl.pt/gentoo/
    http://distfiles.gentoo.org
    http://ftp.udc.es/gentoo/
    http://www.ibiblio.org/pub/Linux/distributions/gentoo"
    SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
    	
  • /var/lib/portage/world

  • app-admin/sudo
  • app-admin/syslog-ng
  • app-admin/testdisk
  • app-arch/p7zip
  • app-arch/rar
  • app-cdr/k3b
  • app-editors/gvim
  • app-editors/vim
  • app-emulation/wine
  • app-emulation/winetricks
  • app-misc/fdupes
    Identify/delete duplicate files residing within specified directories
  • app-misc/screen
  • app-office/openoffice-bin
  • app-portage/eix
  • app-portage/genlop
  • app-portage/gentoolkit
  • app-portage/portage-utils
  • app-text/texlive
  • app-vim/conque
  • app-vim/gentoo-syntax
  • app-vim/vim-spell-en
  • app-vim/vim-spell-es
  • dev-java/sun-jdk
  • dev-lang/R
  • dev-perl/Cairo
  • dev-perl/Graph
  • dev-perl/extutils-depends
  • dev-perl/extutils-pkgconfig
  • dev-perl/glib-perl
  • dev-perl/gnome2-canvas
  • dev-perl/gtk2-perl
  • dev-python/imaging
  • dev-python/ply
  • dev-python/wxpython
  • dev-tex/cjk-latex
  • dev-tex/glossaries
  • dev-tex/latexdiff
  • dev-tex/mh
  • dev-tex/pgf
  • dev-texlive/texlive-langarabic
  • dev-texlive/texlive-langcjk
  • dev-texlive/texlive-langcyrillic
  • dev-texlive/texlive-langgreek
  • dev-texlive/texlive-latexextra
  • dev-texlive/texlive-mathextra
  • dev-util/biew
  • dev-util/ddd
  • dev-vcs/mercurial
  • games-board/crafty
  • games-board/gnuchess
  • games-board/knights
  • games-board/phalanx
  • games-emulation/dosbox
  • games-kids/gcompris
  • games-misc/cowsay
  • games-misc/fortune-mod-all
  • games-misc/rfksay
  • games-misc/sex
  • games-misc/wtf
  • games-misc/xcowsay
  • games-roguelike/nethack
  • gnome-extra/nautilus-dropbox
  • kde-base/ark
  • kde-base/dolphin-plugins
  • kde-base/gwenview
  • kde-base/jovie
  • kde-base/kdeartwork-kscreensaver
  • kde-base/kdebase-meta
  • kde-base/kdegames-meta
  • kde-base/kdeplasma-addons
  • kde-base/kmix
  • kde-base/kmousetool
  • kde-base/kolourpaint
  • kde-base/ksnapshot
  • kde-base/kwallet
  • kde-base/okular
  • kde-misc/kdesudo
  • kde-misc/synaptiks
  • mail-client/thunderbird-bin
  • media-gfx/gimp
  • media-gfx/gpicview
  • media-gfx/inkscape
  • media-libs/freeglut
  • media-libs/win32codecs
  • media-sound/kmidimon
  • media-sound/mpc
  • media-sound/mpd
  • media-sound/playmidi
  • media-sound/timidity++
  • media-tv/xawtv
  • media-video/cheese
  • media-video/cinelerra
  • media-video/guvcview
  • media-video/kmplayer
  • media-video/rtmpdump
  • media-video/vlc
  • net-im/kmess
  • net-misc/dhcpcd
  • net-misc/netkit-telnetd
  • net-misc/unison
  • net-print/cups-pdf
  • net-print/hplip
  • net-proxy/ntlmaps
  • net-wireless/bluedevil
  • net-wireless/rfkill
  • net-wireless/wireless-tools
  • net-wireless/wpa_supplicant
  • perl-core/ExtUtils-MakeMaker
  • sci-mathematics/Macaulay2
  • sci-mathematics/coq
  • sci-mathematics/rkward
  • sci-visualization/gnuplot
  • sys-apps/ifplugd
  • sys-apps/lm_sensors
  • sys-apps/pciutils
  • sys-apps/portage
  • sys-apps/pv
  • sys-block/gparted
  • sys-boot/grub
  • sys-devel/gcc
  • sys-fs/fuse
  • sys-fs/ntfs3g
  • sys-fs/ntfsprogs
  • sys-kernel/gentoo-sources
  • sys-process/htop
  • sys-process/lsof
  • sys-process/time
  • virtual/perl-Locale-Maketext-Simple
  • www-client/elinks
  • www-client/firefox
  • www-client/links
  • www-client/lynx
  • www-plugins/adobe-flash
  • www-plugins/kpartsplugin
  • www-plugins/mozplugger
  • x11-apps/mesa-progs
  • x11-base/xorg-server
  • x11-drivers/xf86-input-synaptics
  • x11-misc/grsync
  • x11-misc/xclip
  • x11-wm/awesome
  • /etc/portage/

  • package.license
    www-plugins/adobe-flash AdobeFlash-10.1
    dev-java/sun-jdk dlj-1.1
    sci-mathematics/nauty nauty
    	
  • package.unmask
    games-roguelike/nethack
    	
  • package.use
    sys-fs/udev extras
    app-mobilephone/obexd nokia
    sci-mathematics/coq gtk
    app-editors/gvim gtk
    app-editors/vim vim-pager
    dev-python/pyudev pyqt4
    net-misc/curl nss
    media-libs/libcanberra gtk
    media-video/mjpegtools sdl
    app-emulation/wine oss
    dev-lang/python gdbm
    net-dns/avahi mdnsresponder-compat
    net-misc/curl -gnutls
    	
  • /etc/fstab/

    Kernel

  • General setup
  • Enable loadable module support
  • Enable the block layer
  • Processor type and features
  • Power management and ACPI options
  • Bus options (PCI etc.)
  • Executable file formats / Emulations
  • Networking support
  • Device Drivers
  • Firmware Drivers
  • File systems
  • FUSE (Filesystem in Userspace) support
    Para usar sys-fs/ntfs3g y sys-fs/ntfsprogs
  • DOS/FAT/NT Filesystems
    Todo menos NTFS, se lo dejamos mejor a sys-fs/ntfs3g
  • Native language support
  • (utf8) Default NLS Option
  • Codepage 437 (United States, Canada)
  • Codepage 850 (Europe)
  • ASCII (United States)
  • NLS ISO 8859-1 (Latin 1; Western European Languages)
  • NLS ISO 8859-15 (Latin 9; Western European Languages with Euro)
  • NLS UTF-8
  • Kernel hacking
  • Security options
  • Cryptographic API
  • Virtualization
  • Library routines
  • .vimrc

    :hi Comment ctermfg=blue
    :hi Comment ctermbg=white
    :set modeline
    :set ts=4
    :set shiftwidth=4
    
    :set whichwrap=b,s,<,>,[,]
    :set incsearch
    :set autochdir
    :set autoindent
    " :set cursorline
    :set wildmode=longest,list,full
    :set wildmenu
    :hi CursorLine ctermbg=blue ctermfg=white guibg=blue guifg=white
    
    " see http://stackoverflow.com/questions/3920287/how-to-move-to-non-hidden-buffer-that-exists-in-some-window-on-some-tab
    "this allows to use :sb to change to tab by name
    :set switchbuf=usetab
    
    "-synctex=NUMBER, okular
    " To move to current line
    " gvim --servername GVIM --remote-send "%lgg"
    " %f file, %l line, %c column
    " To move to a tab (see switchbuf) with a buffer with the name and to the current line
    " gvim --servername GVIM --remote-send ":sb %f%lgg"
    
    "printing
    ":set printdevice=pdf
    :set printoptions=header:0,left:10mm,right:10mm,top:10mm,bottom:10mm
    :set printfont=:h8
    
    
    " for selecting the last pasted
    :nnoremap  `[v`]
    
    ":set spell
    :set spelllang=en,es
    :set dictionary+=/usr/share/dict/words " for  completion
    " /usr/lib64/aspell-0.60/es_affix.dat
    
    ":autocmd FileType c set omnifunc=ccomplete#Complete
    "fold C code
    :autocmd FileType c set foldmethod=syntax | normal zR
    :autocmd FileType tex set spell
    
    "tex spell is not working properly, we can use plaintex ...
    ":autocmd FileType tex set ft=plaintex
    "it seems to fail only when jumping to some positions...
    
    
    
    "--- Hide password in wpa_supplicant.conf ---"
    ":syn match password /password.*/
    :hi password ctermfg=darkblue
    :hi password ctermbg=blue
    
    :autocmd BufRead wpa_supplicant.conf syn match password /password\s*=\zs.*/
    :autocmd BufRead wpa_supplicant.conf syn match password /psk\s*=\zs.*/
    :autocmd BufRead wpa_supplicant.conf syn match cpassword /.*#.*password\s*=.*/ contains=password
    ":autocmd BufRead *.conf syn match password /password.*/
    ":autocmd BufRead *.conf exe "$s/^/#hola/"
    
    
    filetype plugin off
    "  ---  app-vim/latexsuite  ---
    "filetype plugin on
    "set grepprg=grep\ -nH\ $*
    "  *     :help latex-suite.txt
    "  *     :help latex-suite-quickstart.txt
    "  *     :help latexhelp.txt
    "  *     :help imaps.txt
    "let g:tex_flavor='latex' " para que coja los archivos vacios
    "let g:Imap_UsePlaceHolders=0 " para que no añada sucios <++>
    "como se pone é ?
    "como se usa :spell bien?
    
    

    .nethackrc

    OPTIONS=windowtype:tty
    #OPTIONS=name:player
    #OPTIONS=gender:male
    #OPTIONS=fruit:mango
    #OPTIONS=dogname:Izchak
    #OPTIONS=catname:Chun-Li
    #OPTIONS=horsename:Marlon
    OPTIONS=showexp,color,!autopickup,time,suppress_alert:3.3.1,boulder:0
    OPTIONS=hilite_pet,toptenwin,msghistory:200