Archive for the ‘Linux’ Category

[HOW-TO] Disable Nvidia Discrete Graphics on Asus N53SV with Ubuntu 11.04

This solution worked for me. 1. First install acpi-call-tools sudo apt-get install acpi-call-tools 2.  sudo modprobe -v acpi_call 3. sudo echo “\_SB.PCI0.PEG0.GFX0.DOFF” > /proc/acpi/call Note : I had to face permission denied when I did sudo as well. This quick fix solved that as well. sudo chmod 777 /proc/acpi/call

[Solved] Slow Wireless Connection [Wi-fi] on Ubuntu 11.10

I have installed Ubuntu 11.10 on my laptop very recently. I was facing very low Wireless speed. Even accessing the local resources via Wireless link was lousy. The solution that worked for me. sudo apt-get install wicd sudo apt-get purge network-manager And then configure your network with Wicd Network Manager.

[How-To] User defined 16:9 resolutions other than standard ones on Ubuntu 11.10

My laptop can support Full HD resolution, but that strains my eyes. Even 1600×900 resolution on 15.6 inches screen looks tiny. I had to come up with something that I can set my own defined resolution of 16:9 aspect ratio. The solution is actually very simple. 1. First make a rough calculation about the screen [...]

[Solved] The mysqli extension is missing. Please check your PHP configuration.

When I installed phpmyadmin after installing apache2, mysql-server, php5 on my Ubuntu 11.10 machine,  I was presented with this error when I navigated to phpmyadmin page. The mysqli extension is missing. Please check your PHP configuration. <a href=”Documentation.html#faqmysql” target=”documentation”><img src=”./themes/pmahomme/img/b_help.png” width=”11″ height=”11″ alt=”Documentation” title=”Documentation” /></a> The solution to this is simple, though I had to [...]

[Solved] Keyboard Shortcuts not working on Ubuntu 11.04

I was playing with CompizConfig Settings Manager, and all of a sudden, my keyboard shortcuts stopped working. I scratched my head for an hour and then I found this solution. Accidentally, I had uncheked “Gnome Compatibility” on CompizConfig Settings Manager. When checked, it keeps Compiz compatible with Gnome Desktop Environment. So keeping it checked solved [...]

How to setup your own linux home server on Ubuntu with custom domain

You have a domain and you want to run your webserver from your own computer? You can, let me describe how. Requirements : 1. ISP that provides Dynamic IP address upon connect. 2. A domain name(even a subdomain would do) and access to manage its nameservers. 3. Ubuntu with Webserver up and running.

[Solved] Error executing pear commands “PHP Deprecated: Comments starting with ‘#’ are deprecated in /etc/php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 0″

I have php5, php5-cli, and php-pear installed on my system. I was trying to install pear package phing from the pear installer. Whenever I tried to run pear commands like pear channel-discover I got an error message stating PHP Deprecated:  Comments starting with ‘#’ are deprecated in /etc/php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line [...]

[Solved] Error Installing Plugins to Eclipse on Ubuntu 10.04

An error occurred while installing the items   session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Install, operand=null –> [R]org.eclipse.cvs 1.0.400.v201002111343, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction).   The artifact file for osgi.bundle,org.eclipse.cvs,1.0.400.v201002111343 was not found. I got this error while trying to install PDT after I installed Eclipse platform from the repository in Ubuntu Lucid Lynx. The solution is to install eclipse-pde. In the terminal, type [...]

[Solved] Access denied while browsing through squid

Well, I have a netbook and a desktop. I have Ubuntu 9.04 installed in my desktop box, and Windows XP in the netbook. So I decided to share internet to my netbook through cross cable. But the default installation of squid won’t let me do it. With correct proxy settings in my netbook too, I [...]