Showing posts with label Gedit. Show all posts
Showing posts with label Gedit. Show all posts

Saturday, April 17, 2010

Adding repositories

This is a very basic guideline for installing repositories. Repository is a place where a particular software is kept or maintained. Ubuntu Software Center has loads of softwares for nearly every imaginable use. However you might still need to install additional ones. For those softwares you need to install/add repositories. Repositories are also installed to stay up to date with the very latest versions of softwares.

There are two ways of adding repositories. The graphic (GUI) way and the terminal (CLI) way. I'll discuss both here one after the other.

GUI (Graphic user interface aka graphic method):

Go to System > Administration > Software Sources

Click on the Other Software tab and then click Add.



Then simply type or copy paste the repository you want to add and thats it.

CLI (Command line interface aka terminal method):


Open the Terminal (Accessories > Terminal) and then type the following:



sudo gedit /etc/apt/sources.list



A new window will open up and there simple copy paste the repository you want to add. Remember that you need to enter the repository name in a separate line or a new line. Hence press Enter from your keyboard before pasting/adding the repository.



Remember to save the file before you exit.

There's another CLI method as well, its a more direct approach.

Go to the Terminal and type out the direct command to add the repository:


sudo add-apt-repository ppa:name of repository


eg. sudo add-apt-repository ppa:pcf/miro-releases (installs the official repository for the software Miro)

Tip: Always make sure you update your repositories after adding them. To update your repositories, go to System > Administration > Update Manager and click on Check.



Alternatively, you can go to the Terminal and type sudo apt-get update

Thereafter you can install the software from the Ubuntu Software Center itself or from the Terminal as the case may be (read instructions for that particular software in its documentation or FAQ section).

Update: From Ubuntu 10.10, you can add/edit repositories from the Ubuntu Software Center as well. Go to Ubuntu Software Center, select Edit and Software Sources.

Thats was all about adding repositories in Ubuntu.



Share/Bookmark


Tuesday, April 13, 2010

Install Bisigi themes

The themes of the Bisigi project are generally rated as some of the best Ubuntu themes available. There are quite a few themes from the project available for installation.

To install these themes, you need to add the following repositories.

First up type the following in the Terminal (Accessories > Terminal) :



gpg --keyserver hkp://keyserver.ubuntu.com:11371 --recv-key 881574DE && gpg -a --export 881574DE | sudo apt-key add -




Now type the following in the Terminal :



sudo gedit /etc/apt/sources.list


In the window which opens, add the following lines:



deb http://ppa.launchpad.net/bisigi/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/bisigi/ppa/ubuntu karmic main



Now save the file and type the following in the Terminal:



sudo aptitude update
sudo aptitude install bisigi-themes


Thats it. After the installation process go to the Appearance option (System > Preferences > Appearance) and check out the new themes. The following themes will be installed - AquaDreams, Ubuntu Sunrise, Bamboo-Zen, Step into Freedom, Tropical, Exotic, Balanzan, Wild Shine, Infinity, Showtime, Orange, Ellanna, AirLines.


Share/Bookmark


Thursday, January 14, 2010

The Ultimate Flash Fix For Ubuntu

We all know how crappy the Linux version of flash is. And the worst part is, sometimes it becomes impossible to click on flash enabled menus and options.

Anyway, here's the working fix for this bug.

1. Open the terminal.

2. Type:
gksudo gedit /usr/lib/nspluginwrapper/i386/linux/npviewer


3. Add the following line before the line of the last text:
export GDK_NATIVE_WINDOWS=1


4. Save the file and restart your browser or flash app.

Thats it! Say goodbye to Flash woes!

(Also consult these posts on Explore Ubuntu: Flash for 64 bit, Solution to the Flash problem in Flock browser)

Share/Bookmark

Source: Ubuntuforums