====== xubuntu 14.04 LTS : trusty ====== ===== Installation===== * sauvegarde mots de passes mail, contacts thunderbird, mails, .., ftp, Notes (!!), sketchbook (processing + arduino), mails perso, fichiers config, fonts, favoris de mozilla, ... * installation * connaitre sa version : **cat /etc/lsb-release; uname -a** ou **lsb_release -d** * ===== Partitions, démarrage ===== * partitions : **df -h** pour visualiser les partitions * **sudo nano /etc/fstab** * **/dev/sda8 /media/data ntfs-3g auto,rw,suid,dev,exec,async 0 0** * **sudo mount -a** * démarrage session > décocher bluetooth * **REPAIR BOOT** (si trouve pas le grub) * sudo add-apt-repository ppa:yannubuntu/boot-repair * sudo apt-get update * sudo apt-get install -y boot-repair * boot-repair * Démarrage sur UEFI dans le Bios (?) * Si error "The disk contains an unclean file system (0, 0)." Windows 8 a ouvert une partition. **sudo ntfsfix /dev/sdXY** **Liens** http://itsfoss.com/solve-ntfs-mount-problem-ubuntu-windows-8-dual-boot/\\ http://askubuntu.com/questions/499102/ubuntu-will-not-boot-from-hard-drive-after-installation\\ http://members.iinet.net.au/~herman546/p20/GRUB2%20Bash%20Commands.html#install_update_and_repair\\ http://www.howtogeek.com/114884/how-to-repair-grub2-when-ubuntu-wont-boot/ ===== Logiciels ===== ==== pd-extended ==== * sudo add-apt-repository "deb http://apt.puredata.info/releases `lsb_release -c | awk '{print $2}'` main" * sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 9f0fe587374bbe81 * sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key D63D3D09C39F5EEB * sudo apt-get update * sudo apt-get install pd-extended ==== télécharger ==== arduino, processing, fritzing ==== liste logiciel ==== sudo apt-get install synaptic xul-ext-lightning unetbootin filezilla grsync libreoffice camorama arduino screen vlc blender subversion git-core git openssh-server openssh-client qjackctl inkscape apache2 mysql-client mysql-server audacity libmp3lame0 sox geany sysinfo xournal audex bluefish libreoffice-l10n-fr libreoffice-help-fr linux-headers-generic build-essential vlc-plugin-jack midisport-firmware kdenlive **Autres** : iw aptitude flashplayer-installer thunderbird-locale-fr codeblocks gparted freemind scribus texlive-latex-base txt2tags freecad vmpk ardour umbrello planner fritzing hydrogen transmageddon geogebra vinagre ==== LAMP pour pluxml ==== http://www.howtoforge.com/ubuntu_lamp_for_newbies\\ http://linuxandfriends.com/how-to-enable-mod_rewrite-in-ubuntu-linux/\\ * **sudo apt-get install php5 libapache2-mod-php5** * **sudo aptitude install php5-gd** * **sudo /etc/init.d/apache2 restart** * **sudo a2enmod rewrite** * http://libgd.bitbucket.org/ ==== OPENSCAD ==== * sudo add-apt-repository ppa:openscad/releases * sudo apt-get install openscad ==== OPENFRAMEWORKS ==== http://www.openframeworks.cc/download/\\ * cd your_oF_directory/scripts/linux/ubuntu * sudo ./install_codeblocks.sh * sudo ./install_dependencies.sh * if you want to have support for mp3 and some video codecs: sudo ./install_codecs.sh **ofBook** http://forum.openframeworks.cc/t/how-to-install-ofbook/17002 * git clone https://github.com/openframeworks/ofBook * sudo apt-get install pandoc * sudo apt-get install python-pip * sudo pip install beautifulsoup4 * pip install soup * pip install libsass * sudo apt-get install python-2.4-dev * sudo apt-get install texlive-fonts-recommended ==== NODE ==== * sudo apt-add-repository ppa:chris-lea/node.js * sudo apt-get update * sudo apt-get install nodejs npm ==== METEOR ==== * sudo apt-get install curl * curl https://install.meteor.com | /bin/sh * meteor create myapp * cd myapp * meteor : # Meteor server running on: http://localhost:3000/ * apt-get install nginx * apt-get install mongodb-server ==== KICAD ==== * sudo add-apt-repository ppa:js-reynaud/ppa-kicad * sudo apt-get update * sudo apt-get install kicad ==== SKYPE ==== * sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner" && sudo apt-get update * sudo apt-get install skype ==== EAGLE ==== http://www.cadsoftusa.com/download-eagle/ * sudo apt-get install libxrender1:i386 libxrandr2:i386 libxcursor1:i386 libfreetype6:i386 libfontconfig1:i386 libxi6:i386 libpng12-0:i386 libstdc++6:i386 libjpeg62:i386 libssl1.0.0:i386 * sudo bash ./eagle-lin-7.2.0.run ==== ANDROID STUDIO ou SDK ==== * télécharger sdk * sudo apt-get install openjdk-7-jdk ===== Configurations ===== * Dans Mozilla : vidéo downloader, wordreference, gosthery, screenshot, adBlock, FireBug+ vie privée historique + moteurs de recherches IxQuick * Dans Thunderbird : * préférences > Rédaction > dictionnaire > français. * préférences > avancés > paramètre de configuration > cherche mail.server.default.dup_action, mettre 1 pour éviter les doublons ([[http://www.libre-astux.info/908/thunderbird-eliminer-les-doublons.html|lien]]) * Filezilla : ftp ==== .HTACCESS / APACHE ==== * sudo a2enmod rewrite * sudo nano /etc/apache2/sites-available/000-default.conf * Search for “DocumentRoot /var/www/html” and add the following lines directly below: * AllowOverride All * sudo service apache2 restart ==== Audio ==== * sudo nano /etc/group : audio:jr * sudo nano /etc/security/limits.conf * # Support Temps réel pour le groupe audio * @audio - rtprio 90 * @audio - memlock unlimited ==== Git ==== * git config --global user.name * git config --global user.email * ssh-keygen * cat ~/.ssh/id_rsa.pub * Coller dans "Manage SSH keys" de gitorious.org ==== SCRIPT THUNAR ==== Thunar > Editer > Action personnalisée > Ajouter > Resize > bash ~/Softs/resize/resize.bash %N 1200x1200 sur les dossiers #! /bin/bash # argument folder folder="$1" folder_dest="$folder-web" size="$2x$2" # Test argument $1 if [ -d $1 ] then echo "Folder $1 ok" else echo "Usage example : ./resize folder size" echo "Folder $1 doesn't exist" exit 0 fi if [ -d $folder_dest ] then rm -rf $folder_dest mkdir $folder_dest else mkdir $folder_dest fi for file in $folder/* do file_export=$(basename $file) convert $file -quality 95 -resize $size\> +profile "*" $folder_dest/$file_export done exit 0