25 Nov, 2008  |  Posted by Danesh  |  in HowTo, Linux, Ubuntu

Medibuntu if you don’t already know is the Ubuntu repository for non-free packages which can’t be bundled with Ubuntu for regal reasons. Acrobat reader, quick time player, windows specific video/audio codecs, DVD support and the list goes on.

Adding the Medibuntu repository into your Ubuntu 8.10 is easy.

1. Fire up your terminal and run,

sudo wget http://www.medibuntu.org/sources.list.d/intrepid.list --output-document=/etc/apt/sources.list.d/medibuntu.list

2. Install the GPG keys. While still in the terminal run,

sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

3. Install support for Windows codecs.

sudo apt-get w32codecs

Sources: Medibuntu | Launchpad

Dropped my TwitterFox for twhirl today. Runs flawlessly on Ubuntu 8.10.

Installation was a breeze, here’s the walkthrough.

1. Download Adobe AIR Beta from http://labs.adobe.com/downloads/air_linux.html

2. Install Adobe AIR

danesh@pandora:~/Desktop$ ls
adobeair_linux_b1_091508.bin
danesh@pandora:~/Desktop$ chmod +x adobeair_linux_b1_091508.bin
danesh@pandora:~/Desktop$ ./adobeair_linux_b1_091508.bin
danesh@pandora:~/Desktop$

3. Download twhirl from http://www.twhirl.org/project/twhirl

4. Double click the twhirl file to start the installation. The installer will install twhirl to /opt/twhirl/ .

That’s it! you now have twhirl installed.

Continue Reading ->

Hate the damn beep? Let’s get rid of it!!

Run “lsmod” and look for pcspkr.

If you find it then run “rmmod pcspkr“.

Also, make sure to add this line to your “/etc/modprobe.d/blacklist” file to make the change is persistent accross reboots.

#Remove beeping speaker
blacklist pcspkr

Output;

[root@dingo ~]# lsmod | grep pcspkr
[root@dingo ~]# echo “blacklist pcspkr” >> /etc/modprobe.d/blacklist
[root@dingo ~]# sudo rmmod pcspkr

7 Nov, 2008  |  Posted by Danesh  |  in HowTo, Linux

Giving someone root access in linux is easy. Why would someone need to be root I don’t know but this is how you do it using the usermod command.

To add root access

[root@abika root]# id sys_admin
uid=508(sys_admin) gid=508(sys_admin) groups=508(sys_admin)
[root@abika root]# usermod -G root sys_admin
[root@abika root]# id sys_admin
uid=508(sys_admin) gid=508(sys_admin) groups=508(sys_admin),0(root)

To remove root access.

[root@abika root]# usermod -G sys_admin sys_admin
[root@abika root]# id sys_admin
uid=508(sys_admin) gid=508(sys_admin) groups=508(sys_admin)

21 Sep, 2008  |  Posted by Danesh  |  in HowTo, Linux

2 easy ways find out what version of Ubuntu you’re running.

First option,

cat the /etc/issue file.

danny@family-desktop:/etc$ cat /etc/issue
Ubuntu 8.04.1 \n \l

Second option

cat the /etc/lsb-release file.

danny@family-desktop:/etc$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu 8.04.1"

or

run the lsb_release command with the “-a” switch.

danny@family-desktop:/etc$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 8.04.1
Release:        8.04
Codename:       hardy