====== Ubuntu ====== Ceci concerne la version 12.04 LTS desktop de Ubuntu. boutons a droite! gconf-editor apps->metacity->general avant button_layout = close,minimize,maximize: apres button_layout = menu:minimize,maximize,close Pour passer root: sudo -i Pour installer nis: [[http://doc.ubuntu-fr.org/nis]] sudo apt-get install portmap nis votredomain.com vi /etc/hosts.allow portmap : IPDuServeurNis vi /etc/yp.conf ypserver ipDuServeurNis Editez "/etc/passwd" afin d'ajouter ceci à la fin: +:::::: Editez "/etc/group" afin d'ajouter ceci à la fin: +::: Editez "/etc/shadow" afin d'ajouter ceci à la fin: +:::::::: sudo apt-get install autofs5 mv /home /homesweethome change home to homesweethome in ~/.* change home to homesweethome in /etc/passwd sudo vi /etc/nsswitch.conf -> add nis add: automount nis lightdm nis user vi /etc/lightdm/lightdm.conf greeter-show-manual-login=true echo Then restart lightdm : sudo service lightdm restart sudo apt-get install csh sudo apt-get install tcsh sudo apt-get install ksh cd /bin ln -s /usr/X11/bin/cut sudo apt-get install fglrx gksudo amdcccle sudo apt-get install subversion dpkg -l dpkg -l | grep -i ssl dpkg -L libssl1.0.0 http://packages.ubuntu.com/precise/allpackages?format=txt.gz cd /usr/lib sudo ln -s x86_64-linux-gnu/libssl.so.0.9.8 libssl.so.6 sudo ln -s x86_64-linux-gnu/libcrypto.so.0.9.8 libcrypto.so.6 apt-cache search libexpat sudo apt-get install libexpat1 cd /lib echo crade sudo ln -s libexpat.so.0 x86_64-linux-gnu/libexpat.so.1 http://packages.debian.org/squeeze/amd64/libstdc++5/download http://packages.ubuntu.com/hardy/amd64/libbeecrypt6/download http://packages.ubuntu.com/hardy/amd64/librpm4.4/download mouse follow sudo apt-get install gconf-editor application : configuration editor apps->meta city->general->focus mode : sloppy [[http://askubuntu.com/questions/64605/how-do-i-set-focus-follows-mouse]] [[http://www.webupd8.org/2011/04/how-to-re-enable-notification-area.html|tray icon]] gsettings set com.canonical.Unity.Panel systray-whitelist "['all']" sendmail sudo apt-get install sendmail sudo sendmailconfig Restart compiz sudo apt-get install gnome [[https://help.ubuntu.com/community/CompositeManager]] compiz --replace ccp & emerald --replace & echo install compiz sudo apt-get install compiz compizconfig-settings-manager compiz-fusion-plugins-extra compiz-fusion-plugins-main compiz-plugins echo manage effects echo horiz 4 / vert 1 ccsm gnome! gnome-panel & update ubuntu sudo apt-get update sudo apt-get dist-upgrade https://help.ubuntu.com/community/Mount/USB sudo apt-get install ntfs-config echo Mount the ntfs usb disk sudo fdisk -l sudo mount -t ntfs-3g /dev/sdd1 /media/SanMountPoint ssh server sudo apt-get install openssh-server sudo gedit /etc/ssh/sshd_config install virtualbox sudo apt-get install virtualbox Install deb packages with dependencies sudo dpkg -i *.deb For android dev on 64 bits os sudo apt-get install ia32-libs libreoffice sudo apt-get install libreoffice /usr/bin/soffice /usr/bin/soffice --writer /usr/bin/soffice --calc libreoffice /usr/bin/soffice --headless --nologo --nofirststartwizard --invisible mame http://qmc2.arcadehits.net/wordpress/download/ Packages for Ubuntu 10.10, 11.04, 11.10, 12.04 and 12.10 are available here: Emulator Related PPA — thanks to Marcelo Bossoni Accessing the repository Use this command to automatically add the repository and import its key: $ sudo add-apt-repository ppa:mmbossoni-gmail/emu Installing QMC2 $ sudo apt-get update $ sudo apt-get install qmc2-sdlmame qmc2-sdlmess Updating QMC2 $ sudo apt-get update $ sudo apt-get upgrade Important notes: Users of older versions of this package (prior to 0.35) must first remove the old package, which was called just qmc2 and contained both variants. To do this, run sudo apt-get remove qmc2 before installing the new package(s). These packages now also require (SDL)MAME/(SDL)MESS from Wallyweek’s repository! See here for details on how to add his repo: http://sdlmame.wallyweek.org/repository/ There’s also a nice video series about MAME and QMC2 on Ubuntu: Part 1: http://www.youtube.com/watch?v=jpnK6F_8Im8 Part 2: http://www.youtube.com/watch?v=LWHHBLr19g0 And here’s a QMC2 / MAME installation video (using Marcelo’s repository): http://www.youtube.com/watch?v=etvYPyWTt8M ====== mount cifs ====== https://websiteforstudents.com/mount-windows-shares-everyone-ubuntu-17-04-17-10/ https://forum.openmediavault.org/index.php/Thread/23489-Ubunutu-18-04-How-to-automount-a-CIFS/