Ubuntu:Configuration
From Alexandre Navarro's Wiki
(Difference between revisions)
(→Ubuntu Configuration (intrepid)) |
(→Desktop Configuration) |
||
(72 intermediate revisions not shown.) | |||
Line 1: | Line 1: | ||
- | + | = Ubuntu Configuration (intrepid) = | |
- | + | == Desktop Configuration == | |
+ | * System Settings -> Apparence -> Launch Icon Size | ||
+ | :* 32 | ||
- | * | + | * System Settings -> System Info -> Default Applications |
- | :* | + | :* Put chrome (open in a new tab) |
- | + | ||
- | * | + | * System Settings -> Universal Access -> Pointing and Clicking |
- | + | :* Mouse Keys : On | |
- | * | + | * Full screen Dash |
- | - | + | gsettings set com.canonical.Unity form-factor 'Netbook' |
- | * | + | * CompizConfig Settings Manager -> Ubuntu Unity Plugin |
- | + | :* Backlight Mode : Backlight Toggles | |
- | * | + | * Add Eclipse Application |
- | + | ||
- | + | sudo gedit /usr/share/applications/eclipse.desktop | |
- | + | ||
- | + | [Desktop Entry] | |
- | - | + | Encoding=UTF-8 |
+ | Name=Eclipse | ||
+ | Comment=Eclipse IDE | ||
+ | Exec=/home/anavarro/Applications/eclipse/eclipse | ||
+ | Icon=/home/anavarro/Applications/eclipse/icon.xpm | ||
+ | Terminal=false | ||
+ | Type=Application | ||
+ | Categories=GNOME;Application;Development; | ||
+ | StartupNotify=true | ||
- | * | + | * Compiz |
- | + | ||
- | * | + | :* Effects/Animations |
- | + | ||
- | + | ||
- | * | + | ::* Open Lamp (300ms) |
- | + | ::* Minimize Lamp (300ms) | |
+ | ::* Close Burn (400ms) | ||
- | + | == Nautilus == | |
- | + | ||
+ | * GConf /apps/nautilus/preferences/always_use_location/entry = true | ||
+ | * View in list | ||
+ | * Tree on left | ||
- | + | == Apt == | |
- | + | ||
- | + | ||
- | + | sudo gedit /etc/apt/sources.list | |
+ | #deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release amd64 (20100429)]/ lucid 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/ lucid main restricted | ||
+ | deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid main restricted | ||
+ | |||
+ | ## Major bug fix updates produced after the final release of the | ||
+ | ## distribution. | ||
+ | deb http://fr.archive.ubuntu.com/ubuntu/ lucid-updates main restricted | ||
+ | deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-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/ lucid universe | ||
+ | deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid universe | ||
+ | deb http://fr.archive.ubuntu.com/ubuntu/ lucid-updates universe | ||
+ | deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-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/ lucid multiverse | ||
+ | deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid multiverse | ||
+ | deb http://fr.archive.ubuntu.com/ubuntu/ lucid-updates multiverse | ||
+ | deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-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/ lucid-backports main restricted universe multiverse | ||
+ | deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-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 lucid partner | ||
+ | deb-src http://archive.canonical.com/ubuntu lucid partner | ||
+ | |||
+ | deb http://security.ubuntu.com/ubuntu lucid-security main restricted | ||
+ | deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted | ||
+ | deb http://security.ubuntu.com/ubuntu lucid-security universe | ||
+ | deb-src http://security.ubuntu.com/ubuntu lucid-security universe | ||
+ | deb http://security.ubuntu.com/ubuntu lucid-security multiverse | ||
+ | deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse | ||
+ | |||
+ | ## Medibuntu # wget -q http://fr.packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - | ||
+ | deb http://fr.packages.medibuntu.org/ lucid free non-free | ||
+ | deb-src http://fr.packages.medibuntu.org/ lucid free non-free | ||
- | ########## | ||
- | # Nvidia # | ||
- | ########## | ||
- | + | == Conky == | |
- | + | ||
- | + | ||
- | sudo | + | sudo apt-get install conky |
+ | Add conky at startup | ||
+ | gedit ~/.conkyrc | ||
- | # nvidia-xconfig: X configuration file generated by nvidia-xconfig | ||
- | # nvidia-xconfig: version 1.0 (buildmeister@builder26) Mon Feb 26 23:37:58 PST 2007 | ||
- | # / | + | # 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_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_xft no | ||
+ | |||
+ | # Update interval in seconds | ||
+ | update_interval 3.0 | ||
+ | |||
+ | |||
+ | # Minimum size of text area | ||
+ | # in order to fix a bug (sometimes, conky appears in the foreground) | ||
+ | minimum_size 350 | ||
+ | maximum_width 350 | ||
+ | |||
+ | # Draw shades? | ||
+ | draw_shades no | ||
+ | |||
+ | # Text stuff | ||
+ | draw_outline no # amplifies text if yes | ||
+ | draw_borders no | ||
+ | uppercase no # set to yes if you want all text to be in uppercase | ||
+ | |||
+ | # border | ||
+ | border_width 0 | ||
+ | |||
+ | # Default colors and also border colors, grey90 == #e5e5e5 | ||
+ | default_color grey | ||
+ | own_window_transparent yes | ||
+ | |||
+ | # Text alignment, other possible values are commented | ||
+ | alignment bottom_right | ||
+ | |||
+ | # Gap between borders of screen and text | ||
+ | gap_x 20 | ||
+ | gap_y 25 | ||
+ | |||
+ | # 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 MEM% | ||
+ | ${color #eeeeee}${top name 1} ${top pid 1} ${top cpu 1} ${top mem_res 1} ${top mem 1} | ||
+ | ${color #dddddd}${top name 2} ${top pid 2} ${top cpu 2} ${top mem_res 2} ${top mem 2} | ||
+ | ${color #cccccc}${top name 3} ${top pid 3} ${top cpu 3} ${top mem_res 3} ${top mem 3} | ||
+ | ${color #bbbbbb}${top name 4} ${top pid 4} ${top cpu 4} ${top mem_res 4} ${top mem 4} | ||
+ | ${color #aaaaaa}${top name 5} ${top pid 5} ${top cpu 5} ${top mem_res 5} ${top mem 5} | ||
+ | |||
+ | ${color #ffcb48}MEMORY ${hr 2}$color | ||
+ | ${color #98c2c7}RAM : $color${color #CCCCCC}$mem / $memmax - $memperc%$color | ||
+ | ${color #78af78}${membar 6}${color} | ||
+ | |||
+ | ${color #98c2c7}NAME PID CPU% MEM MEM% | ||
+ | ${color #eeeeee}${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem_res 1} ${top_mem mem 1} | ||
+ | ${color #dddddd}${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem_res 2} ${top_mem mem 2} | ||
+ | ${color #cccccc}${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem_res 3} ${top_mem mem 3} | ||
+ | ${color #bbbbbb}${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem_res 4} ${top_mem mem 4} | ||
+ | ${color #aaaaaa}${top_mem name 5} ${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem_res 5} ${top_mem mem 5} | ||
+ | |||
+ | ${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}/sdc3 : $color${color #CCCCCC}${fs_used /media/a3ff4b9a-e4bb-4542-9080-2fd91e3fa65b}/${fs_size /media/a3ff4b9a-e4bb-4542-9080-2fd91e3fa65b} (${fs_free /media/a3ff4b9a-e4bb-4542-9080-2fd91e3fa65b} ${fs_free_perc /media/a3ff4b9a-e4bb-4542-9080-2fd91e3fa65b}% free)$color | ||
+ | ${color #78af78}${fs_bar /media/a3ff4b9a-e4bb-4542-9080-2fd91e3fa65b}$color | ||
+ | ${color #98c2c7}/sdb3 : $color${color #CCCCCC}${fs_used /media/a18e1f05-8483-4625-aae9-bdc18f641ca1}/${fs_size /media/a18e1f05-8483-4625-aae9-bdc18f641ca1} (${fs_free /media/a18e1f05-8483-4625-aae9-bdc18f641ca1} ${fs_free_perc /media/a18e1f05-8483-4625-aae9-bdc18f641ca1}% free)$color | ||
+ | ${color #78af78}${fs_bar /media/a18e1f05-8483-4625-aae9-bdc18f641ca1}$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} | ||
+ | |||
+ | ${color #ffcb48}MUSIC ${hr 2}$color | ||
+ | ${color #98c2c7}Playing :$color | ||
+ | ${color #CCCCCC}${exec /usr/bin/rhythmbox-client --no-start --no-present --print-playing-format “%at”}$color | ||
- | Section "ServerLayout" | ||
- | Identifier "Default Layout" | ||
- | Screen "Default Screen" 0 0 | ||
- | InputDevice "Generic Keyboard" | ||
- | InputDevice "Configured Mouse" | ||
- | InputDevice "stylus" "SendCoreEvents" | ||
- | InputDevice "cursor" "SendCoreEvents" | ||
- | InputDevice "eraser" "SendCoreEvents" | ||
- | EndSection | ||
- | Section "Files" | ||
- | # path to defoma fonts | ||
- | FontPath "/usr/share/X11/fonts/misc" | ||
- | FontPath "/usr/share/X11/fonts/cyrillic" | ||
- | FontPath "/usr/share/X11/fonts/100dpi/:unscaled" | ||
- | FontPath "/usr/share/X11/fonts/75dpi/:unscaled" | ||
- | FontPath "/usr/share/X11/fonts/Type1" | ||
- | FontPath "/usr/share/X11/fonts/100dpi" | ||
- | FontPath "/usr/share/X11/fonts/75dpi" | ||
- | FontPath "/usr/share/fonts/X11/misc" | ||
- | FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" | ||
- | EndSection | ||
- | Section "Module" | ||
- | Load "i2c" | ||
- | Load "bitmap" | ||
- | Load "ddc" | ||
- | Load "extmod" | ||
- | Load "freetype" | ||
- | Load "int10" | ||
- | Load "type1" | ||
- | Load "vbe" | ||
- | Load "dbe" | ||
- | Load "glx" | ||
- | EndSection | ||
- | Section "InputDevice" | ||
- | Identifier "Generic Keyboard" | ||
- | Driver "kbd" | ||
- | Option "CoreKeyboard" | ||
- | Option "XkbRules" "xorg" | ||
- | Option "XkbModel" "pc105" | ||
- | Option "XkbLayout" "fr" | ||
- | Option "XkbOptions" "lv3:ralt_switch" | ||
- | EndSection | ||
- | + | For laptop | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | 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_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_xft no | ||
+ | |||
+ | # Update interval in seconds | ||
+ | update_interval 3.0 | ||
+ | |||
+ | |||
+ | # Minimum size of text area | ||
+ | # in order to fix a bug (sometimes, conky appears in the foreground) | ||
+ | minimum_size 350 | ||
+ | maximum_width 350 | ||
+ | |||
+ | # Draw shades? | ||
+ | draw_shades no | ||
+ | |||
+ | # Text stuff | ||
+ | draw_outline no # amplifies text if yes | ||
+ | draw_borders no | ||
+ | uppercase no # set to yes if you want all text to be in uppercase | ||
+ | |||
+ | # border | ||
+ | border_width 0 | ||
+ | |||
+ | # Default colors and also border colors, grey90 == #e5e5e5 | ||
+ | default_color grey | ||
+ | own_window_transparent yes | ||
+ | |||
+ | # Text alignment, other possible values are commented | ||
+ | alignment bottom_right | ||
+ | |||
+ | # Gap between borders of screen and text | ||
+ | gap_x 20 | ||
+ | gap_y 25 | ||
+ | |||
+ | # 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 Mem% | ||
+ | ${color #eeeeee}${top name 1} ${top pid 1} ${top cpu 1} ${top mem_res 1} ${top mem 1} | ||
+ | ${color #dddddd}${top name 2} ${top pid 2} ${top cpu 2} ${top mem_res 2} ${top mem 2} | ||
+ | ${color #cccccc}${top name 3} ${top pid 3} ${top cpu 3} ${top mem_res 3} ${top mem 3} | ||
+ | ${color #bbbbbb}${top name 4} ${top pid 4} ${top cpu 4} ${top mem_res 4} ${top mem 4} | ||
+ | ${color #aaaaaa}${top name 5} ${top pid 5} ${top cpu 5} ${top mem_res 5} ${top mem 5} | ||
+ | |||
+ | ${color #ffcb48}MEMORY ${hr 2}$color | ||
+ | ${color #98c2c7}Ram $color${color #CCCCCC}$mem / $memmax - $memperc%$color | ||
+ | ${color #78af78}${membar 6}${color} | ||
+ | |||
+ | ${color #98c2c7}Name Pid Cpu Mem Mem% | ||
+ | ${color #eeeeee}${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem_res 1} ${top_mem mem 1} | ||
+ | ${color #dddddd}${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem_res 2} ${top_mem mem 2} | ||
+ | ${color #cccccc}${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem_res 3} ${top_mem mem 3} | ||
+ | ${color #bbbbbb}${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem_res 4} ${top_mem mem 4} | ||
+ | ${color #aaaaaa}${top_mem name 5} ${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem_res 5} ${top_mem mem 5} | ||
+ | |||
+ | ${color #ffcb48}DISK ${hr 2}$color | ||
+ | ${color #98c2c7}Io $color${color #CCCCCC}$diskio$color | ||
+ | ${color #98c2c7}Swap $color${color #CCCCCC}${swap}/${swapmax} (${swapfree} ${swapperc}% free)$color | ||
+ | ${color #78af78}${swapbar }$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 #ffcb48}BATTERY ${hr 2}$color | ||
+ | ${color #98c2c7}Status $color${color #CCCCCC}$battery $battery_time$color | ||
+ | ${color #98c2c7}Usage $color${color #CCCCCC}$battery_percent%$color | ||
+ | ${color #78af78}${battery_bar}${color} | ||
+ | |||
+ | ${color #ffcb48}NETWORK (${addr wlan0}) ${hr 2}$color | ||
+ | ${color #98c2c7}Bitrate $color ${color #CCCCCC}${wireless_bitrate wlan0} | ||
+ | ${color #98c2c7}Quality $color ${color #CCCCCC}${wireless_link_qual_perc wlan0}% | ||
+ | ${color #78af78}${wireless_link_bar wlan0}${color} | ||
+ | ${color #98c2c7}Download $color ${color #CCCCCC}${downspeed wlan0} k/s ${alignr}${color #98c2c7}Upload $color ${color #CCCCCC}${upspeed wlan0} k/s | ||
+ | ${color #888888}${downspeedgraph wlan0 25,100 ff0000 0000ff} ${alignr}${color #888888}${upspeedgraph wlan0 25,100 0000ff ff0000} | ||
+ | ${color #98c2c7}Total $color ${color #CCCCCC}${totaldown wlan0} ${alignr}${color #98c2c7}Total $color ${color #CCCCCC}${totalup wlan0} | ||
+ | |||
+ | ${color #ffcb48}MUSIC ${hr 2}$color | ||
+ | ${color #98c2c7}Playing $color | ||
+ | ${color #CCCCCC}${exec /usr/bin/rhythmbox-client --no-start --no-present --print-playing-format “%at”}$color | ||
- | + | == Freeplayer == | |
- | + | * Freeplayer multiposte | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | sudo apt-get install vlc | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | sudo apt-get install vlc | + | |
Port Triggering : 32768-32996 (both) | Port Triggering : 32768-32996 (both) | ||
- | + | * Homeplayer | |
- | + | ||
- | + | ||
Port Forwarding : 8080 (TCP) | Port Forwarding : 8080 (TCP) | ||
+ | == Streamripper == | ||
+ | sudo apt-get install streamripper | ||
+ | gedit /home/anavarro/bin/streamripper-radio.sh | ||
+ | #!/bin/sh | ||
+ | streamripper http://88.191.11.83:8192 -d /home/anavarro/music/radio/ -s & # Hit Music Station | ||
+ | streamripper http://194.146.227.87:8192 -d /home/anavarro/music/radio/ -s & # Frequence 3 | ||
- | + | == Samba == | |
- | + | ||
- | + | ||
- | sudo apt-get install | + | sudo apt-get install samba |
- | + | sudo smbpasswd -a user_name | |
- | + | And share a directory. | |
- | + | ||
- | + | ||
+ | == NFS == | ||
- | + | sudo apt-get install nfs-common nfs-kernel-server | |
- | + | ||
- | + | ||
- | sudo | + | 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 | ||
- | Puis partager les dossier. | ||
- | + | 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 | ||
- | + | And share a directory. | |
+ | == .bashrc == | ||
+ | gedit ~/.bashrc | ||
- | # /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 | ||
+ | # ~/.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.6.0-sun | ||
+ | export JAVA_OPTS="-Xmx512m" | ||
+ | export MAVEN_HOME=/usr/local/maven2 | ||
+ | export ECLIPSE_HOME=/usr/local/eclipse-3.4 | ||
+ | export PATH=/bin:/usr/bin:~/bin:${CATALINA_HOME}/bin:${JAVA_HOME}/bin:${MAVEN_HOME}/bin | ||
+ | |||
+ | |||
+ | # 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 | + | Puis mettre |
+ | BUS!="usb", ACTION!="add", GOTO="libgphoto2_rules_end" | ||
+ | Puis faire | ||
- | + | sudo /etc/init.d/udev restart | |
- | + | ||
- | + | ||
- | gedit ~/.bashrc | ||
+ | == Optimisation == | ||
- | + | === SSD === | |
- | + | ||
- | + | ||
- | + | gedit /etc/fstab | |
- | + | ||
- | # | + | # /etc/fstab: static file system information. |
- | # | + | # |
+ | # Use 'blkid -o value -s UUID' to print the universally unique identifier | ||
+ | # for a device; this may be used with UUID= as a more robust way to name | ||
+ | # devices that works even if disks are added and removed. See fstab(5). | ||
+ | # | ||
+ | # <file system> <mount point> <type> <options> <dump> <pass> | ||
+ | proc /proc proc nodev,noexec,nosuid 0 0 | ||
+ | /dev/sda1 / ext4 errors=remount-ro,noatime 0 1 | ||
+ | # /home was on /dev/sda2 during installation | ||
+ | UUID=7083a664-69db-4885-a1eb-2ae11353818a /home ext4 defaults,noatime 0 2 | ||
+ | /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0 | ||
+ | |||
+ | tmpfs /tmp tmpfs defaults 0 0 | ||
+ | tmpfs /var/tmp tmpfs defaults 0 0 | ||
+ | tmpfs /var/log tmpfs defaults 0 0 | ||
- | # check the window size after each command and, if necessary, | ||
- | # update the values of LINES and COLUMNS. | ||
- | shopt -s checkwinsize | ||
- | + | Add to /etc/sysctl.conf swappiness to 0 | |
- | + | ||
- | + | gedit /etc/sysctl.conf | |
- | + | ||
- | + | ||
- | + | ||
- | + | vm.swappiness=0 | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | See http://doc.ubuntu-fr.org/ssd_solid_state_drive | |
- | + | ||
- | + | === Others === | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | See http://doc.ubuntu-fr.org/optimisation | |
- | + | ||
- | + | ||
- | + | ||
- | + | == Xmodmap == | |
- | + | ||
- | + | ||
- | + | gedit ~/.Xmodmap | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | keycode 122 = semicolon NoSymbol semicolon NoSymbol semicolon | |
+ | keycode 123 = Delete NoSymbol Delete NoSymbol Delete | ||
+ | keycode 171 = Next NoSymbol Next NoSymbol Next | ||
+ | keycode 173 = Prior NoSymbol Prior NoSymbol Prior |
Current revision
Contents |
Ubuntu Configuration (intrepid)
Desktop Configuration
- System Settings -> Apparence -> Launch Icon Size
- 32
- System Settings -> System Info -> Default Applications
- Put chrome (open in a new tab)
- System Settings -> Universal Access -> Pointing and Clicking
- Mouse Keys : On
- Full screen Dash
gsettings set com.canonical.Unity form-factor 'Netbook'
- CompizConfig Settings Manager -> Ubuntu Unity Plugin
- Backlight Mode : Backlight Toggles
- Add Eclipse Application
sudo gedit /usr/share/applications/eclipse.desktop
[Desktop Entry] Encoding=UTF-8 Name=Eclipse Comment=Eclipse IDE Exec=/home/anavarro/Applications/eclipse/eclipse Icon=/home/anavarro/Applications/eclipse/icon.xpm Terminal=false Type=Application Categories=GNOME;Application;Development; StartupNotify=true
- Compiz
- Effects/Animations
- Open Lamp (300ms)
- Minimize Lamp (300ms)
- Close Burn (400ms)
Nautilus
- GConf /apps/nautilus/preferences/always_use_location/entry = true
- View in list
- Tree on left
Apt
sudo gedit /etc/apt/sources.list
#deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release amd64 (20100429)]/ lucid 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/ lucid main restricted deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://fr.archive.ubuntu.com/ubuntu/ lucid-updates main restricted deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-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/ lucid universe deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid universe deb http://fr.archive.ubuntu.com/ubuntu/ lucid-updates universe deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-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/ lucid multiverse deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid multiverse deb http://fr.archive.ubuntu.com/ubuntu/ lucid-updates multiverse deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-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/ lucid-backports main restricted universe multiverse deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-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 lucid partner deb-src http://archive.canonical.com/ubuntu lucid partner deb http://security.ubuntu.com/ubuntu lucid-security main restricted deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted deb http://security.ubuntu.com/ubuntu lucid-security universe deb-src http://security.ubuntu.com/ubuntu lucid-security universe deb http://security.ubuntu.com/ubuntu lucid-security multiverse deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse ## Medibuntu # wget -q http://fr.packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - deb http://fr.packages.medibuntu.org/ lucid free non-free deb-src http://fr.packages.medibuntu.org/ lucid free non-free
Conky
sudo apt-get install conky
Add conky at startup
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_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_xft no # Update interval in seconds update_interval 3.0 # Minimum size of text area # in order to fix a bug (sometimes, conky appears in the foreground) minimum_size 350 maximum_width 350 # Draw shades? draw_shades no # Text stuff draw_outline no # amplifies text if yes draw_borders no uppercase no # set to yes if you want all text to be in uppercase # border border_width 0 # Default colors and also border colors, grey90 == #e5e5e5 default_color grey own_window_transparent yes # Text alignment, other possible values are commented alignment bottom_right # Gap between borders of screen and text gap_x 20 gap_y 25 # 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 MEM% ${color #eeeeee}${top name 1} ${top pid 1} ${top cpu 1} ${top mem_res 1} ${top mem 1} ${color #dddddd}${top name 2} ${top pid 2} ${top cpu 2} ${top mem_res 2} ${top mem 2} ${color #cccccc}${top name 3} ${top pid 3} ${top cpu 3} ${top mem_res 3} ${top mem 3} ${color #bbbbbb}${top name 4} ${top pid 4} ${top cpu 4} ${top mem_res 4} ${top mem 4} ${color #aaaaaa}${top name 5} ${top pid 5} ${top cpu 5} ${top mem_res 5} ${top mem 5} ${color #ffcb48}MEMORY ${hr 2}$color ${color #98c2c7}RAM : $color${color #CCCCCC}$mem / $memmax - $memperc%$color ${color #78af78}${membar 6}${color} ${color #98c2c7}NAME PID CPU% MEM MEM% ${color #eeeeee}${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem_res 1} ${top_mem mem 1} ${color #dddddd}${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem_res 2} ${top_mem mem 2} ${color #cccccc}${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem_res 3} ${top_mem mem 3} ${color #bbbbbb}${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem_res 4} ${top_mem mem 4} ${color #aaaaaa}${top_mem name 5} ${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem_res 5} ${top_mem mem 5} ${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}/sdc3 : $color${color #CCCCCC}${fs_used /media/a3ff4b9a-e4bb-4542-9080-2fd91e3fa65b}/${fs_size /media/a3ff4b9a-e4bb-4542-9080-2fd91e3fa65b} (${fs_free /media/a3ff4b9a-e4bb-4542-9080-2fd91e3fa65b} ${fs_free_perc /media/a3ff4b9a-e4bb-4542-9080-2fd91e3fa65b}% free)$color ${color #78af78}${fs_bar /media/a3ff4b9a-e4bb-4542-9080-2fd91e3fa65b}$color ${color #98c2c7}/sdb3 : $color${color #CCCCCC}${fs_used /media/a18e1f05-8483-4625-aae9-bdc18f641ca1}/${fs_size /media/a18e1f05-8483-4625-aae9-bdc18f641ca1} (${fs_free /media/a18e1f05-8483-4625-aae9-bdc18f641ca1} ${fs_free_perc /media/a18e1f05-8483-4625-aae9-bdc18f641ca1}% free)$color ${color #78af78}${fs_bar /media/a18e1f05-8483-4625-aae9-bdc18f641ca1}$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} ${color #ffcb48}MUSIC ${hr 2}$color ${color #98c2c7}Playing :$color ${color #CCCCCC}${exec /usr/bin/rhythmbox-client --no-start --no-present --print-playing-format “%at”}$color
For laptop
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_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_xft no # Update interval in seconds update_interval 3.0 # Minimum size of text area # in order to fix a bug (sometimes, conky appears in the foreground) minimum_size 350 maximum_width 350 # Draw shades? draw_shades no # Text stuff draw_outline no # amplifies text if yes draw_borders no uppercase no # set to yes if you want all text to be in uppercase # border border_width 0 # Default colors and also border colors, grey90 == #e5e5e5 default_color grey own_window_transparent yes # Text alignment, other possible values are commented alignment bottom_right # Gap between borders of screen and text gap_x 20 gap_y 25 # 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 Mem% ${color #eeeeee}${top name 1} ${top pid 1} ${top cpu 1} ${top mem_res 1} ${top mem 1} ${color #dddddd}${top name 2} ${top pid 2} ${top cpu 2} ${top mem_res 2} ${top mem 2} ${color #cccccc}${top name 3} ${top pid 3} ${top cpu 3} ${top mem_res 3} ${top mem 3} ${color #bbbbbb}${top name 4} ${top pid 4} ${top cpu 4} ${top mem_res 4} ${top mem 4} ${color #aaaaaa}${top name 5} ${top pid 5} ${top cpu 5} ${top mem_res 5} ${top mem 5} ${color #ffcb48}MEMORY ${hr 2}$color ${color #98c2c7}Ram $color${color #CCCCCC}$mem / $memmax - $memperc%$color ${color #78af78}${membar 6}${color} ${color #98c2c7}Name Pid Cpu Mem Mem% ${color #eeeeee}${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem_res 1} ${top_mem mem 1} ${color #dddddd}${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem_res 2} ${top_mem mem 2} ${color #cccccc}${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem_res 3} ${top_mem mem 3} ${color #bbbbbb}${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem_res 4} ${top_mem mem 4} ${color #aaaaaa}${top_mem name 5} ${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem_res 5} ${top_mem mem 5} ${color #ffcb48}DISK ${hr 2}$color ${color #98c2c7}Io $color${color #CCCCCC}$diskio$color ${color #98c2c7}Swap $color${color #CCCCCC}${swap}/${swapmax} (${swapfree} ${swapperc}% free)$color ${color #78af78}${swapbar }$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 #ffcb48}BATTERY ${hr 2}$color ${color #98c2c7}Status $color${color #CCCCCC}$battery $battery_time$color ${color #98c2c7}Usage $color${color #CCCCCC}$battery_percent%$color ${color #78af78}${battery_bar}${color} ${color #ffcb48}NETWORK (${addr wlan0}) ${hr 2}$color ${color #98c2c7}Bitrate $color ${color #CCCCCC}${wireless_bitrate wlan0} ${color #98c2c7}Quality $color ${color #CCCCCC}${wireless_link_qual_perc wlan0}% ${color #78af78}${wireless_link_bar wlan0}${color} ${color #98c2c7}Download $color ${color #CCCCCC}${downspeed wlan0} k/s ${alignr}${color #98c2c7}Upload $color ${color #CCCCCC}${upspeed wlan0} k/s ${color #888888}${downspeedgraph wlan0 25,100 ff0000 0000ff} ${alignr}${color #888888}${upspeedgraph wlan0 25,100 0000ff ff0000} ${color #98c2c7}Total $color ${color #CCCCCC}${totaldown wlan0} ${alignr}${color #98c2c7}Total $color ${color #CCCCCC}${totalup wlan0} ${color #ffcb48}MUSIC ${hr 2}$color ${color #98c2c7}Playing $color ${color #CCCCCC}${exec /usr/bin/rhythmbox-client --no-start --no-present --print-playing-format “%at”}$color
Freeplayer
- Freeplayer multiposte
sudo apt-get install vlc
Port Triggering : 32768-32996 (both)
- Homeplayer
Port Forwarding : 8080 (TCP)
Streamripper
sudo apt-get install streamripper
gedit /home/anavarro/bin/streamripper-radio.sh
#!/bin/sh streamripper http://88.191.11.83:8192 -d /home/anavarro/music/radio/ -s & # Hit Music Station streamripper http://194.146.227.87:8192 -d /home/anavarro/music/radio/ -s & # Frequence 3
Samba
sudo apt-get install samba
sudo smbpasswd -a user_name
And share a directory.
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
And share a directory.
.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.6.0-sun export JAVA_OPTS="-Xmx512m" export MAVEN_HOME=/usr/local/maven2 export ECLIPSE_HOME=/usr/local/eclipse-3.4 export PATH=/bin:/usr/bin:~/bin:${CATALINA_HOME}/bin:${JAVA_HOME}/bin:${MAVEN_HOME}/bin # 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
Optimisation
SSD
gedit /etc/fstab
# /etc/fstab: static file system information. # # Use 'blkid -o value -s UUID' to print the universally unique identifier # for a device; this may be used with UUID= as a more robust way to name # devices that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc nodev,noexec,nosuid 0 0 /dev/sda1 / ext4 errors=remount-ro,noatime 0 1 # /home was on /dev/sda2 during installation UUID=7083a664-69db-4885-a1eb-2ae11353818a /home ext4 defaults,noatime 0 2 /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0 tmpfs /tmp tmpfs defaults 0 0 tmpfs /var/tmp tmpfs defaults 0 0 tmpfs /var/log tmpfs defaults 0 0
Add to /etc/sysctl.conf swappiness to 0
gedit /etc/sysctl.conf
vm.swappiness=0
See http://doc.ubuntu-fr.org/ssd_solid_state_drive
Others
See http://doc.ubuntu-fr.org/optimisation
Xmodmap
gedit ~/.Xmodmap
keycode 122 = semicolon NoSymbol semicolon NoSymbol semicolon keycode 123 = Delete NoSymbol Delete NoSymbol Delete keycode 171 = Next NoSymbol Next NoSymbol Next keycode 173 = Prior NoSymbol Prior NoSymbol Prior