Categories
Hardware Open Source Solutions Ubuntu

Playing DVDs in Ubuntu

Dvd-video-logo
Image via Wikipedia

Ubuntu by default does not play encrypted DVDs. This is because most commercial DVDs are encrypted with CSS (Content Scrambling System), which restricts the software that can play a DVD.

To enable you must install the libdvdcss2 package to allow Ubuntu to play DVDs. For that you need to run the following commands:

sudo apt-get install libdvdread4

Followed by:

sudo /usr/share/doc/libdvdread4/install-css.sh

That will install the required libraries and now your encrypted DVDs will be readable.

Please Note: Check with your local laws to make sure that usage of libdvdcss2 would be legal in your area.

Enhanced by Zemanta
Categories
Linux Solutions Ubuntu Web

Transfer files Effortlessly between Ubuntu Systems using Kepas

Kepas is a KDE4 file transfer tool. It discovers your local LAN for buddies (KDNSSD) and lets you transfer files or Klipper(KDE Clipboard) entries from a tray icon or using drag and drop with the Kepas plasmoid.

Kepas has only one requirement, that it must be installed in all the systems that are expected to be part of the network sharing group.

Categories
Linux Ubuntu

Apt-Get: Fixing GPG Error

While updating a Debian based system, you may encounter an error as follows:

W: GPG error: http://ppa.launchpad.net lucid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2836CB0A8AC93F7A

This is a feature of the apt-get package manager that checks the authenticity of servers while updating Debian. It just means that the system is unsure if the repository it listed is safe to receive updates from.

To fix this problem (provided you are sure that the repository is safe), all you need to do is execute the following commands with the pubkey you received in the error:

gpg --keyserver pgpkeys.mit.edu --recv-key 2836CB0A8AC93F7A
gpg -a --export 2836CB0A8AC93F7A | sudo apt-key add -

From now on Apt-Get will recognize that repository and not give you a GPG error.

Enhanced by Zemanta
Categories
Linux Solutions Ubuntu

Installing Adobe Air on Linux

Logo of Adobe Systems Incorporated
Image via Wikipedia

To install Adobe Air on you Linux box, follow the steps below depending on your distribution:

Ubuntu

Open the console and type the following command:
sudo apt-get install adobeair
(if the package is not detected then you will need to activate Ubuntu partner repositories)

Alternatively you can go to http://get.adobe.com/air/ and choose to download the deb package of Adobe Air.
Run the downloaded file to install Adobe Air

Other Distributions

Go to http://get.adobe.com/air/ and choose to download the package of Adobe Air depending on what your distribution supports.
If you are not sure download the bin package.

Once the file is downloaded, give it executable permission and run it:

sudo chmod a+x AdobeAirInstaller.bin
sudo ./AdobeAirInstaller.bin

Adobe Air should now be installed on your system

Enhanced by Zemanta
Categories
Linux Solutions

Changing The Frequency Of StartUp Disk Checks On Linux

Opened hard drive with top magnet removed, sho...
Image via Wikipedia

Linux systems commonly run on ext2/ext3/ext4 file systems. These file-systems have a built-in feature to tell the operating system to do a disk check while booting up if the number of times the disk has been mounted exceeds a certain number. Most commonly the count is set to 30.

This is an inconvenience to anyone who regularly switches off the system, its even worse if the hard disk sizes reach 1Tb. So changing the number to suit your preference might be an excellent idea.


Changing the maximum mount count:

sudo tune2fs -c 50 /dev/sda1

Here:
tune2fs is the command that allows modification on the disk flags
-c enables the max mount count to be changed to the next parameter(50 in this case)
/dev/sda1 is the partition on which to do the operation

Changing the maximum time count:

sudo tune2fs -i 30d /dev/sda1

Here:
tune2fs is the command that allows modification on the disk flags
-i enables the max time count to be changed to the next parameter(30d in this case means the consecutive checks are scheduled 30 days apart). This parameter can be also give in terms of months(2m for 2 months) and weeks(3w for 3 weeks)
/dev/sda1 is the partition on which to do the operation

Enhanced by Zemanta