Archive for category Linux

How to install Xine Multimedia player in ubuntu


Xine is a free multimedia player. It plays back CDs, DVDs, and VCDs.It also decodes multimedia files like AVI, MOV, WMV, and MP3 from local disk drives, and displays multimedia streamed over the Internet.It interprets many of the most common multimedia formats available – and some of the most uncommon formats, too.
Using this command in terminal (Applications->Accessories->Terminal) to install Xine:

sudo apt-get install xine-ui libxine1-ffmpeg

You can also goto its homepage to download xine,or get more information.

After installation,you can open up xine from Applications->Sound&Video->Xine.

Reference Site url:http://ubuntuguide.net/

Advertisements

Leave a comment

How to Install Ubuntu 9.10(Karmic) from USB stick


1.Install Unetbootin.Unetbootin is an easy-to-use GUI tool that you can easily create bootable live-usb.

You can download from its homepage,or read this post for installing unetbootin on ubuntu.

2.Download Ubuntu 9.10 iso image from www.ubuntu.com.

3.Open up unetbootin from Applications->System Tools->UNetbootin(For Windows,click to run the exe file you downloaded).Select Diskimage and click marked button to select downloaded iso image.

Click on Ok to start create the bootable live-usb.

4.Once the installation complete,click on Restart Now.Select boot from USB in BIOS,and choose default when you get into an graphical interface.

5.Now,you should boot up ubuntu 9.10 just like boot from live-CD.

Reference Site url:http://ubuntuguide.net/

Leave a comment

How to install Real Player in ubuntu


This tutorial will tell you how to install Real Player and enable firefox plugin,remove imposed audio icons optionally in ubuntu.
First,download Real Player by execute following command in a terminal window:

wget http://www.real.com/realcom/R?href=http://forms.real.com/real/player/download.html?f=unix/RealPlayer11GOLD.bin

then, in terminal go to the directory where you download the file,make the .bin file executable by command:

chmod a+x RealPlayer11GOLD.bin

execute command:

sudo ./RealPlayer11GOLD.bin

press any key when prompted,after installed you can open Real Player at
Applications–>Sound&&Video–>Real Player11

For enable mozilla firefox plugin,type following command:

cp /opt/real/RealPlayer/mozilla/nphelix.so ~/.mozilla/plugins/nphelix.so && cp /opt/real/RealPlayer/mozilla/nphelix.xpt ~/.mozilla/plugins/nphelix.xpt

And remove imposed audio icons by:

sudo /opt/real/RealPlayer/postinst/install_icon_resource.sh uninstall

Update:Another easy way,install realplayer from medibuntu.Just add medibuntu to your ubuntu sources and then use this command to install realplay

sudo apt-get install realplay

Reference Site url:http://ubuntuguide.net/

Leave a comment

12 Ways To Customize Ubuntu Netbook Remix For Better Usability


Ubuntu Netbook Remix (UNR) is a modified version of Ubuntu specially for the netbooks. The latest version of UNR runs Ubuntu Karmic in the backend, but the interface has been heavily customized to make it looks/functions good in small screen. Recently, I installed UNR on my netbook (as a replacement for WinXP). While I like the interface, I find that there are still many places that can be improved for better usability and performance. Here I will highlight several of my own customizations.

1. Complement Maximus with Namebar

Maximus is a desktop daemon used in UNR to automatically maximise the windows when they are opened and also hide the title bar to save space. While this is a good feature, it doesn’t give you any option to minimize/unmaximize the window. NameBar is an applet that puts the name list of the top-most maximized or the focused window in the gnome-panel so that it doesn’t take up precious space elsewhere. It also adds the minimize/unmaximize option to the namelist.

To install namebar, download the deb file.

Double click the deb file to install.

Once the installation is done, open a terminal and type:

  • killall gnome-panel

Now right click on the top panel and select “Add to Panel”. Scroll down until you see Namebar Applet. Add it to the panel.

Before Namebar

After installing namebar

(You have to remove the window picker applet from the panel to achieve the full effect of the namebar)

2. Replace the window picker applet with DockbarX

The window picker applet is the default window management app that allows you to switch between windows. One bad thing about this applet is that it doesn’t group similar windows together and can take up a lot of space as you open more windows.

DockbarX is a better replacement for the window picker applet. It groups all the similar window together and only displays them all when you mouse over. In addition, you can also pin applications onto it.

To install DockBarX, add the following Ubuntu PPA to your UNR:

  • sudo add-apt-repository ppa:dockbar-main/ppa

In the terminal, type

  • sudo apt-get update && sudo apt-get install dockbarx

Remove the window picker applet from the top panel. Add the DockbarX applet onto the panel.

3. Hide the date

The date/time applet in the top panel is taking up far too much space. Personally, I don’t need to keep myself reminded of the date all the time, so it is a redundant information for me. The best thing is to remove it.

Right click on the time/date applet and select Preferences. Uncheck the box “Show date”

4. Make Top Panel autohide

If you value your screen real estate very much, you may want to autohide your top panel so that it does not take up any screen real estate when not in use.

Right click on the top panel and select Properties. Check Autohide.

5. Add CPU freq scaling applet to the panel

The CPU frequency scaling applet allows you to change the frequency of your CPU and save your battery life. Follow the usual method to the applet onto the panel.

6. Remove Game from the side pane

On the main screen, you will see the menu on the left and the respective applications on the right. I don’t play game on my netbook, so the Game section is kind of redundant. To remove it, scroll down to System section and select the Main Menu application. Uncheck the box “Game”. Free feel to uncheck any other categories that you have no use for.

7. Install swiftfox

Swiftfox is an optimized build of Firefox and it performs much faster than Firefox. To install swiftfox, open your terminal and enter

  • sudo gedit /etc/apt/sources.list

Add the following line to the end of the file

Save and close the file. Back to your terminal:

  • sudo apt-get update && sudo apt-get install swiftfox-i686

Note: In a standard Intel laptop configuration, you should install swiftfox-prescott. However I find that swiftfox-prescott does not work in Intel Atom netbook. Swiftfox-i686 works fine
8. Install meerkat extensions for Firefox

Meerkat is a Firefox extension that optimizes the Firefox interface to make it more netbook friendly. What it does is:

– Hides the status bar when there is no activity
– Removes the menu bar, rebuilt into a drop down button placed on the navigation bar
– Adds downloads and bookmarks buttons to the right of the location bar, followed by above mentioned menu bar button
– Reduces the navigation bar icon size to the small setting

9. Install Google Chrome

If you are willing to ditch Firefox, I would recommend installing Google Chrome. It runs much faster than Firefox/Swiftfox, especially when you have a lot of tabs opened.

10. Reduce the number of startup items

The number of startup applications determines how fast your netbook boots up. Also, the more background tasks you run, the faster your battery drains.

Go to System->Preferences -> Startup Applications

You can safely uncheck the following:
– Bluetooth Manager (optional. Leave it checked if you are using the bluetooth function)
– Check for new hardware driver (unless you change your hardware regularly)
– Evolution alarm notifier
– Gnome login sound
– Gnome setting daemon helper
– Print queue applet (if you use your netbook for printing, don’t remove this)
– User folders update
– Visual Assistance

11. Rearrange your Favorite items

The Favorite section, as its name implies, should contain all your favorites (and frequently accessed) applications. The default list of Favorites Items is not useful at all. What I have done is to remove all the items and manually add my own favorite items into the list.

To add item to your Favorites, simply navigate to your favorite apps and click the ‘+’ symbol at the top right of the icon.

12. Disable the touchpad when typing

If the touchpad always disturb your typing, you can use syndaemon to disable it while you are typing.

Syndaemon is pre-installed in UNR, so you need only to add the following to your startup entry:

Name: Synaptics Touchpad Syndaemon
Command: syndaemon -i 1 -d
Comment: Disable the touchpad when typing

Reference Site url:http://maketecheasier.com/

Leave a comment

How to install Photoshop CS5 in Ubuntu Maverick 10.10


If you are running Ubuntu 10.10 Maverick and own a copy of the Photoshop CS 5 installer, you will find that you won’t be able to install it under wine. Photoshop CS5 on Ubuntu 10.4 works fine, but not 10.10. Here’s what I did to get it running on my Ubuntu Maverick machine.
What you’ll need:

  • A computer running Ubuntu Maverick
  • A computer running Windows (it doesn’t have to be a computer. It can be a virtual machine running Windows in Virtualbox)
  • A copy of Photoshop CS5 installer. You can get the trial version at Adobe website

Let’s get started

In your Windows machine, download (if you don’t own a copy) and install the Photoshop CS5.
Once the installation is completed, go the Start menu and type “regedit” on the search bar. The registry window will appear. Navigate to “HKEY_LOCAL_MACHINE -> Software -> Adobe“, right click the Adobe folder and select “Export”. When prompted, name the file “adobe.reg”.


  • sudo apt-get install wine ttf-mscorefonts-installer
  • winecfg

This will create the “.wine” folder and prepare wine for usage.

Next, we are going to perform some hacks

Copying Photoshop files from Windows

Since we can’t get the installer to work in Ubuntu 10.10, we have to copy the core files from Windows to the Ubuntu machine. Folders/files you need to copy/paste are listed down below:

Copy the following folders/files from Windows and Paste to Ubuntu

C:\Program Files\Adobe\

->

$HOME/.wine/drive_c/Program Files/Adobe
C:\Program Files\Common Files\Adobe

->

$HOME/.wine/drive_c/Program Files/Common Files/Adobe
C:\Documents and Settings\$USER\
Application Data\Adobe

->

$HOME/.wine/drive_c/users/$USER/
Applications Data/Adobe
C:\windows\system32\odbcint.dll

->

$HOME/.wine/drive_c/windows/system32/odbcint.dll

Lastly, save the “adobe.reg” file to the Home folder. In your terminal, type:

  • wine regedit adobe.reg

This will import the “adobe.reg” into the wine registry.

That’s it. Now go to “Home -> .wine -> drive_c -> Program Files -> Adobe ->Adobe Photoshop CS5“, right click on the Photoshop.exe file and select “Open with Wine Windows Program Loader”.

Photoshop CS5 should load. You can also add a shortcut to the Application Menu for quick access.

Note:

  • Some people have mentioned that Photoshop CS5 in Ubuntu crashed with the text function. This has been fixed with the addition of atmlib.dll file.
  • Complex PSD file should load without problem.
  • The above mods were done with wine version 1.2.1. and Photoshop CS5 trial version. If you are using other version of wine or Photoshop, there is no guarantee that the above method will work.

Alternative to Photoshop CS5

For those who can’t get Photoshop CS5 to work, or find it too heavy for your daily usage, you can try out PhotoShop CS5 Portable. This is the unofficial portable version of Photoshop CS5 (not released by Adobe) and the installer work fine with wine. You will still need the atmlib.dll file for the text function to work.

Reference Site url:http://maketecheasier.com/

Leave a comment

How to install Compiz Fusion in Ubuntu


Compiz Fusion is a seriously powerful extension to Gnome (basically the GUI for Linux). It’s been possible to create extra desktops in Ubuntu for a long time, but with Compiz you can switch between each desktop via a three dimensional cube, which is actually very usable and seriously cool. Amaze your friends with Compiz fusion by showing them your machine doing tricks like this:

Installing Compiz in Ubuntu Hardy is extremely easy. In fact, you already have it. For earlier versions of Ubuntu, follow these instructions. If you have Hardy, Intrepid or Jaunty Jackalope, read on…

Compiz is already installed in Hardy, Intrepid and Jaunty, but you need access to the advanced settings manager to activate the cube and cube rotation. You’re going to install a package called: compizconfig-settings-manager. Installing it in Hardy is easy – go to Synaptic Package Manager (System>Administration>Synaptic Package Manager) and do a search for compizconfig-settings-manager. Check the install box and click apply.

Now, if you go to System>Preferences you’ll see that a new menu item has appeared – “compizconfig-settings-manager”. Open the menu.

Behold! The compiz settings manager. This is where you activate all of the cool tricks. There are so many fiddly little settings to play with that it would be impossible to write about them all. I’ll leave you to break discover them yourself. There are however some really important ones to switch on that are worthy of note and will provide an important first step:

1) Under “Desktop” check “Desktop Cube”. There are lots of settings inside this module, but for the time being leave it checked

2) Underneath the desktop cube checkbox, check “Rotate Cube”.

If all goes well, then holding down CTRL>ALT and the right hand mouse button should instantly zoom you out and display a three dimensional desktop! Mouse around and it will spin up and down and from left to right. The rest, I leave to you. enjoy

Leave a comment

How to install Monitorix in Ubuntu 9.10 (Karmic) Server


Preparing your system

Install the following packages

sudo apt-get install rrdtool librrds-perl libwww-perl

Now you need to download Monitorix source package from here or use the following command

$ wget http://www.monitorix.org/monitorix-1.5.0.tar.gz

$ tar -zxvf monitorix-1.5.0.tar.gz

Go to the Monitorix directory and execute the install script.

$ cd monitorix-1.5.0

$ sudo ./install.sh

Welcome to Monitorix v1.5.0 installation process.

The install script has detected that this is a Linux operating system.

Currently Monitorix supports only the following Linux distributions:
1 – RedHat/Fedora/CentOS
2 – Generic
3 – Debian (Ubuntu)
4 – Gentoo
5 – Slackware

Please select your option:

Choose the option number 3 (Debian).

The following is a list of the default paths where the Monitorix components
will be installed:

1 – /usr/bin
2 – /etc
3 – /etc/init.d
4 – /var/lib
5 – /usr/share/doc
6 – /var/www
7 – /usr/lib/cgi-bin
8 – /usr/share/man/man5

Last chance to stop the installation.
Are you sure to install Monitorix on the paths shown? [y/n]:

The list of paths should be correct. Press y.

Finally start Monitorix.

sudo service monitorix start

Now wait for a while and then go to http://localhost/monitorix/

Leave a comment