Search blog

Tuesday, April 28, 2015

Install Firewall in Ubuntu 15.04



Ubuntu 15.04 has already UFW firewall installed but it's command line. Install Graphical interface for UFW to configure firewall easily.
 sudo apt-get install gufw   

Wednesday, April 22, 2015

[[Solved]] Acer V3-571G Brightness Problem in Ubuntu 14.04

If you are facing problem with your screen's brightness with your Acer V3-571G laptop; you can try the working solution below:

This is the solution amongst the various solutions available in the internet that worked for me.

1. First open Terminal with CTRL + ALT + T

2. Run the following command in the terminal:
 sudo gedit /etc/default/grub  

then change
 GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"  
 GRUB_CMDLINE_LINUX=""  

to
 GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor"  
 GRUB_CMDLINE_LINUX="acpi_osi=Linux"  

then SAVE & RUN
 sudo update-grub   

Finally RESTART your laptop for the changes to take effect.

[[Solved]] How to Install Android Games with Obb Files

Was trying to install Fifa 2014 on my Lenov Yoga 8 Tab and came across this solution. I tried Fifa 2015 but with the it's compulsory option of allowing a user to play the game online only, I didn't quite like it, so reverting back to Fifa 2014.


Saturday, April 18, 2015

[[SOLVED]] Configuring RALINK MOTOROLA Bluetooth Adapter in Ubuntu 14.04

After a lot of searching and trials and errors I have found the following configurations that have worked for me:

Problem #1: Bluetooth device not discoverable

Solution #1:  
With Ralink FAE, we found that the radio is OFF and the following command has to be executed to turn ON the device again:

sudo bccmd psset -s 0x0000 0x028c 0x0001

+ reboot

and after that bluetooth work fine (enable and disable in same time with wifi)


Tested on HP DV7-6090EF (Ralink RT5390 Combo Wifi/bluetooth) Driver (http://www.ralinktech.com/support.php?s=2 ) V2.4.0.4  Ubuntu Natty 11.04 64 bits

Source: http://ubuntuforums.org/showthread.php?t=1776108
 Problem #2: Audio Sink Problem to Nokia BH-503 Bluetooth Headset

Solutions #2:
I had this problem recently as I bought a bluetooth speaker and attempted to connect to it with my laptop. It kept giving me "Connection Failed: Stream setup failed". I eventually figured out how to make it work like this.

You need to have pulseaudio installed, which you can check for in Synaptic Package Manager by typing pulseaudio into the search bar. You can install it from there if it isn't already installed.

Next, you need to install pavucontrol, either in Synaptic Package Manager, or by running this in the terminal.
Code:

 sudo apt-get install pavucontrol  
This is the unfortunate part. Every time you boot, you need to run this command in the terminal before any bluetooth devices attempt to connect.
Code:

 pactl load-module module-bluetooth-discover  
You can now go into the bluetooth manager and tell it to connect to the device as an A2DP audio sink.

Now, finally, if you go into the PulseAudio Volume Control, on the Playback tab, you can choose the option to send audio through the bluetooth device.
Source: http://ubuntuforums.org/showthread.php?t=2246613

Wednesday, April 8, 2015

Alternative to Adobe Reader in Ubuntu 14.04 for Anottation, Text Hightlighting etc...

I found this wonderful alternative to Adobe Reader for Ubuntu/Linux and it's called Okular which is a free software PDF reader.

What is it?

Here what there website says:
Okular is a universal document viewer based on KPDF for KDE 4. This means Okular works on multiple platforms, including but not limited to Linux, Windows, Mac OS X, *BSD, etc.

Okular combines the excellent functionalities of KPDF with the versatility of supporting different kind of documents, like PDF, Postscript, DjVu, CHM, XPS, ePub and others.

The document format handlers page has a chart describing in more detail the supported formats and the features supported in each of them.
 Okular gives you various options such as annotation, text highlighting, text extraction etc.

To install Okular in your Ubuntu:

 sudo apt-get update  
 sudo apt-get install okular  

Friday, April 3, 2015

How do I enable directory listings for a folder on my Web site?

If a directory doesn't contain an index file (a file named "index.html", "index.htm", "index.php", etc.), Web servers will normally show an error message if someone uses a Web browser to visit the URL address of that directory.

This provides security for your files: it prevents strangers from viewing the names of all files in a directory and snooping through them, possibly finding files that are intended to be private.

However, if you actually want your site visitors to be able to see all the files in a directory, you can do that by placing a file named .htaccess in the directory. The file should contain this line of text:

 Options +Indexes  
(This command is explained in the Apache Web server documentation.)

After you do that (and also remove any index file such as "index.html" from the directory), anyone visiting the address of the directory will be able to view a list of all files in it and click on the individual files to open them.

Advanced directory listing customization

You can customize the directory listings by setting certain options for the mod_autoindex module.

The following lines display a file's full name, no matter how long it is:

 Options +Indexes  
 IndexOptions FancyIndexing FoldersFirst NameWidth=* DescriptionWidth=*  

Or you can set a character length limit, like this:

 Options +Indexes  
 IndexOptions FancyIndexing FoldersFirst NameWidth=30 DescriptionWidth=30  

You can suppress the display of file icons by adding the SuppressIcon option:

 Options +Indexes  
 IndexOptions FancyIndexing FoldersFirst SuppressIcon  

See the Apache Web server mod_autoindex documentation for full details about IndexOptions.

Source: https://support.tigertech.net/directory-index

Top 5 Posts (Weekly)