Milinda Pathirage’s Blog

Let the code talk for yourself!

Entries Tagged as 'linux'

GCC Compiler Extensions Used in Linux Kernel

November 21st, 2008 · No Comments · c programming, linux

GCC and Linux are a great pair. Although they are independent pieces of software, Linux is totally dependent on GCC to enable it on new architectures. Linux further exploits features in GCC, called extensions, for greater functionality and optimization.

Read this article from IBM Developer Works to find out 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:

Getting Started with libusb on Ubuntu

November 12th, 2008 · No Comments · Uncategorized, linux

What is libusb?
libusb is a library which user level applications can used to access USB devices without worrying about the underlying operating system. Or we can see it as a high-level API which wraps low-level kernel interactions with USB modules and provide developer with the facility to implement device driver for a USB device from [...]

[Read more →]

Tags:

Linux boots in 2.97 seconds

November 12th, 2008 · No Comments · linux, news

Japanese embedded Linux house Lineo has announced a quick-start technology that it claims can boot Linux in 2.97 seconds on a low-powered system. The technology appears similar to but much faster than Linux’s existing “suspend-to-disk” capability.

Read more from linuxdevices.com…
Sphere: Related Content

[Read more →]

Tags:

Linux vs. Mac vs. PC

November 11th, 2008 · No Comments · linux, personal


[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:

Posting from Gnome Blog Tool

November 10th, 2008 · No Comments · linux

This is my first post from a desktop blog client. I have never used a desktop client for posting before. I used Gnome Blog tool to write this post.

In debian based Linux distributions you can use

sudo apt-get install gnome-blog

command to install this tool.
Sphere: Related Content

[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:

Terminator - Cross Platform GPL Terminal Emulator with Multiple Window Support

August 25th, 2008 · No Comments · linux, news

Terminator is a cross-platform terminal emulator which has support for multiple terminal windows. Users can split the terminator window vertically and horizontally to arrange terminal windows in their preferred manner. According to the creators, it is inspired by programs such as gnome-multi-term, quadkonsole, etc. in that the main focus is arranging terminals in grid.

Some of [...]

[Read more →]

Tags: