Milinda Pathirage’s Blog

Computers are fascinating machines, but they’re mostly a reflection of the people using them

Entries Tagged as 'linux tips'

How To Fix Songbird 1.1.2 Crash At Start On Ubuntu 8.10

June 3rd, 2009 · 3 Comments · linux, linux tips, ubuntu

When you try to start Songbird(in my case version 1.1.2) on Ubuntu 8.10 and if you have libvsual-0.4-plugins installed in you system it will pop-up you a crash reporting component saying that Songbird start-up failed. And if you start Songbird from the terminal you will see following lines has printed on the console.
*** glibc detected [...]

[Read more →]

Tags:

How To Improve Ubuntu Desktop Performance

April 29th, 2009 · No Comments · linux, linux tips, ubuntu

I think most of us who use Firefox on Linux (in this case Ubuntu) had bad performance experiences when we run it with other applications. Ubuntu 8.10 desktop freeze randomly when running Firefox. Some times, I can’t even switch to another application if Firefox freezes and only thing that respond is mouse pointer. Today I [...]

[Read more →]

Tags:

Quickly Share Your Files Over The Network in Linux

March 27th, 2009 · 1 Comment · linux, linux tips

The Python Way

Open the Terminal
Go to directory you that you want share
Then run the command ‘python -m SimpleHTTPServer’
Now you can access your directory from any remote computer using any web browser by navigating to http://<your ID>:8000/

The thttpd [...]

[Read more →]

Tags:

Updating Ubuntu Time Zone Configuration Using Terminal

March 22nd, 2009 · No Comments · linux tips, ubuntu

Using the command line, you can use "sudo dpkg-reconfigure tzdata" to re-configure the time zone settings.

Open a terminal window by going to Applications>Accessories>Terminal
Type command "sudo dpkg-reconfigure tzdata"
Follow the directions in the terminal.

You can more information from "Ubuntu Time" documentation.
Sphere: Related Content

[Read more →]

Tags:

Deadly Linux Commands

November 21st, 2008 · No Comments · linux tips, news

If you are new to Linux, chances are you will meet a stupid person perhaps in a forum or chat room that can trick you into using commands that will harm your files or even your entire operating system.

Read more….
Sphere: Related Content

[Read more →]

Tags:

Linux Directory to an ISO

November 14th, 2008 · No Comments · linux, linux tips

If you want to backup any of your directories in Linux file system, you can use following command. Replace LABEL and directory to suit your needs.
mkisofs -V LABEL -r directory | gzip > cdrom.iso.gz

In Ubuntu 8.04 mkisofs command is just a symbolic link to genisoimage, the fork of mkisofs. It provides a mkisofs symlink to [...]

[Read more →]

Tags:

PulseAudio Flooding LAN with Multicast Packets

November 14th, 2008 · No Comments · linux, linux tips

If you enable Multicast/RTP Sender and set the option ’send audio from local speakers’ in above PulseAudio configuration window, it will flood the network with multicast packets when you play music in your computer. This problem has mentioned in this thread in ubuntuforums.org. Yesterday this has happened to me and it took 3 hours to [...]

[Read more →]

Tags:

inotify - Linux File System Activity Monitoring

November 10th, 2008 · No Comments · c programming, linux, linux tips, php, programming, python, ruby

inotify is a Linux kernel subsystem which monitors Linux file system operations, such as read, write, create and delete. It was included in the mainline kernel from release 2.6.13 (June 18, 2005). It is more efficient than busy polling from a corn job and it’s an extensions to Linux file system to capture the file [...]

[Read more →]

Tags:

How to Fix NTFS Mount Error on Ubuntu

November 4th, 2008 · 7 Comments · linux tips, ubuntu

Sometimes when you plug your external hard drives formatted using NTFS into Ubuntu, system gives following error:

Most of the times cause for this error is, unplugging the drive directly from Windows without going through ‘Safely Remove Hardware’ option. When you directly remove the hard drive from the Windows, it will not mark NTFS log as [...]

[Read more →]

Tags:

apt and dpkg beyond the basic use of installing programs

October 7th, 2008 · No Comments · linux, linux tips

When I start to reading Ubuntu packaging guide, I found this interesting things which can do using apt and dpkg.
apt-cache dump: lists every package in the cache. This command is especially helpful in combination with a grep pipe such as apt-cache dump | grep foo to search for packages whose names or dependencies include foo.
apt-cache [...]

[Read more →]

Tags: