June 2, 2012

Lesser Known Linux Music Players


Ever wondered what other music players are there inLinux world that can replace your default one? Believe me, you are pampered with choices. While the popular ones receive many coverage, there are several lesser known music players that are equally powerful. Here I have compiled a list of lesser known (and good) audio players available for Linux operating systems along with their salient features.


1. Clementine

This one is my favorite (not for the reason that I like to eat Clementine) and this is why it is first in the list. Inspired by Amarok, it is a good looking and yet a feature-rich music player. Available for Windows, Linux and Mac, it seamlessly integrates with Ubuntu. Its main features include good iPod (and other portable music device) support, dynamic playlists, lyrics and artist information, album art discovery. It has a strong support for Internet Radio including big names like Last.fm, Spotify, Grooveshark, Jamendo, Magnatune among numerous others.


Clementine Music Player


 

 

 

2. Nightingale

Remember Songbird, the loved music player which ditched Linux 2 years back? Well, the legacy of Songbird has been continued by a fork of it: Nightingale. It carries forward the awesomeness of Songbird. Features include great support for synchronization, song and artist info, easy playlists and definitely good looks.Shoutcast Radio and Last.fm comes integrated with it. Last.fm album art can be used to fetch album arts. The list of extension and add-ons is growing with continuous community support.


Nightingale Music Player

3. Audacious

For all those Winamp MP3 player lovers, here is Winamp for Linux – Audacious. A light weight music players which has uncanny similarities to the famed Winamp audio player (reason being that it is descendant of legacy Linux player XMMSwhich itself was modeled after Winamp). Unlike other players like Clementine or Banshee which focus more on managing the music library, Audacious focus more on music. Motto is simple, drag and drop the files to create a playlist, sit back and enjoy the music. No fancy stuff, Last.fm is the only luxury it has got. Oh yes! it has great customization options as it supports Winamp skins.


Audacious Music Player

4. DeaDBeef

DeaDBeef is a simple, light on CPU yet feature rich audio player for Linux. Unlike its name, it is definitely not dead but very much alive. It plays (almost) all major and minor type of music formats with album art display capability. Last.fm is supported along with several other plugins at disposal. Recently it has arrived on Android so people using both Linux and Android can enjoy the homogeneity on different platform.


Deadbeef Music Player

5. Quod Libet

Good things come in small package. Quod Libet is one such small package. It tries to answer “Boy, I wish I could grep my music“. Yes, it has a really strong search features. Written in Python and based on GTK+, it provide you with all the basic features of an audio player apart from the fact that it can handle a large library. Features also include Internet radio and podcast. To an extent it resembles Rythmbox but only less complex.

Quod-Libet Music Player

All these music players can be downloaded form their respective official websites, links are provided in headings. I would like to know your views on this list and your favorite music player. What do you say?
Image credit: Abstract music background by BigStockPhoto and Wikimedia


Abhishek is a Software Engineer by profession and a Tech-Blogger by passion. He takes a keen interest in day-to-day computer life and wishes to share his experience with others to make their computer experience better and easier. He is the owner of increasingly popular tech blog Computer And You.

May 21, 2012

How to dual boot Ubuntu 12.04 and Win7

A great article from http://www.linuxbsdos.com

One tool that has seen very little or no change over the past several releases in Ubuntu Desktop is the installation program. So it is somewhat surprising that some users are having problems dual-booting Windows 7 and Ubuntu 12.04 using a tutorial written for Ubuntu 11.04.
Stemming from comments in that article, and email from readers, I decided to revisit that tutorial using Ubuntu 12.04. So the purpose of this article, is to show how to dual-boot Windows 7 and Ubuntu 12.04 on a computer with one hard drive. And it will be on a computer with an existing installation of Windows 7. If there is a need to, you may reinstall you copy of Windows 7.
First things first. Download a copy of Ubuntu 12.04 installation image from here. Depending on your platform, you may download the 32- or 64-bit installation image. Images used for this tutorial were taken from test installations using a 32-bit installation image in both a virtual environment using VirtualBox, and on real hardware. In either case, I did not encounter any errors that others have reported, so I am certain that if you follow this guide, you should have a computer with both Windows 7 and Ubuntu 12.04 installed in a dual-boot configuration.
So that anytime you reboot the computer, you should see Windows 7′s boot menu with two entires listed – Windows 7 and Ubuntu 12.04 (LTS). Then you may choose to boot into Windows 7 or Ubuntu 12.04.


Windows 7 Dual-Boot Boot Menu


Now that you know what the overall goal is, how do you get from here to there? First, understand that if you have a computer running Windows 7, that Windows 7′s boot manager is responsible for making sure that the system boots. Installing Ubuntu on the same hard drive throws another boot manager into the mix, so the most important decision you are going to make about this, is which boot manager (Windows 7′s boot manager or Ubuntu’s) do you want to be responsible for primary boot operations?


When dual-booting Windows 7 and a Linux distribution on a computer with one hard drive, the best option is to have Windows 7′s boot manager be the primary boot manager. Why? Because whenever you reinstall or update Windows 7, its installer will overwrite anything it finds in the portion of the hard drive where critical boot-related programs are installed. That portion of the hard drive is known as the Master Boot Record (MBR). Also, certain anti-virus programs have been known to mess with the contents of the MBR, so installing GRUB in another location will ease the maintenance headache associated with your system. This point determines where GRUB will be installed.


If you are not familiar with disk partitioning (in Linux) and dual-booting, it is highly recommended that you read guide to disks and disk partitions in Linux and tips for dual-booting Windows and Linux.
By default, a new installation of Ubuntu 12.04 is installed on two partitions – a main partition, and Swap. The main partition is usually a primary partition and the Swap, a logical partition. And if Ubuntu is the only operating system on the hard drive, you will see both partitions labeled /dev/sda1 and /dev/sda5. Because you are going to install it on a computer with another operating system on it, the partitioning scheme will have to change.
The recommended partition scheme that will work better with the system you are about to install, will consist of at least three partitions. They are the:
  • Boot partition – This is where GRUB will be installed, instead of in the MBR. Installing GRUB in the boot partition is where users have encountered errors, so pay particular attention to what you do with this partition
  • Root partition – This is where all the programs will be installed
  • Home partition – This is optional, but it helps to have your files and folders on a separate partition
  • Swap space
I think what you need to do should be pretty clear now. Time to begin the process! If you have not done so already, burn the installation image (of Ubuntu 12.04) you downloaded to a CD or transfer it to a USB stick, and boot the computer from it. When booted from the CD, you will be given the option to boot into a Live Desktop or start the installation without visiting the Live Desktop. It does not matter which option you choose, but booting into the Live Desktop and starting the installation from there seems to be a very good choice.


Ubuntu 12.04 Live Desktop or Installer


Whether the installation process is started from the Live Desktop or not, clicking through the installer gets you to the step shown in the image below. The most important information here is the minimum disk space (4.4 GB) recommended for a successful installation of Ubuntu 12.04. That piece of information will help you determine how much disk space to allocate to the root partition.


Ubuntu 12.04 Installation Requirements


Clicking Continue from the previous step will land you here. If, as in this example, you have Windows 7 installed on the target hard drive, you should see the same three options shown here. Because you will be creating partitions manually, the option you want to select is Something else.


Ubuntu 12.04 Partition Options


That should bring you to the Advanced disk partitioning tool. Again, if we are operating from the same point, that is, if you have a default installation of Windows 7 on the target hard drive, you should see two ntfs partitions (/dev/sda1 and /dev/sda2) listed. The main Windows 7 partitions, also popularly known as the C drive, is your sda2. To install Ubuntu, you will have to resize that partition. Note: If have free unallocated space on the hard drive, you do not have to go through this partition resizing process. To resize the partition, select it and click the Change button.


Ubuntu 12.04 Advanced Partition Tool


That should open this window. The only thing to do here, is tell the installer how much disk space you want to keep for Windows 7. The rest will be used for Ubuntu. The system used for this tutorial has about 324 GB of disk space. I chose to keep 100 GB for Windows.


Ubuntu 12.04 Partition Resize


So the window now looks like this. Click OK.


Ubuntu 12.04 New Partition Size


After the partition has been resized successfully, you should see the freed space marked as free space. Select it and click Add to start creating partitions for Ubuntu 12.04.






Ubuntu 12.04 Unallocated Partition Space


Though you need to create at least three partitions for installing Ubuntu, I will create four just to show how it should be done if you want to have the home directory on a separate partition.
The boot partition is the first partition you want to create. The recommended size for it, is 500 MB. That is way too much for the actual disk space that will be used initially, but if you expect to use the system for a long time, spanning several updates, you need the extra space. The mount point should be /boot. And you want to keep the default file system – ext4. This is important because errors have been reported when using ext2 for the boot partition. OK.


Ubuntu 12.04 Create Boot Partition


The second partition will be the root partition. For this tutorial, I assigned 20 GB to it. Anything that is at least more than 75% above the recommended minimum of 4.4 GB should be good. The mount point should be /. Keep the default file system. OK.


Ubuntu 12.04 Create Root Partition


The third partition is for the home partition. Since this where any file you download or generate is stored, it should be assigned the bulk of the available disk space. Use /home as the mount point, and keep the default file system. OK.

Ubuntu 12.04 Create Home Partition

The fourth and last partition will be for Swap. This is disk space made available for the system to use as virtual memory whenever the need arises. Give it an appropriate size (4 GB or 4000 MB should be more than enough on any system). Select swap area from the Use as dropdown menu. OK.


Ubuntu 12.04 Create Swap Space


Back to the main Advanced disk partitioning tool window, you should see the partitions you just created, besides the existing ntfs (Windows 7) partitions. Because the first Ubuntu partition was created as a logical partition (the installer does that by default), it is listed as sda5. This is the boot partition and it is where the boot files for Ubuntu will be installed, not in the MBR, which is the default. Note that installing GRUB in the MBR is the same as installing it in sda. This is what you see in the Device for boot loader installation dropdown menu. So what you want to do here, is select sda5 (our boot partition) from that menu.

Ubuntu 12.04 Install Bootloader MBR

When you are done selecting it, the window should look like this. click Install Now to continue with the rest of the installation process.

Ubuntu 12.04 Install GRUB sda5 Boot Partition

At the user account setup step, you might want to enable encryption of your home folder by enabling Encrypt my home folder. This does not afford you the same level of physical security as full disk encryption, but it is better than no encryption.

Ubuntu 12.04 Install User Account Setup

And you have the option of importing your settings from the Windows side to Ubuntu.

Ubuntu 12.04 Install Import Windows 7 Settings

After installation has completed successfully, reboot the computer. It should reboot into Windows. This is expected. At this point, Windows does not know that it is now sharing the computer with another operating system. The next step is to tell it, and modify its boot menu to reflect that fact.

The easiest program to use for this task, is EasyBCD, a free program by NeoSmart Technologies. There is a paid version, but for personal and non-commercial use, it is free. You may download it from here. Install it as you would any Windows 7 application. Start it. The main interface is shown in the image below. To begin the process of adding an entry for Ubuntu 12.04 in Windows 7′s boot menu, click on the Add New Entry tab.


Ubuntu 12.04 EasyBCD


Then on the Linux/BSD tab. From the Type dropdown menu, select GRUB 2, the version of GRUB used by Ubuntu 12.04. Click on the Add Entry button. Click on Edit Boot Menu tab to view the new configuration.


Ubuntu 12.04 EasyBCD GRUB 2

These are the two entries you will see every time you (re)boot the computer. The default is Window 7, but you can change it to Ubuntu 12.04 if you like. Exit EasyBCD and reboot.


Windows 7 Boot Menu EasyBCD

That is it. Like I wrote earlier, this was done on real hardware and in a virtual environment on first try, so I do not think that you will encounter any issues if you follow this tutorial step-by-step.

Source: http://www.linuxbsdos.com/2012/05/17/how-to-dual-boot-ubuntu-12-04-and-windows-7/






























May 5, 2012

May Desktop

The Spring weather has everything in bloom, the days are getting warmer & brighter, and felt like a return to the smooth classy Radiance Theme for May. This build is the Ubuntu Gnome Shell Remix 11.10. Included is Firefox 13 with FXChrome theme & Omnibar addon which gives it clean look like the Chromium browser, and the GmusicBrowser Music Player. Enjoy.

.




.



.




April 29, 2012

Ubuntu Gnome Shell Remix 12.04 Available


The Ubuntu Gnome Shell Remix 12.04 is now available for download in both 32 & 64 bit versions here:

http://ubuntu-gs-remix.sourceforge.net/p/home/

I've found this distribution is wonderful for all the pre-built tweaks already in it. It returns the traditional Gnome 2.x functionality with the latest linux kernel updates. This is my favorite distro bar none.
Highly recommended.


April 26, 2012

Things To Tweak After Installing Ubuntu 12.04

From the folks at WebUpd8.org


Ubuntu 12.04 LTS Preise Pangolin has been released and many of you have already upgraded or plan on upgrading, so I've made yet another post that you'll hopefully find useful, with things that you may want to tweak, fix or install in Ubuntu 12.04.

Some of the tweaks in this article are old, and we've already talked about it in the previous posts about things to tweak after installing Ubuntu 11.10 or 11.04, but there are also many new things to install and tweak and also, some improved old tweaks.


Unity-specific tweaks


Disable global menu (appmenu), overlay scrollbars, whitelist the systray and more


If you're new to global menus or overlay scrollbars, give them a try for a few days before disabling them.

If until now, you had to modify configuration files or run various commands to disable the global menu (appmenu), the overlay scrollbars or whitelist the systray, this time things got a lot easier thanks to some tools such as Unsettings.

tweak unity unsettings

So those of you who don't like the global menu, overlay scrollbars or want to whitelist the systray so applications that use a notification area icon show up on the Unity panel, can use Unsettings to change these settings with a click.

But that's not all Unsettings can do. You can also use it to change the GTK or icon theme, further tweak Unity and more:
  • Unity Launcher look: change launcher size, opacity, select when devices show up on the launcher or get a "show desktop" icon
  • Launcher behaviour: visibility (always visible or autohide), autohide animation, reveal trigger, edge responsiveness, urgent animation, launch animation, blacklight
  • Dash: set Dash size, blur, enable or disable apps available for download and recently used apps, enable / disable search for all files
  • Panel: set the opacity, enable / disable opaque if maximized, set the applications available in the systray whitelist and enable / disable the real name, user menu and sound indicator from showing up on the panel
  • Change fonts, hinting and antialiasing
  • Windows: enable / disable overlay scrollbars, global menu, click to focus, HUD, auto raise (as well as the delay) and change automaximize value
  • Desktop: set the number of vertical and horizontal workspaces, show / hide various icons on the desktop like the home, computer, trash or network icon, configure the next monitor pressure (for multi-monitor setups), shortcut hints overlay, ALT + Tab settings
  • Change GTK, Window, Icon and cursor themes.

To install Unsettings in Ubuntu, use the following commands in a terminal:

sudo add-apt-repository ppa:diesch/testing
sudo apt-get update
sudo apt-get install unsettings

Unsettings isn't the only such tool, there's also MyUnity and Ubuntu Tweak, each with some common but also some extra features.



Tweak Unity 2D


Unsettings and MyUnity are nice for Unity 3D, but they lack proper support for Unity 2D so to easily tweak Unity 2D, you can install Ubuntu Tweak, which lets you enable / disable HUD, set Dash to full screen, change the launcher autohide (this is also available in System Settings, under Appearence) and multi-monitor behaviour.

To install Ubuntu Tweak, use the commands below:
sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak



Get Unity Dodge Windows autohide behaviour back


The window dodge Unity launcher autohide behaviour has been removed from Ubuntu 12.04 Precise Pangolin but you can get it back using a work-around. It's not perfect and the icons will shift to the left when the launcher autohides, but if you really want this feature back (for Unity 3D), give it a try!

There are two window dodge behaviours available: one that works mostly as it used to be in Ubuntu 11.10 and the other one only works for maximized windows:
  • Download real window dodge behaviour for the Unity Launcher
  • Download window dodge behaviour for maximized windows
After installation (only one of the two packages above can be installed!), log out and log back in.

For more info and a video, see the following post: Real Window Dodge Unity Launcher Bahaviour For Ubuntu 12.04.

If you want to remove the window dodge behaviour, use one of the following commands, depending on which package you've installed:
- for Unity Dodge Windows:

sudo apt-get remove unity-dodge-windows
- for Unity Dodge Maximized Windows:

sudo apt-get remove unity-dodge-maximized-windows
After removing it, remember to log out again.



Change the Unity 2D launcher icon size



The Unity 3D launcher icon size can easily be changed through System Settings (under Appearance), but that's not available for Unity 2D. But there is a way to change the Unity 2D launcher icon size: through a script.

To change the Unity 2D icon size, run the following commands in a terminal:
cd
wget http://webupd8.googlecode.com/files/script.py
chmod +x script.py
sudo ./script.py SIZE

In the last command above, replace "SIZE" with the desired size for the launcher icons, for example "32" (don't use any quotes). Then log out and log back in to Unity 2D.

Credits for the script: ppd @ Ubuntuforums.org



Get minimize on click for the Unity launcher


The Ubuntu developers have rejected a patch that adds minimize on click for the Unity launcher, but a patched Unity is available in a PPA so you can get applications to minimize when clicking on their icon in the launcher with a few simple commands.

Before proceeding, please note that this only works for Ubuntu 11.10 for now. The PPA will be updated for Ubuntu 12.04 in the coming hours or days!

Add the PPA and get Unity (3D only) with minimize on click patch using the following commands:
sudo add-apt-repository ppa:ojno/unity-minimize-on-click
sudo apt-get update
sudo apt-get upgrade


If later on you want to go back to the default Unity from the official Ubuntu 12.04 repositories, use PPA Purge, like this:

sudo apt-get install ppa-purge
sudo ppa-purge ppa:ojno/unity-minimize-on-click

More info and a video, here: Unity With Minimize On Click Patch (Unofficial) Available In A PPA For Ubuntu Users.



Install lenses


Quite a few Unity lenses have been created in the last few months. The lens I find most useful is called Recoll Lens which lets you use Recoll, a full text search tool, from Dash, without having to open any additional GUI.

The lens comes with a few filters like Text, Spreadsheet, Presentation, Media or Message, but for more advanced searches, you'll have to manually enter the Recoll search query. Examples: author:"john doe", metallica OR megadeth, /2007 (all documents from 2007 or older), dir:/path/to/dir (filters content from /path/to/dir directory) and more.

Unity recoll lens

To install Unity Recoll Lens, use the following commands:
sudo add-apt-repository ppa:recoll-backports/recoll-1.15-on
sudo apt-get update
sudo apt-get install recoll-lens recoll

Once installed, log out and log back in.

More info about Unity Recoll Lens.


Another lens that I find really useful is the Utilities Lens which comes with two scopes: Cities and Calculator. The cities scope lets you quickly see the time, weather and wind conditions in a city you search for in Dash and, as expected, the calculator scope lets you quickly perform mathematic operations:

unity cities scope lens

unity cities scope lens


To install the Utilities Lens along with Cities and Calculator scopes, use the commands below:
sudo add-apt-repository ppa:scopes-packagers/ppa
sudo apt-get update
sudo apt-get install unity-lens-utilities unity-scope-calculator unity-scope-cities
Once installed, log out and log back in.

These are just the lenses I find most useful, but there are many others, like torrent search lens, Grooveshark or Spotify lens (available in the same PPA as the Cities and Calculator scopes) and more. See here for more lenses and also search for new lenses and scopes in the Ubuntu Software Center.




Install extra appindicators


AppIndicators are applications that come with an indicator displayed on the top Unity panel (or on the Classic GNOME panel).

Weather Indicator displays the weather on the panel, from one or multiple locations around the world. You can configure it to display notifications and more.

weather indicator

To install Weather Indicator, search for it in Ubuntu Software Center or use the command below:
sudo apt-get install indicator-weather

Alternative: My Weather Indicator.


If you use Ubuntu One, you'll find Ubuntu One Indicator very useful as it displays the sync status including the upload speed, recently published files for which you can copy the public links, disconnect Ubuntu One and more:

ubuntuone indicator

To install Ubuntu One indicator, use the commands below:
sudo add-apt-repository ppa:rye/ubuntuone-extras
sudo apt-get update
sudo apt-get install indicator-ubuntuone


Another feature that users who have upgraded from Ubuntu 10.04 might be missing in Ubuntu 12.04 is a system monitor panel applet. The Unity panel doesn't support applets, but you can use an indicator for this. System Load Indicator displays CPU, Memory, Network, Swap, Disk io and system load on the panel, just like the old system monitor applet:

system load indicator

Install System Load Indicator in Ubuntu 12.04 LTS using the commands below:
sudo add-apt-repository ppa:indicator-multiload/stable-daily
sudo apt-get update
sudo apt-get install indicator-multiload


Get longer battery life with Jupiter

Jupiter is an appindicator (it now uses Python instead of Mono) designed to improve laptops / netbooks battery life. It can be used to switch between maximum, high performance and power saving modes, change the screen resolution and orientation, enable or disable bluetooth, touchpad, WiFi (if available) and so on. If you own an Asus EeePC netbook, there's also a separate package that adds support for Asus Super Hybrid Engine (SHE) as well as some other EeePC tweaks.

jupiter indicator

Install Jupiter using the following commands:
sudo add-apt-repository ppa:webupd8team/jupiter
sudo apt-get update
sudo apt-get install jupiter



Calendar indicator

If you're upgrading from Ubuntu 10.04 LTS and you miss the old behaviour of integrating Google Calendar with the calendar applet through Evolution, you can use an alternative: Calendar Indicator, a tool to display your Google Calendar events on the Ubuntu / Unity panel. Install it in Ubuntu 12.04 Precise Pangolin using the commands below:
sudo add-apt-repository ppa:atareao/atareao
sudo apt-get update
sudo apt-get install calendar-indicator

Thunderbird is now the default email client so if you want to synchronize Google Calendar with Thunderbird, see: How To Synchronize Google Calendar With Thunderbird.



Privacy: prevent some files, directories or applications activity from showing up in Dash

zeitgeist activity log manager

Zeitgeist displays your most used and recently used files and applications in Dash, which is something many of you might not want. But starting with Ubuntu 12.04, Activity Log Manager has been integrated into System Settings so you can blacklist certain file types, folders or applications from showing up in Dash. You can also use it to clear the Zeitgeist history for a period of time or completely.

zeitgeist activity log manager

To access Activity Log Manager, open System Settings and click on "Privacy". On the "Recent items" tab you can clear the Zeitgeist history or disable it completely. For more control, check out the other tabs: on the Files tab, you can blacklist some directories or file types and on the Applications tab you can blacklist some applications that you don't want to show up in Dash.



Get a global menu (appmenu) for LibreOffice


Just like in the previous releases, LibreOffice doesn't use a global menu by default in Ubuntu 12.04 Precise Pangolin, but you can get it to make use of the global menu by installing the "lo-menubar" package:
sudo apt-get install lo-menubar



Create your own quicklists


Quicklists are menu items that show up when right clicking an icon from the Unity launcher. In Ubuntu 12.04, many applications now have quicklists but there are of course some without this useful addition so if you want, you can create your own quicklists, easily, using either Ubuntu Tweak or MyUnity.

ubuntu tweak - quicklists


To install the latet Ubuntu Tweak 0.7.0 which lets you edit quicklists, use the commands below:
sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak

Or, use MyUnity instead:
sudo apt-get install myunity

After you've installed either MyUnity or Ubuntu Tweak, pin an application to the launcher and you can edit its quicklists like this:
  • in Ubuntu Tweak, under Admins > Quicklists Editor
  • in MyUnity, click on the "launcher" tab, and right under the launcher text there should be a link called "quicklists".



General tweaks (for any "shell")


Get hibernate back


Hibernate has been disabled by default in Ubuntu 12.04. You can use 'suspend' instead, but if you want hibernate back, there is a way to do it.

But firstly, what's the difference between hibernate and suspend? When using suspend, the computer disconnects everything everything except for RAM so it's still using a bit of power. Hibernate on the other hand saves everything to the hard disk, so the computer doesn't need any power, which is important for laptops and netbooks.

Before enabling hibernate, test to see if your computer supports it. To do this, open a terminal and copy/paste the following command:
sudo pm-hibernate

Your computer should switch off - turn it back on and all the applications you had open should reopen if hibernate works for your computer.

If the above test worked, you can enable hibernate in the Ubuntu power menu by running the following command in a terminal:
gksu gedit /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla

And in the newly opened file, add the following:
[Re-enable hibernate by default]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes

Then save the file.

After logging out and logging back in, "Hibernate" should show up in the power menu.



How to get a working screensaver in Ubuntu


xscreensaver ubuntu 12.04

Just like the previous Ubuntu release, the latest Ubuntu 12.04 doesn't have a screensaver by default and it uses a blank screen instead (this is actually an upstream GNOME decision). But if you really want a screensaver, you can use Xscreensaver, like we wrote about in the things to fix / tweak post for Ubuntu 11.10:
sudo apt-get remove gnome-screensaver
sudo apt-get install xscreensaver xscreensaver-gl-extra xscreensaver-data-extra
Then search for "Screensaver" in the menu and tweak its settings to your needs.

To add Xscreensaver to startup, open Startup Applications and add "xscreensaver -nosplash".

To get CTRL + ALT + L to lock the screen and start the screensaver, go to System Settings > Keyboard and on the "Shortcuts" tab, under "System", change the "Lock screen" keyboard shortcut from CTRL + ALT + L to something else, then under "Custom Shortcuts", click the "+" button to add a new custom shortcut, under "Name" enter "Xscreensaver" and under "Command" enter "/usr/bin/xscreensaver-command", then click "Apply".

And finally, click next to the newly created shortcut and press CTRL + ALT + L to assign it to it (or use any other keyboard shortcut you want, but make sure it's not already assign to something else). Alternatively, you can run the following command instead of assigning a new keyboard shortcut for the old screensaver:
sudo ln -s /usr/bin/xscreensaver-command /usr/bin/gnome-screensaver-command

To revert the changes (go back to the black GNOME Screensaver screen), use the commands below:
sudo apt-get remove xscreensaver xscreensaver-gl-extra xscreensaver-data-extra
sudo rm /usr/bin/gnome-screensaver-command
sudo apt-get install gnome-screensaver


If you've used the alternative method to assign CTRL + ALT + L to Xscreensaver lock screen, open System Settings > Keyboard again, remove the custom Xscreensaver command and assign CTRL + ALT + L back to "Lock screen" (under "System").

To get Xscreensaver not to start automatically when watching a movie, I recommend using Caffeine, a small indicator applet which you can install using the commands below:
sudo add-apt-repository ppa:caffeine-developers/ppa
sudo apt-get update
sudo apt-get install caffeine python-glade2



Make all autostart items show up in Startup Applications dialog


startup applications ubuntu

Some autostart items don't show up in the Startup Applications dialog. To get all of them to show up, use the following command:
sudo sed -i 's/NoDisplay=true/NoDisplay=false/g' /etc/xdg/autostart/*.desktop



Install Oracle Java 7


For most stuff, OpenJDK/JRE is enough (and you can install it using Ubuntu Software Center), but in case you really need Oracle (previously Sun) Java 7, you can install it (this will install JDK/JRE and the browser plugin) in Ubuntu using the WebUpd8 Java PPA:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

In case the installation doesn't work (it sometimes fails when behind a proxy), you can try to manually install Oracle Java 7.



Get Synaptic and Gdebi back


Users upgrading from Ubuntu 10.04 LTS to 12.04 LTS will probably find it a bit awkward at first to see that Ubuntu Software Center is now used to install deb files by default and not Gdebi. But if you can't get used to using Ubuntu Software Center for this, you can easily get Gdebi back and set it default for installing deb files. Install Gdebi using the following command:
sudo apt-get install gdebi

If you want to make Gdebi default, right click a .deb file, select "Properties", go to the "Open With" tab and select "GDebi Package Installer" instead of "Ubuntu Software Center". Click "Close" and double click the .deb file - it should now open with GDebi and not Ubuntu Software Center.

Synaptic has also been removed a while back so if you want to install it, simply copy/paste the following command in a terminal:
sudo apt-get install synaptic



Automatically enable working PPAs from previous Ubuntu releases


y ppa manager

When you upgrade to a new Ubuntu version, all the PPAs are disabled. The "Re-enable working PPAs feature checks if the old PPAs have been updated to work with your current Ubuntu version and if they do work, it re-enables them.

If you've just upgraded from Ubuntu 11.10 or 10.04 and want to re-enable the PPAs that work with Ubuntu 12.04, you can use Y PPA Manager to do this automatically. Make sure your Internet connection is working, then in Y PPA Manager select Advanced > Re-enable working PPAs after Ubuntu upgrade" and all the PPAs that have packages for Ubuntu 12.04 will be enabled automatically, leaving the others disabled.

If you want to do a clean Ubuntu 12.04 install, you can make a backup for the PPAs you had on your previous Ubuntu installation using Y PPA Manager, then restore the backup using Y PPA Manager on Ubuntu 12.04 and update the release name in those PPAs that work with Ubuntu 12.04 (so if a PPA has packages for Ubuntu 12.04, it will be updated to use "precise" in the .list file instead of the previous version). To do this, in Y PPA Manager select Advanced > Update release name in working PPAs.

Before any of the above tasks, make sure you make a backup using Y PPA Manager or manually.

To install Y PPA Manager in Ubuntu 12.04 LTS Precise Pangolin, use the commands below:
sudo add-apt-repository ppa:webupd8team/y-ppa-manager
sudo apt-get update
sudo apt-get install y-ppa-manager



Dropbox


And a small extra tip: If you try to install Dropbox and you get this error:
Error: Dependency is not satisfiable: libnautilus-extension1 (>= 1:2.22.2)
It's because you're trying to install the Dropbox .deb downloaded from the official Dropbox website, and it currently can't be installed in Ubuntu 12.04. But you can simply install Dropbox by searching for it in Ubuntu Software Center / Synaptic - that package should install without any issues.



Unity alternatives


If you don't like Unity (either the default Unity which uses Compiz or Unity 2D), you have many alternatives available, while continuing to use GNOME. I will only talk about official alternatives which are available in the Ubuntu repositories, but in case you don't like them, there's also Cinnamon, a GNOME Shell fork that uses a GNOME2-like layout and Mate, or you can use a different Ubuntu flavor like Xubuntu, Lubuntu or Kubuntu.



Classic GNOME session - looks almost the same as GNOME 2


If you prefer the old GNOME 2 layout, you can install the classic (also known as fallback) GNOME session in Ubuntu 12.04 - you'll get almost the same look as in GNOME 2: Ubuntu AppIndicators and the default indicators (Messaging Menu, Sound Menu and so on), Compiz and panel applets. 

The theme needs some fixes (the panel has a few visual glitches) for the classic GNOME session and they will probably come with a later Ubuntu 12.04 update. Here's how the Classic GNOME session looks like in Ubuntu 12.04:

classic gnome session

To install the Classic GNOME Session, use the following command in a terminal:
sudo apt-get install gnome-session-fallback

Once installed, log out and select "GNOME Classic" from the login screen:

classic session login screen

Note: to be able to access the GNOME panel settings or add applets, you need to hold the ALT key and right click the panel instead of simply right clicking it, as it used to be in GNOME 2.



GNOME Shell

gnome shell ubuntu

The latest GNOME Shell 3.4.1 is available in the official Ubuntu 12.04 LTS Precise Pangolin repositories, even though it was initially announced that the latest version won't make it into Precise. So to install it, simply search for GNOME Shell in Ubuntu Software Center or use the following command:
sudo apt-get install gnome-shell

And then select "GNOME" from the login screen.

GNOME Shell has a tweaking tool so if you want to change some of its configuration options or the theme, install GNOME Tweak Tool:
sudo apt-get install gnome-tweak-tool

To be able to change the GNOME Shell theme (not GTK/window theme), you'll also need the GNOME Shell User Theme extension. You can install it, along with all the official GNOME Shell extensions by using the WebUpd8 GNOME 3 PPA:
sudo add-apt-repository ppa:webupd8team/gnome3
sudo apt-get update
sudo apt-get install gnome-shell-extensions

Then restart GNOME Shell (ALT + F2 and enter "r" or log out and log back in) and use GNOME Tweak Tool to activate the extensions you want to use.

These aren't the only GNOME Shell extensions available in the WebUpd8 GNOME 3 PPA - many other unofficial extensions can be installed easily through our PPA. See the following posts for details:

And of course, there's also the GNOME Shell extensions website which offers a huge list of extensions that you can install with a click. Note: you need to use GNOME Shell to be able to see the available extensions and install them.


This post is still work in progress and more tweaks and tips will be added later on, so make sure you keep an eye on it. Oh, and if you have a suggestion for something that you think should belong here, lets us know in the comments!

You might also like: