user-avatar
Today is Sunday
May 5, 2024

Category: ubuntu

January 3, 2010

real player sound problem solved

by viggy — Categories: linux, tech, ubuntu — Tags: , , , , Leave a comment

Thanks to this post, I was able to solve the real player sound problem in my machine.

1. Enable Alsa soft-mixing as described in post http://ubuntuforums.org/showthread.p…multiple+sound
(also setup esd and multimedia system settings as described in that post)

2. Install realplayer as described in http://ubuntuguide.org/#realplayer

3. Install alsa-oss

4. Open the launcher script realplay located in Realplayer’s install directory (/opt/RealPlayer if you followed previous instructions)

5. Find lines
Code:

if [ -n “$LD_PRELOAD” ]; then
echo “Warning: LD_PRELOAD=”$LD_PRELOAD””
fi

6. …and after add this code:
Code:

LD_PRELOAD=”$LDPRELOAD:/usr/lib/libaoss.so”
export LD_PRELOAD

7. Now you get RealPlayer working with Alsa mixing (and so combinations of Realplay, Xine, Mplayer, Frozen Bubble,…sounds work at the same time )
mriya3 is offline Reply With Quote

November 13, 2009

How To Check Which Software Package Is Using More Space

by viggy — Categories: linux, tech, ubuntu — Tags: , , , , Leave a comment

Courtsey: http://www.unnionline.com/blog/?cat=9

If you’re running out of disk space and you want to quickly see what packages are using the most space on your hard drive, use the following command

dpkg-query –show –showformat=’${Package;-50}t${Installed-Size}n’ | sort -k 2 -n | grep -v deinstall | awk ‘{printf “%.3f MB t %sn”, $2/(1024), $1}’

That will sort the packages by size, putting the largest ones on the bottom. If you only want to see the top few, you can type

tail -n 10

at the end, because in all likeliness you have a *lot* of packages installed

November 11, 2009

What does ‘+’ in BLOCKS column in partition table output of fdisk command mean?

by viggy — Categories: linux, tech, ubuntu — Tags: , , , Leave a comment

On the printout of a partition table, in the BLOCKS column, several
partition block count have a ‘+’ at the end – some do not. What does
this mean?

It means that the partition does not end on the 1k block boundary.
In other words the partition has an odd number of 512 bytes sectors
allocated. Use “x” command and then “p” to see.

October 26, 2009

Significance of Lost+found directory in Linux filesystem

by viggy — Categories: linux, tech, ubuntu — Tags: , , , Leave a comment

Courtsey: http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/lostfound.html
As was explained earlier during the overview of the FSSTND, Linux should always go through a proper shutdown. Sometimes your system might crash or a power failure might take the machine down. Either way, at the next boot, a lengthy filesystem check (the speed of this check is dependent on the type of filesystem that you actually use. ie. ext3 is faster than ext2 because it is a journalled filesystem) using fsck will be done. Fsck will go through the system and try to recover any corrupt files that it finds. The result of this recovery operation will be placed in this directory. The files recovered are not likely to be complete or make much sense but there always is a chance that something worthwhile is recovered. Each partition has its own lost+found directory. If you find files in there, try to move them back to their original location. If you find something like a broken symbolic link to ‘file’, you have to reinstall the file/s from the corresponding RPM, since your file system got damaged so badly that the files were mutilated beyond recognition. Below is an example of a /lost+found directory. As you can see, the vast majority of files contained here are in actual fact sockets. As for the rest of the other files they were found to be damaged system files and personal files. These files were not able to be recovered.

total 368
-rw-r–r– 1 root root 110891 Oct 5 14:14 #388200
-rw-r–r– 1 root root 215 Oct 5 14:14 #388201
-rw-r–r– 1 root root 110303 Oct 6 23:09 #388813
-rw-r–r– 1 root root 141 Oct 6 23:09 #388814
-rw-r–r– 1 root root 110604 Oct 6 23:09 #388815a
-rw-r–r– 1 root root 194 Oct 6 23:09 #388816
srwxr-xr-x 1 root root 0 Oct 6 13:00 #51430
srwxr-xr-x 1 root root 0 Oct 6 00:23 #51433
-rw——- 1 root root 63 Oct 6 00:23 #51434
srwxr-xr-x 1 root root 0 Oct 6 13:00 #51436
srwxrwxrwx 1 root root 0 Oct 6 00:23 #51437
srwx—— 1 root root 0 Oct 6 00:23 #51438
-rw——- 1 root root 63 Oct 6 13:00 #51439
srwxrwxrwx 1 root root 0 Oct 6 13:00 #51440
srwx—— 1 root root 0 Oct 6 13:00 #51442
-rw——- 1 root root 63 Oct 6 23:09 #51443
srwx—— 1 root root 0 Oct 6 10:40 #51445
srwxrwxrwx 1 root root 0 Oct 6 23:09 #51446
srwx—— 1 root root 0 Oct 6 23:09 #51448

October 22, 2009

This blog is from Gscribble.

by viggy — Categories: linux, tech, ubuntu — Tags: Leave a comment

The initial version of gscribble looks great. Looking forward many more features added to it. I hope someday I will also contribute to it greatly.

June 22, 2009

how to extract different types of compressed files.

by viggy — Categories: linux, tech, ubuntu — Tags: , Leave a comment

This is a quick guide for different commands to decompress different types of files. Most of them can just be obtained from readin man page of tar command.

  • .tar.gz – command$: tar xvfz file.

June 12, 2009

how to add more than one homepage in firefox

by viggy — Categories: linux, tech, ubuntu — Tags: , , Leave a comment


It is very simple. Go to Edit->Preference. In the home page tab Enter the different links that you want to set as homepage with each seperated by “|” as shown in figure.