Section en-linux

Launch Viber (minimized) on startup

Written by on 08/06/2016
Tags:  
Launch the application preferences manager at startup: gnome-session-properties Then add a Viber item with the following command: Name: Viber Command: /opt/viber/Viber StartMinimized Comment: Commentaire par défaut. To launch Skype with a specific user (to launch it minimized, options->Start Skype minimized in the system tray): Name: Skype Command: /bin/sh -c "echo 'tbourdin.partitech xxxxx' | skype --pipelogin" Comment: Skype.

Install Oracle's openconnect VPN on Ubuntu 16.04LTS

Written by on 03/06/2016
Category:   Linux, Ubuntu 16.04 LTS
Tags:  
Information retrieved at the address: http://tomtomtom.org/networkmanager-openconnect/It worked on the first try on my machine.We remove unusable packages:sudo apt-get purge network-manager-openconnect network-manager-openconnect-gnomeWe compile the dependencies:sudo apt-get build-dep network-manager-openconnectThe sources in apt must be active:sudo sed -i s/#deb-src/deb-src/g /etc/apt/sources.listWe install the new dependencies:sudo apt-get install libnm-devWe retrieve the source code:wget h...

Increase the Size of a VirtualBox Hard Drive

Written by on 17/10/2015
Tags:  
To change the size of a disk, you need to clone it to vdi, increase the size, and thenVBoxManage clonehd "source.vmdk" "cloned.vdi" --format vdiVBoxManage modifyhd "cloned.vdi" --resize 51200VBoxManage clonehd "cloned.vdi" "resized.vmdk" --format vmdkTo change the UUID of the disk, simply run this command:VBoxManage internalcommands sethduuid disk2.vdi

[Ubuntu] enable numlock on boot

Written by on 12/03/2015
Category:   Linux, Ubuntu 14.04 LTS, Shell
Tags:  
To enable the numeric keypad on startup, install numlockx and  create or edit the file sudo apt-get install numlockx puis créez ou éditez le fichier de conf suivant : #Pour 14.04 LTS sudo vi /usr/share/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf #Pour 16.04 LTS /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf and add the following information: #Pour 14.04 LTS [SeatDefaults] greeter-setup-script=/usr/bin/numlockx on #Pour 16.04 LTS [Seat:*] greeter-...

[ubuntu] Force sound output to a Bluetooth device

Written by on 09/01/2015
Category:   Linux, Ubuntu 14.04 LTS, Shell
Tags:  
On Ubuntu 14.04 LTS, a critical and unpatched bug has been reported. When a Bluetooth device is paired, it is impossible to force the system to play sound through it. The workaround is to force the output in shell: sudo pactl list cards short 0 alsa_card.pci-0000_00_1b.0 module-alsa-card.c 4 bluez_card.FC_58_FA_89_91_2C module-bluetooth-device.c sudo pactl set-card-profile 4 a2dp

[Ubuntu] Install Java 8 (JDK 8) on Ubuntu

Written by on 24/12/2014
Tags:  
Step 1: Install Java 8 (JDK 8) $ sudo add-apt-repository ppa:webupd8team/java $ sudo apt-get update $ sudo apt-get install oracle-java8-installer Step 2: Verify the Java version $ java -version java version "1.8.0_25" Java(TM) SE Runtime Environment (build 1.8.0_25-b17) Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode) Step 3: Generate the default variables $ sudo apt-get install oracle-java8-set-default

shell: mirror a directory with lftp

Written by on 28/11/2014
Category:   Linux, Shell
Migrating a large website (several gigabytes) can be a tedious task to do from your workstation (with filezilla, for example). If you have a machine at a hosting provider with shell access, the lftp solution can quickly prove to be the ultimate alternative.Retrieve the files:lftp -e 'mirror /repertoir/distant /repertoir/local' -u login,password -p 21 www.host.comSend the files:lftp -e 'mirror -R /repertoir/local /repertoir/distant' -u login,password -p 21 www.host.comSend the files with 10 si...

Ubuntu: Install suPhp

Written by on 29/10/2014
Tags:  
This installation has been tested on Ubuntu 14.04LTS but could also be used for a Debian production server.Installation of Basic Packagessudo apt-get install \ build-essential \ fakeroot dh-make \ debconf execstack \ dh-modaliases \ xserver-xorg-dev \ automake \ autoconf \ libaprutil1 \ libaprutil1-dev \ libsvn-dev \ wx2.8-headers \ libwxgtk2.8-dev \ libxml2-dev \ libpcre3-dev \ libbz2-dev \ libcurl4-openssl-dev \ libjpeg-dev \ libpng12-dev \ libxpm-dev \ libfreetype6-dev ...

Ubuntu: Install RabbitVcs

Written by on 29/10/2014
Category:   Linux, Ubuntu 14.04 LTS, Shell, SVN
In fact, RabbitVcs is very easy to install... Except when there's a problem, and then... one can search for a long time 😟Here's how to resolve most installation issues on Ubuntu 14.04LTS.1 – Add the sourcesudo add-apt-repository ppa:rabbitvcs/ppa or add the source to your /etc/apt/sources.list filedeb http://ppa.launchpad.net/rabbitvcs/ppa/ubuntu trusty main2 – Install the packages sudo apt-get update sudo apt-get install rabbitvcs-cli rabbitvcs-core rabbitvcs-gedit rabbitvcs-nautilus3 3 – M...

Install Skype on Ubuntu with an alert wrapper

Written by on 26/06/2014
Category:   Linux, Ubuntu 14.04 LTS
Tags:   ubuntu
To install Skype, it is preferable to use the Ubuntu repository, which will install everything needed to manage sound and video properly. If you take the package available on the official website, it is likely that the sound will not be managed properly.1 – Install Skype: sudo add-apt-repository -y ppa:andykimpe/skype && sudo apt-get update sudo apt-get install skype2 – Install the wrapper: sudo add-apt-repository ppa:skype-wrapper/ppa sudo apt-get update && sudo apt-get install skype-wrapper

Dropbox for Linux

Written by on 19/06/2014
Category:   Linux, Ubuntu 14.04 LTS
Tags:   ubuntu, linux
Download the following package: https://linux.dropbox.com/packages/debian/dropbox_1.6.0_amd64.debThen install it by double-clicking or with DPKG (dpkg -i )Next, edit the file /etc/sysctl.conf sudo vi /etc/sysctl.confand add the following directive: fs.inotify.max_user_watches=100000

HP Drivers for Linux

Written by on 19/06/2014
Category:   Linux, Ubuntu 14.04 LTS
Tags:   ubuntu, linux
Generic HP printer drivers can be downloaded here:http://netcologne.dl.sourceforge.net/project/hplip/hplip/3.14.6/hplip-3.14.6.runThen simply launch the installation and everything is done automatically πŸ˜‰