Simple ringtone ad

Please enable / Bitte aktiviere JavaScript!
Veuillez activer / Por favor activa el Javascript![ ? ]

Monday, April 20, 2015

Fix bumblebee Error: Cannot access secondary GPU

To fix the problem you have to reinstall bumblebee. Also you have to remove ppa:xorg-edgers/ppa first.

Step 1: remove bumblebee if you have installed.
sudo apt-get --purge bumblebee
sudo apt-get autoremove

Step 2: remove ppa:xorg-edgers/ppa
sudo apt-get install ppa-purge
sudo ppa-purge ppa:xorg-edgers/ppa

Step 3: upgrade system. It's necessary.
sudo apt-get upgrade

Step 4: add bumblebee repository. If you are running Ubuntu 14.04 or 13.10 then avoid this step
sudo apt-add-repository ppa:bumblebee/stable

Step 5: install bumblebee and nvidia-331 (stable)
sudo apt-get install bumblebee nvidia-331

Step 6: reboot the system immediately
sudo reboot

Now check bumblebee using following command:
optirun firefox

If you want add latest nvidia driver then follow these steps.

Step1: add repository
sudo apt-add-repository  ppa:xorg-edgers/ppa
sudo apt-get update 

Step2: upgrade system. It's necessary
sudo apt-get upgrade

Step3: install latest nvidia driver
sudo apt-get install nvidia-349

Thursday, April 16, 2015

How to fix intel video tearing in ubuntu

In Ubuntu 14.04 with Haswell-ULT Integrated Graphics Controller I found video tearing issue. But good news is it can be solved quickly without installing a new driver or something.

Step 1: create a directory

sudo mkdir -p /etc/X11/xorg.conf.d

Step 2: create a file named 20-intel.conf

sudo gedit /etc/X11/xorg.conf.d/20-intel.conf

Step 3: paste the following text into this file and save

Section "Device"
    Identifier "Intel Graphics"
    Driver "Intel"
    Option "TearFree" "true"
    Option "AccelMethod" "sna"

Step 4: restart system

sudo reboot

Friday, March 13, 2015

Platform independent file sharing

Using Share All an Android application, one can share files/folders between Android and any other devices. It is not necessary that Share All is installed in other devices. Installing Share All in one Android device, any other device can share with that Android device. Video/Music streaming from android is  also possible using this application. Download from here.

* Stream video and music
* Share folder recursively.
* All kind of device with web browser can share file with android.
* Support from VLC or similar player to play stream.
* Support seek and pause for streaming and download respectively.
* Support concurrent stream and download.
* Securely share content, only selected users will see the shared contents.
* Can share content directly from any file browser.

How to send file from Android:
Step 1:
* Press START SHARING BUTTON and select the files/folders you wan to share with.
* After selecting the files/folders press share action button.

Step 2:
* Visit the web link in receiver device(pc, iPhone, android, mac) using a web browser (i.e chrome, firefox, safari)
* You can use QR reader to quickly scan the web link.
* Receiver name will be asked in web browser. After entering the name, receiver's device will be appear in share all application screen.
* click on receiver device name (in share all) to share selected files.
* Shared files/folders list will appear in receiver's device within 10 seconds.

How to receive:
Step 1:
* Check allow receiving option in share all application.

Step 2:
* Visit the web link in receiver device(pc, iPhone, android, mac) using a web browser (i.e chrome, firefox, safari)
* Go to send file tab and upload files
* Share all application will notify when files received.

Thursday, February 12, 2015

Problem with ap-hotspot in ubuntu 14.04

In Ubuntu 14.04 is not working anymore after update ap-hotspot package. It's showing ap-hotspot starting wireless hotspot and stuck there.

Problem is not in ap-hotspot package but hostapd. Upgraded hostapd package has some bugs and that's why ap-hotspot is not working with latest hostapd


#Remove ap-hotspot
sudo apt-get remove --purge apt-hotspot

#download last working version

#install hostapd
sudo dpkg -i hostapd_1.0-3ubuntu2.1_amd64.deb

#prevent hostapd to update
sudo apt-mark hold hostapd 

#install ap-hotspot
sudo apt-get install ap-hotspot

#configure hotspot 
sudo ap-hotspot configure

#start hotspot 
sudo ap-hotspot start