Ubuntu:Configuration
From Alexandre Navarro's Wiki
(→Nautilus) |
|||
Line 30: | Line 30: | ||
####### | ####### | ||
- | deb | + | #deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release amd64 (20081029.2)]/ intrepid main restricted |
+ | # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to | ||
+ | # newer versions of the distribution. | ||
- | + | deb http://fr.archive.ubuntu.com/ubuntu/ intrepid main restricted | |
- | deb http://fr.archive.ubuntu.com/ubuntu/ | + | deb-src http://fr.archive.ubuntu.com/ubuntu/ intrepid main restricted |
- | deb-src http://fr.archive.ubuntu.com/ubuntu/ | + | |
- | ## | + | ## Major bug fix updates produced after the final release of the |
- | deb http://fr.archive.ubuntu.com/ubuntu/ | + | ## distribution. |
- | deb-src http://fr.archive.ubuntu.com/ubuntu/ | + | deb http://fr.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted |
+ | deb-src http://fr.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted | ||
- | ## | + | ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu |
- | deb http://fr.archive.ubuntu.com/ubuntu | + | ## team. Also, please note that software in universe WILL NOT receive any |
- | deb-src http://fr.archive.ubuntu.com/ubuntu | + | ## review or updates from the Ubuntu security team. |
+ | deb http://fr.archive.ubuntu.com/ubuntu/ intrepid universe | ||
+ | deb-src http://fr.archive.ubuntu.com/ubuntu/ intrepid universe | ||
+ | deb http://fr.archive.ubuntu.com/ubuntu/ intrepid-updates universe | ||
+ | deb-src http://fr.archive.ubuntu.com/ubuntu/ intrepid-updates universe | ||
- | ## | + | ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu |
- | deb http://fr.archive.ubuntu.com/ubuntu | + | ## team, and may not be under a free licence. Please satisfy yourself as to |
- | deb-src http://fr.archive.ubuntu.com/ubuntu | + | ## your rights to use the software. Also, please note that software in |
+ | ## multiverse WILL NOT receive any review or updates from the Ubuntu | ||
+ | ## security team. | ||
+ | deb http://fr.archive.ubuntu.com/ubuntu/ intrepid multiverse | ||
+ | deb-src http://fr.archive.ubuntu.com/ubuntu/ intrepid multiverse | ||
+ | deb http://fr.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse | ||
+ | deb-src http://fr.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse | ||
- | ## | + | ## Uncomment the following two lines to add software from the 'backports' |
- | deb http://archive. | + | ## repository. |
- | deb-src http://archive. | + | ## N.B. software from this repository may not have been tested as |
+ | ## extensively as that contained in the main release, although it includes | ||
+ | ## newer versions of some applications which may provide useful features. | ||
+ | ## Also, please note that software in backports WILL NOT receive any review | ||
+ | ## or updates from the Ubuntu security team. | ||
+ | # deb http://fr.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse | ||
+ | # deb-src http://fr.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse | ||
- | ## | + | ## Uncomment the following two lines to add software from Canonical's |
- | deb http:// | + | ## 'partner' repository. This software is not part of Ubuntu, but is |
- | deb-src http:// | + | ## offered by Canonical and the respective vendors as a service to Ubuntu |
+ | ## users. | ||
+ | deb http://archive.canonical.com/ubuntu intrepid partner | ||
+ | deb-src http://archive.canonical.com/ubuntu intrepid partner | ||
- | + | deb http://security.ubuntu.com/ubuntu intrepid-security main restricted | |
- | deb http:// | + | deb-src http://security.ubuntu.com/ubuntu intrepid-security main restricted |
+ | deb http://security.ubuntu.com/ubuntu intrepid-security universe | ||
+ | deb-src http://security.ubuntu.com/ubuntu intrepid-security universe | ||
+ | deb http://security.ubuntu.com/ubuntu intrepid-security multiverse | ||
+ | deb-src http://security.ubuntu.com/ubuntu intrepid-security multiverse | ||
- | ## | + | ## Medibuntu |
- | deb http:// | + | deb http://fr.packages.medibuntu.org/ intrepid free non-free |
- | deb-src http:// | + | deb-src http://fr.packages.medibuntu.org/ intrepid free non-free |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
## Virtualbox | ## Virtualbox | ||
- | deb http://www.virtualbox.org/debian | + | #deb http://www.virtualbox.org/debian intrepid non-free |
## miro (you tube) | ## miro (you tube) | ||
- | deb http://ftp.osuosl.org/pub/pculture.org/miro/linux/repositories/ubuntu | + | #deb http://ftp.osuosl.org/pub/pculture.org/miro/linux/repositories/ubuntu intrepid |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
Revision as of 23:57, 31 October 2008
Ubuntu Configuration (intrepid)
Desktop Configuration
- Task Bar :
- windows on top, remove shortcuts and bottom task bar, n workspaces and system monitor.
- change date format
- Systeme -> Preferences -> Applications Preferees
- mettre firefox et thunderbird
- Systeme -> Preferences -> Clavier
- Touche de la souris
- Systeme -> Preferences -> Apparence
- Theme : Human-Clearlooks
- Interface : Icones seul
- Effets : Extra
- Systeme -> Preferences -> Preferences Menus et Barre d'outils
- mettre icones seulement et detachables
Nautilus
- GConf /apps/nautilus/preferences/always_use_location/entry = true
- View in list
- apt #
- deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release amd64 (20081029.2)]/ intrepid main restricted
- See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
- newer versions of the distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ intrepid main restricted deb-src http://fr.archive.ubuntu.com/ubuntu/ intrepid main restricted
- Major bug fix updates produced after the final release of the
- distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted deb-src http://fr.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted
- N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
- team. Also, please note that software in universe WILL NOT receive any
- review or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ intrepid universe deb-src http://fr.archive.ubuntu.com/ubuntu/ intrepid universe deb http://fr.archive.ubuntu.com/ubuntu/ intrepid-updates universe deb-src http://fr.archive.ubuntu.com/ubuntu/ intrepid-updates universe
- N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
- team, and may not be under a free licence. Please satisfy yourself as to
- your rights to use the software. Also, please note that software in
- multiverse WILL NOT receive any review or updates from the Ubuntu
- security team.
deb http://fr.archive.ubuntu.com/ubuntu/ intrepid multiverse deb-src http://fr.archive.ubuntu.com/ubuntu/ intrepid multiverse deb http://fr.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse deb-src http://fr.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse
- Uncomment the following two lines to add software from the 'backports'
- repository.
- N.B. software from this repository may not have been tested as
- extensively as that contained in the main release, although it includes
- newer versions of some applications which may provide useful features.
- Also, please note that software in backports WILL NOT receive any review
- or updates from the Ubuntu security team.
- deb http://fr.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
- deb-src http://fr.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
- Uncomment the following two lines to add software from Canonical's
- 'partner' repository. This software is not part of Ubuntu, but is
- offered by Canonical and the respective vendors as a service to Ubuntu
- users.
deb http://archive.canonical.com/ubuntu intrepid partner deb-src http://archive.canonical.com/ubuntu intrepid partner
deb http://security.ubuntu.com/ubuntu intrepid-security main restricted deb-src http://security.ubuntu.com/ubuntu intrepid-security main restricted deb http://security.ubuntu.com/ubuntu intrepid-security universe deb-src http://security.ubuntu.com/ubuntu intrepid-security universe deb http://security.ubuntu.com/ubuntu intrepid-security multiverse deb-src http://security.ubuntu.com/ubuntu intrepid-security multiverse
- Medibuntu
deb http://fr.packages.medibuntu.org/ intrepid free non-free deb-src http://fr.packages.medibuntu.org/ intrepid free non-free
- Virtualbox
- deb http://www.virtualbox.org/debian intrepid non-free
- miro (you tube)
- deb http://ftp.osuosl.org/pub/pculture.org/miro/linux/repositories/ubuntu intrepid
- Grub #
sudo gedit /boot/grub/menu.lst
- menu.lst - See: grub(8), info grub, update-grub(8)
- grub-install(8), grub-floppy(8),
- grub-md5-crypt, /usr/share/doc/grub
- and /usr/share/doc/grub-doc/.
- default num
- Set the default entry to the entry number NUM. Numbering starts from 0, and
- the entry number 0 is the default if the command is not used.
- You can specify 'saved' instead of a number. In this case, the default entry
- is the entry saved with the command 'savedefault'.
- WARNING: If you are using dmraid do not change this entry to 'saved' or your
- array will desync and will not let you boot your system.
default 0
- timeout sec
- Set a timeout, in SEC seconds, before automatically booting the default entry
- (normally the first entry defined).
timeout 3
- hiddenmenu
- Hides the menu by default (press ESC to see the menu)
- hiddenmenu
- Pretty colours
- color cyan/blue white/blue
- password ['--md5'] passwd
- If used in the first section of a menu file, disable all interactive editing
- control (menu entry editor and command-line) and entries protected by the
- command 'lock'
- e.g. password topsecret
- password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
- password topsecret
- examples
- title Windows 95/98/NT/2000
- root (hd0,0)
- makeactive
- chainloader +1
- title Linux
- root (hd0,1)
- kernel /vmlinuz root=/dev/hda2 ro
- Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
- BEGIN AUTOMAGIC KERNELS LIST
- lines between the AUTOMAGIC KERNELS LIST markers will be modified
- by the debian update-grub script except for the default options below
- DO NOT UNCOMMENT THEM, Just edit them to your needs
- ## Start Default Options ##
- default kernel options
- default kernel options for automagic boot options
- If you want special options for specific kernels use kopt_x_y_z
- where x.y.z is kernel version. Minor versions can be omitted.
- e.g. kopt=root=/dev/hda1 ro
- kopt_2_6_8=root=/dev/hdc1 ro
- kopt_2_6_8_2_686=root=/dev/hdc2 ro
- kopt=root=UUID=6cc31c2d-9f2e-4599-93ac-a97c82d926f6 ro
- kopt_2_6=root=/dev/sda2 ro
- default grub root device
- e.g. groot=(hd0,0)
- groot=(hd0,1)
- should update-grub create alternative automagic boot options
- e.g. alternative=true
- alternative=false
- alternative=true
- should update-grub lock alternative automagic boot options
- e.g. lockalternative=true
- lockalternative=false
- lockalternative=false
- additional options to use with the default boot option, but not with the
- alternatives
- e.g. defoptions=vga=791 resume=/dev/hda5
- defoptions=quiet splash
- should update-grub lock old automagic boot options
- e.g. lockold=false
- lockold=true
- lockold=false
- altoption boot targets option
- multiple altoptions lines are allowed
- e.g. altoptions=(extra menu suffix) extra boot options
- altoptions=(recovery) single
- altoptions=(recovery mode) single
- controls how many kernels should be put into the menu.lst
- only counts the first occurence of a kernel, not the
- alternative kernel options
- e.g. howmany=all
- howmany=7
- howmany=all
- should update-grub create memtest86 boot option
- e.g. memtest86=true
- memtest86=false
- memtest86=true
- should update-grub adjust the value of the default booted system
- can be true or false
- updatedefaultentry=false
- ## End Default Options ##
title Ubuntu, kernel 2.6.17-10-generic root (hd0,1) kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sda2 ro quiet splash initrd /boot/initrd.img-2.6.17-10-generic quiet savedefault boot
title Ubuntu, kernel 2.6.17-10-generic (recovery mode) root (hd0,1) kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sda2 ro single initrd /boot/initrd.img-2.6.17-10-generic boot
title Ubuntu, memtest86+ root (hd0,1) kernel /boot/memtest86+.bin quiet boot
- END DEBIAN AUTOMAGIC KERNELS LIST
- This is a divider, added to separate the menu items below from the Debian
- ones.
title Other operating systems: root
- This entry automatically added by the Debian installer for a non-linux OS
- on /dev/sdb1
title Microsoft Windows XP dition familiale root (hd1,0) savedefault makeactive map (hd0) (hd1) map (hd1) (hd0) chainloader +1
- Devilspie #
sudo apt-get install devilspie
Rajouter devilspie au demarrage
mkdir ~/.devilspie gedit ~/.devilspie/maximize.ds
(if (or (and (is (application_name) "File Manager") (matches (window_name) ".*Navigateur de fichiers") ) (is (application_name) "Terminal") (is (application_name) "gcfilms") (matches (application_name) "amaroK$") (matches (window_name) "Azureus ") ) (maximize) )
gedit ~/.devilspie/debug.ds
(debug)
- conky #
sudo apt-get install conky
Rajouter conky au demarrage
gedit ~/.conkyrc
- UBUNTU-CONKY
- A comprehensive conky script, configured for use on
- Ubuntu / Debian Gnome, without the need for any external scripts.
- Based on conky-jc and the default .conkyrc.
- INCLUDES :
- - tail of /var/log/messages
- - netstat connections to your computer
- -- Pengo (conky@pengo.us)
- Create own window instead of using desktop (required in nautilus)
own_window yes
- own_window_type override
own_window_transparent yes own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
- Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
- fiddle with window
use_spacer yes use_xft no
- Update interval in seconds
update_interval 3.0
- Minimum size of text area
- minimum_size 250 5
- Draw shades?
draw_shades no
- Text stuff
draw_outline no # amplifies text if yes draw_borders no font arial uppercase no # set to yes if you want all text to be in uppercase
- Stippled borders?
stippled_borders 3
- border margins
border_margin 9
- border width
border_width 10
- Default colors and also border colors, grey90 == #e5e5e5
default_color grey
own_window_colour brown own_window_transparent yes
- Text alignment, other possible values are commented
- alignment top_left
- alignment top_right
- alignment bottom_left
alignment bottom_right
- Gap between borders of screen and text
gap_x 10 gap_y 10
- stuff after 'TEXT' will be formatted on screen
TEXT ${color #ffcb48}CPU ${hr 2}$color ${color #98c2c7}Freq :$color ${color #CCCCCC}${freq}MHz ${color #98c2c7}Load :$color ${color #CCCCCC}${loadavg} ${color #98c2c7}Temp :$color ${color #CCCCCC}${acpitemp} ${color #98c2c7}CPU : $color${color #CCCCCC}$cpu%$color ${color #78af78}$cpubar ${color #78af78}${cpugraph 78af78 a3a3a3} ${color #98c2c7}CPU 1 : $color${color #CCCCCC}${cpu cpu1}%$color ${color #78af78}${cpubar cpu1} ${color #98c2c7}CPU 2 : $color${color #CCCCCC}${cpu cpu2}%$color ${color #78af78}${cpubar cpu2} ${color #98c2c7}CPU 3 : $color${color #CCCCCC}${cpu cpu3}%$color ${color #78af78}${cpubar cpu3} ${color #98c2c7}CPU 4 : $color${color #CCCCCC}${cpu cpu4}%$color ${color #78af78}${cpubar cpu4}
${color #98c2c7}NAME PID CPU% MEM% ${color #e5e5e5}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} ${color #c4c4c4}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} ${color #a3a3a3}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} ${color #828282}${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color #ffcb48}MEMORY ${hr 2}$color ${color #98c2c7}RAM : $color${color #CCCCCC}$mem / $memmax - $memperc%$color ${color #78af78}${membar 6}${color} ${color #98c2c7}Swap : $color${color #CCCCCC}$swap / $swapmax - $swapperc%$color ${color #78af78}${swapbar 6}$color
${color #98c2c7}NAME PID CPU% MEM% ${color #e5e5e5}${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1} ${color #c4c4c4}${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2} ${color #a3a3a3}${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3} ${color #828282}${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
${color #ffcb48}DISK ${hr 2}$color
${color #98c2c7}IO : $color${color #CCCCCC}$diskio$color
${color #98c2c7}/ : $color${color #CCCCCC}${fs_used /}/${fs_size /} (${fs_free /} ${fs_free_perc /}% free)$color
${color #78af78}${fs_bar /}$color
${color #98c2c7}/home : $color${color #CCCCCC}${fs_used /home}/${fs_size /home} (${fs_free /home} ${fs_free_perc /home}% free)$color
${color #78af78}${fs_bar /home}$color
${color #98c2c7}/sdb1 : $color${color #CCCCCC}${fs_used /media/sdb1}/${fs_size /media/sdb1} (${fs_free /media/sdb1} ${fs_free_perc /media/sdb1}% free)$color
${color #78af78}${fs_bar /media/sdb1}$color
${color #98c2c7}/sdb2 : $color${color #CCCCCC}${fs_used /media/sdb2}/${fs_size /media/sdb2} (${fs_free /media/sdb2} ${fs_free_perc /media/sdb2}% free)$color
${color #78af78}${fs_bar /media/sdb2}$color
${color #98c2c7}/sdb3 : $color${color #CCCCCC}${fs_used /media/sdb3}/${fs_size /media/sdb3} (${fs_free /media/sdb3} ${fs_free_perc /media/sdb3}% free)$color
${color #78af78}${fs_bar /media/sdb3}$color
${color #ffcb48}NETWORK (${addr eth0}) ${hr 2}$color ${color #98c2c7}Download :$color ${color #CCCCCC}${downspeed eth0} k/s ${color #98c2c7}Upload :$color ${color #CCCCCC}${upspeed eth0} k/s ${color #888888}${downspeedgraph eth0 25,100 ff0000 0000ff} ${color #888888}${upspeedgraph eth0 25,100 0000ff ff0000} ${color #98c2c7}Total :$color ${color #CCCCCC}${totaldown eth0} ${color #98c2c7}Total :$color ${color #CCCCCC}${totalup eth0}
- Azureus #
wget http://citkit.dl.sourceforge.net/sourceforge/azureus/Azureus_2.4.0.2_linux.tar.bz2 sudo cp Azureus_2.4.0.2_linux.tar.bz2 /usr/local rm -rf Azureus_2.4.0.2_linux.tar.bz2 cd /usr/local/ sudo tar -xvjf Azureus_2.4.0.2_linux.tar.bz2 sudo rm Azureus_2.4.0.2_linux.tar.bz2 sudo chown -R navarroa azureus
Pour la version beta
cd azureus sudo wget http://torrents.aelitis.com:88/files/Azureus2403-B37.jar sudo rm -rf Azureus2.jar sudo mv Azureus2403-B37.jar Azureus2.jar cd .. sudo chown -R navarroa azureus
Port Triggering : 8881-8889 (both)
- Freeplayer #
-Freeplayer multiposte
sudo apt-get install vlc
Port Triggering : 32768-32996 (both)
- Homejukebox
sudo apt-get install homeplayer myfreetv
Port Forwarding : 8080 (TCP)
- Streamripper #
sudo apt-get install streamripper
gedit /home/navarroa/bin/streamripper-radio.sh
- !/bin/sh
streamripper http://88.191.11.83:8192 -d /home/navarroa/mp3/radio/ -s & # Hit Music Station streamripper http://194.146.227.87:8192 -d /home/navarroa/mp3/radio/ -s & # Frequence 3
- Samba #
sudo apt-get install samba
sudo smbpasswd -a user_name
Puis partager les dossier.
- NFS #
sudo apt-get install nfs-common nfs-kernel-server
sudo gedit /etc/hosts.allow
- /etc/hosts.allow: list of hosts that are allowed to access the system.
- See the manual pages hosts_access(5), hosts_options(5)
- and /usr/doc/netbase/portmapper.txt.gz
- Example: ALL: LOCAL @some_netgroup
- ALL: .foobar.edu EXCEPT terminalserver.foobar.edu
- If you're going to protect the portmapper use the name "portmap" for the
- daemon name. Remember that you can only use the keyword "ALL" and IP
- addresses (NOT host or domain names) for the portmapper, as well as for
- rpc.mountd (the NFS mount daemon). See portmap(8), rpc.mountd(8) and
- /usr/share/doc/portmap/portmapper.txt.gz for further information.
portmap:192.168.0.3 nfsd:192.168.0.3 mountd:192.168.0.3
sudo gedit /etc/hosts.deny
- /etc/hosts.deny: list of hosts that are _not_ allowed to access the system.
- See the manual pages hosts_access(5), hosts_options(5)
- and /usr/doc/netbase/portmapper.txt.gz
- Example: ALL: some.host.name, .some.domain
- ALL EXCEPT in.fingerd: other.host.name, .other.domain
- If you're going to protect the portmapper use the name "portmap" for the
- daemon name. Remember that you can only use the keyword "ALL" and IP
- addresses (NOT host or domain names) for the portmapper. See portmap(8)
- and /usr/doc/portmap/portmapper.txt.gz for further information.
- The PARANOID wildcard matches any host whose name does not match its
- address.
- You may wish to enable this to ensure any programs that don't
- validate looked up hostnames still leave understandable logs. In past
- versions of Debian this has been the default.
- ALL: PARANOID
portmap:ALL nfsd:ALL mountd:ALL
Puis partager les dossier.
- .bashrc #
gedit ~/.bashrc
- ~/.bashrc: executed by bash(1) for non-login shells.
- see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
- for examples
- If not running interactively, don't do anything
[ -z "$PS1" ] && return
- don't put duplicate lines in the history. See bash(1) for more options
- export HISTCONTROL=ignoredups
- check the window size after each command and, if necessary,
- update the values of LINES and COLUMNS.
shopt -s checkwinsize
- make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(lesspipe)"
- set variable identifying the chroot you work in (used in the prompt below)
if [ -z "$debian_chroot" -a -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi
- set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in xterm-color)
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' ;;
- )
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' ;;
esac
- Comment in the above and uncomment this below for a color prompt
- PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
- If this is an xterm set the title to user@host:dir
case "$TERM" in xterm*|rxvt*)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007"' ;;
- )
;;
esac
- Alias definitions.
- You may want to put all your additions into a separate file like
- ~/.bash_aliases, instead of adding them here directly.
- See /usr/share/doc/bash-doc/examples in the bash-doc package.
- if [ -f ~/.bash_aliases ]; then
- . ~/.bash_aliases
- fi
- enable color support of ls and also add handy aliases
if [ "$TERM" != "dumb" ]; then
eval "`dircolors -b`" alias ls='ls --color=auto' #alias dir='ls --color=auto --format=vertical' #alias vdir='ls --color=auto --format=long'
fi
- some more ls aliases
alias ll='ls -l' alias la='ls -A' alias l='ls -CF' alias cp="cp -i" alias mv="mv -i" alias rm="rm -i" alias ls="ls --color='always'" alias dir="dir --color='always'" alias grep="grep --color='always'" alias md="mkdir" alias rd="rmdir" alias cd..='cd ..' alias glxgears="glxgears -printfps" alias cdrom="mount -t iso9660 /dev/cdrom /mnt/cdrom" alias ll="ls -alh" alias la="ls -a" alias rmf='rm -rf'
- Definition variables
export CATALINA_HOME=/usr/local/tomcat export CATALINA_BASE=/usr/local/tomcat export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun export JAVA_OPTS="-Xms512m -Xmx512m" export MAVEN2_HOME=/usr/local/maven2 export AZUREUS_HOME=/usr/local/azureus export ECLIPSE_HOME=/usr/local/eclipse-3.2 export PATH=/bin:/usr/bin:~/bin:${ANT_HOME}/bin:${CATALINA_HOME}/bin:${JAVA_HOME}/bin:${MAVEN2_HOME}/bin:${AZUREUS_HOME}
- enable programmable completion features (you don't need to enable
- this, if it's already enabled in /etc/bash.bashrc and /etc/profile
- sources /etc/bash.bashrc).
- if [ -f /etc/bash_completion ]; then
- . /etc/bash_completion
- fi
- Canon Ixus #
sudo apt-get install gtkam
sudo gedit /etc/udev/rules.d/45-libgphoto2.rules
Commentez au début
- BUS!="usb*", GOTO="libgphoto2_rules_end"
- ACTION!="add", GOTO="libgphoto2_rules_end"
Puis mettre
BUS!="usb", ACTION!="add", GOTO="libgphoto2_rules_end"
Puis faire
sudo /etc/init.d/udev restart