Discuss your project

Category

Linux

33 articles Page 3

[ubuntu] Force sound output to a Bluetooth device

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

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

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

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

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

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

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

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 😉