[SOLVED] Falling back to the standard locale (“C”).

In Ubuntu 8.04 Server, I was getting these messages every now and then:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.utf8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

Continue reading [SOLVED] Falling back to the standard locale (“C”).

[HOWTO] Configure remote connection to MySQL database server

I recently got a Ubuntu 8.04 Dedicated Server and wanted to move the database of one of my websites from my web host to the Dedicated Server while keeping the website in the web host. To do so, you must make sure you can connect to remote databases from your web host to the Dedicated Server (or VPS).

Continue reading [HOWTO] Configure remote connection to MySQL database server

[SOLVED] Volume always muted on startup

I’m using Ubuntu 10.10 Maverick Meerkat and I had been having a problem related to sound. Every time I started the computer, the volume was muted and I had to un-mute it as well as increase the volume. When I searched for a solution, it was brought to my attention that Ubuntu 9.10 Karmic Koala and 10.04 Lucid Lynx also had this problem. I solved it by simply removing the buggy package alsa-utils which was responsible for this. Removing also-utils also removes ubuntu-desktop meta-package, but it does not matter since it is just a meta-package. To those who do not want to remove alsa-utils or ubuntu-desktop, some people in the Bug report have said that removing the line Continue reading [SOLVED] Volume always muted on startup

[HOWTO] Install VLC Media Player 1.1 in Ubuntu Lucid Lynx and Maverick Meerkat

One of the most popular media players, VLC Media Player has version 1.1 RC out. The final version should be released shortly. You can install the Release Candidate by installing the following PPA: Continue reading [HOWTO] Install VLC Media Player 1.1 in Ubuntu Lucid Lynx and Maverick Meerkat

[SOLVED] Can’t open /dev/dsp in Ubuntu 10.10 Maverick Meerkat and Lucid Lynx 10.04

I recently installed a program called SBaGen which uses device /dev/dsp to output audio. However, the OSS (Open Sound System) device is not available anymore in Lucid and Maverick (maybe it doesn’t work with older versions, but I’m not sure), not even with OSS emulation with alsa. The snd-pcm-oss module does not load even when oss-compat and alsa-oss have been installed. It is seen to be blacklisted in /etc/modprobe.d/alsa-base.conf.

Continue reading [SOLVED] Can’t open /dev/dsp in Ubuntu 10.10 Maverick Meerkat and Lucid Lynx 10.04

[HOWTO] Get Edit Path Pencil Icon in Nautilus by Switching to Nautilus Elementary

Nautilus has breadcrumbs navigation. When you have a location you want to navigate to in a clipboard (copied from terminal or say a file), and if you wish to navigate to that location, you need to open up the run dialog (Alt+F2) and paste the location there or press Ctrl+L in any nautilus window and paste the location there. Both of these require keyboard. When there was Edit (Pencil) icon in Nautilus in some earlier versions, you could just press it and paste the location right there. But since it is removed now, it is not possible.

Continue reading [HOWTO] Get Edit Path Pencil Icon in Nautilus by Switching to Nautilus Elementary

[SOLVED] Media Playing issues in Ubuntu 10.10 Maverick Meerkat

I am using Ubuntu 10.10 Maverick Meerkat 64bit Alpha 1 and I have been facing problem playing AVI and FLV files. I used to get the the following error “No suitable decoder module: VLC does not support the audio or video format “XVID”. VLC Unfortunately there is no way for you to fix this.”
in VLC when I tried to play some AVI files. Also, in terminal, it said:
“main decoder error: no suitable decoder module for fourcc `XVID’.
VLC probably does not support this sound or video format.”
Also, FLV files failed to play without any error. Totem said:
“No packages with requested plugins found. The requested plugins are: XVID MPEG-4 decoder/H.264 decoder”.

Continue reading [SOLVED] Media Playing issues in Ubuntu 10.10 Maverick Meerkat

[HOWTO] Ease your eyes while using Linux with some RedShift

I usually sit in front of my PC for long hours. It is always better to have least effect on my eyes and I used to reduce the brightness and adjust colors for that. Now, I have discovered a software to do just that. It claims to adjust the screen color temperature according to the surroundings. It is called Redshift and can be installed from the PPA ppa:jonls/redshift-ppa. To install it on Karmic and Lucid, open up Synaptic and navigate to Settings>Repositories>Other Software>Add and paste in “ppa:jonls/redshift-ppa” (without quotes) and then close it, Reload the package lists by clicking Reload in the Toolbar and then search for redshift and install it. It is not available for Maverick Meerkat now, but you can install it by following my earlier post. After installation, you can run it by invoking the following command from the terminal: Continue reading [HOWTO] Ease your eyes while using Linux with some RedShift