5 Jan, 2009  |  Posted by Danesh  |  in HowTo, Linux, Software, Ubuntu

dropbox_logo

Dropbox is my favorite online storage solution. Here’s how to install it on Ubuntu 8.10 Interpid

1. Add the Dropbox repository for Ubuntu package source file. I use /etc/apt/source.list.d/dropbox.list file.

deb http://linux.getdropbox.com/ubuntu intrepid main
deb-src http://linux.getdropbox.com/ubuntu intrepid main

Either manually add the lines above to the /etc/apt/source.list.d/dropbox.list file or run the commands below to do the same.

root@dingo:~# echo "deb http://linux.getdropbox.com/ubuntu intrepid main" >> /etc/apt/sources.list.d/dropbox.list
root@dingo:~# echo "deb-src http://linux.getdropbox.com/ubuntu intrepid main" >> /etc/apt/sources.list.d/dropbox.list
root@dingo:~# cat /etc/apt/sources.list.d/dropbox.list

2. Update your packages list. Run “apt-get update“.

root@dingo:~# apt-get update
.............
...........
.............
Ign http://linux.getdropbox.com intrepid Release.gpg
Ign http://linux.getdropbox.com intrepid/main Translation-en_US
Ign http://linux.getdropbox.com intrepid Release
Ign http://linux.getdropbox.com intrepid/main Packages
Ign http://linux.getdropbox.com intrepid/main Sources
Get:1 http://linux.getdropbox.com intrepid/main Packages [622B]
Get:2 http://linux.getdropbox.com intrepid/main Sources [537B]
……………..
…………..
Fetched 1160B in 59s (20B/s)
Reading package lists… Done

3. Install Dropbox

root@dingo:~# apt-get install nautilus-dropbox

…….
…….
…….
Setting up nautilus-dropbox (0.5.0-1) …

4. Restart nautilus to start Dropbox. You will see a new Dropbox icon in your system tray. Right click on it and select “start dropbox“. The daemon will download the binaries required and start the registration process.

root@dingo:~# killall nautilus

That’s it. Enjoy this get service.

Buzz me if you need help…

16 Dec, 2008  |  Posted by Danesh  |  in CentOS, HowTo, Linux

Here’s how you would disable SELinux permanently.

1. vi the “/etc/selinux/config” file.

2. Change the following line;

SELINUX=enforcing to SELINUX=disabled

3.  Save the file and reboot.

4. To verify if SELinux is disabled, run “dmesg | grep selinux“. You should see selinux=0

selinux_register_security:  Registering secondary module capability
audit(1229470429.628:2): selinux=0 auid=4294967295 ses=4294967295

My /etc/selinux/config file.

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - SELinux is fully disabled.
#SELINUX=enforcing
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
#       targeted - Only targeted network daemons are protected.
#       strict - Full SELinux protection.
SELINUXTYPE=targeted

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