If you have Ubuntu 11.04, by now, you have messed around with Unity, the default desktop environment. Maybe, you like it or maybe you don’t. If you’re curious about how Gnome 3 looks like in Ubuntu 11.04, you can install it without much effort. All you need to do is fire up 4 quick commands in your Terminal to get you going.
Install Gnome 3
sudo add-apt-repository ppa:gnome3-team/gnome3
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install gnome-shell
You need to log out of Unity, choose Gnome when logging back in, for the changes to take effect. By the way, Gnome 3 will break Unity. But, don’t fret. You can restore it easily. Just use the command below to get Unity back in your life.
sudo ppa-purge ppa:gnome3-team/gnome3
Nautilus is the file manager for the Gnome desktop, the default desktop environment for Ubuntu and countless other distributions. I run a local web server on my desktop with the default webroot located in /var/www.
If I copy files to /var/www or any of its subdirectories, I will need root access. Ever wonder how to open the Nautilus file manager as root?
To open Nautilus as root, open the Terminal from Applications -> Accessories menu.
Type the following command:
Using Nautilus can really speed up and make work easier. You can use common mouse movements such as drag and drop, as well as keyboard shortcuts such as cutting and pasting.
If you want to take another step further, you can add this superuser shortcut to your menubar.
This is a tutorial how to install a Subversion on your desktop. Subversion is an open-source revision control system. A repository is usually installed on servers so developers and programmers can have easy access to code. Subversion uses a check-in an check-out process for submitting changes to the repository. The repository can also be installed on desktop systems. Access is gained through many means by way of direct file access, ftp, http, svn and svn+ssh. See chart below.
Installing Subversion will install both Subversion administration tools and the client. In Ubuntu or Debian-based systems, you can install Subversion by performing the following commands. By the way, I added an Apache and Subversion WebDav module so both can be installed with just a single command.
sudo apt-get install subversion libapache2-svn
Reboot the Apache Web Server
sudo /etc/init.d/apache2 restart
Create a Subversion Repository
svnadmin create /home/yourname/repository/
I’m placing the repository in my home directory. You can place it anywhere in your system. You may need to use sudo if you install it outside of your home directory. Remember the repository location, we will use it a few times below to configure the Apache Subversion WebDav module, etc.
Import your Repository
svn import /path/to/import/directory file:///home/yourname/repository
If you have a repository ready, now is a good time to import it. If you are just starting out, you can initialize the Repository here.
Access to Subversion
||Direct access on local disk
||Browser using http WebDav protocol
||Browser using https secure and WebDav
||Subversion protocol and SSH tunnel
Configure WebDav protocol
sudo vi /etc/apache2/apache2.conf
<LimitExcept GET PROPFIND OPTIONS REPORT>
Change Ownership to HTTP-User
sudo chown -R www-data:www-data /home/yourname/repository
Password Protect the Repository
sudo htpasswd -c /etc/subversion/passwd username
You will be asked to provide a password. Enter the password twice.
Reboot Apache Server
sudo /etc/init.d/apache2 restart
It’s probably a good idea to restart the Apache server one more time.
Next, open up your browser and access http://localhost/svn from the address bar. You will be asked for the username and password. You should see the repository and any content or directory underneath it. That’s it. Happy coding.
KDE just released version 4.3 which includes over 2000 new enhancements to the K Desktop Environment. The latest version showcases the latest theme called “Air.” Improvements in performance, memory usage and a stack of new widgets are just few available in the latest release. If you haven’t tried KDE in a while, give it a spin. You can install it via Synaptic Package Manager or just type:
#sudo apt-get install kubuntu-desktop
With Linux, you can run multiple desktop environments such as Gnome, KDE, Openbox, XFce and a several others in a single of install of Linux. This short video demonstrates how easy it is to switch from one desktop environment to the other using Ubuntu.