Sunday, April 28, 2013

7 Things To Do After Installing Ubuntu 13.04 (Raring Ringtail)

1. Tweak Unity.

Unity Tweak Tool is a pretty new application that's available in the Ubuntu 13.04 repositories, which you can use to tweak Unity: change various aspects of the Unity interface such as auto-hide behavior, change the Unity Launcher icons size, color, and more, set up hotcorners, tweak the Dash search, change the GTK, icon theme or fonts and much more.

use the following command in a terminal to install it:

sudo apt-get install unity-tweak-tool

If you use GNOME Shell, install GNOME Tweak Tool instead.

2. Privacy settings.

By default, Dash may display private files but there's an easy way to prevent this: open System Settings > Privacy and here, you can: * delete recent history * blacklist applications or folders / partitions from showing up in Dash Here, you can also set Dash not to include online search results. This will disable the controversial Shopping Lens along with the other online searches performed by the Friends lens or the Photo lens.

If you don't want the Shopping Lens but want to be able to use the other online scopes / lenses, you can simply uninstall the Shopping Lens:

sudo apt-get remove unity-lens-shopping

And finally, if you constantly change the privacy settings (e.g.: often disable Zeitgeist logging; Zeitgeist is used to log the files that show up in Dash), you can use Privacy Indicator which lets you clear the Zeitgeist (and thus, Dash) logs, clear the recent files list (which shows up in the Nautilus "Recent" sidebar item for example), and quickly enable/disable Zeitgeist logging or the online search results.

To install Privacy Indicator in Ubuntu 13.04, use the following commands:

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

3. Solution for popular missing features: weather and calendar indicators.

Two features that Ubuntu lacks in my opinion are weather and calendar indicators. Hopefully, the Ubuntu developers will have some time to fulfill these popular feature requests soon, but until then we can use some third-party indicators that work great. There's a weather indicator available in the official Ubuntu 13.04 repositories / Ubuntu Software Center, but it doesn't work properly so we'll use My Weather Indicator instead. To install it in Ubuntu 13.04, use the following commands:

sudo add-apt-repository ppa:atareao/atareao sudo apt-get update sudo apt-get install my-weather-indicator

My Weather indicator supports OpenWeatherMap and Yahoo weather services out of the box and you can also use Wunderground or World Weather Online if you sign up to get your own API

Besides a cool indicator that gives you quick access to the current weather, weather forecast and a forecast map, the application also comes with (optional) desktop widgets:

Another feature that, at least in my opinion, Ubuntu lacks, is a proper calendar. I use Google Calendar and if you use it too, you'll love Google Calendar Indicator, an application that can be used to easily add new Google Calendar events, display your current events with notifications, browse your calendars and so on.

Install Google Calendar Indicator using the following commands:

sudo add-apt-repository ppa:atareao/atareao sudo apt-get update sudo apt-get install calendar-indicator

4. Improve battery life, other important tweaks

Jupiter used to be one of the first things to install after a fresh Ubuntu installation, but unfortunately the application has been discontinued and the old version doesn't work properly in Ubuntu 13.04. But, if battery life is what you're interested in, you can use TLP, a tool that you install and then forget about it because it automatically tweaks your system for better power usage / battery life. To install TLP in Ubuntu 13.04, use the following commands:

sudo add-apt-repository ppa:linrunner/tlp sudo apt-get update sudo apt-get install tlp tlp-rdw sudo tlp start

If you're using an Nvidia Optimus laptop, also install Bumblebee or else both graphics cards will be powered on all the time, even though the Nvidia graphics card isn't used:

sudo add-apt-repository ppa:bumblebee/stable sudo apt-get update sudo apt-get install bumblebee bumblebee-nvidia

Currently, there's a bug with Bumblebee 3.1 and Ubuntu 13.04 (and version 3.2 which fixes this has been released a couple of days ago, but then removed from the PPA because it has a nasty bug and doesn't work at all in Raring, no fix has been found yet) and trying to use "optirun", you'll get an error similar to the one below:

[ 28.507128] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected. [ 28.507158] [ERROR]Aborting because fallback start is disabled.

So to get Bumblebee to work in Ubuntu 13.04 Raring Ringtail, do the following: a) Run the following command to find out the BusID for your Nvidia graphics card:

lspci | grep NVIDIA

The BusID is the number in the beginning of the line returned by the command above. Here's how the output for the command above looks like on my laptop:

01:00.0 VGA compatible controller: NVIDIA Corporation GF116M [GeForce GT 555M/635M] (rev a1)

The BusID is the number in bold, "01:00.0" in my case. b) Now we'll have to add the BusID to /etc/bumblebee/xorg.conf.nvidia and for this, we'll open the file as root with a text editor (I'll use Gedit in the command below):

gksu gksu gedit /etc/bumblebee/xorg.conf.nvidia

("gksu" is used twice intentionally so that Gedit doesn't open a blank tab next to our file) And in this file, in the "Device" section, add the following:

BusID "PCI:YOUR_BUS_ID"

Replacing "YOUR_BUS_ID" with the BusID returned by the command used under step a). For me (remember, for you, the BusID may be different), this line looks like this:

BusID "PCI:01:00:0"

Then, restart your system and Bumblebee should work so when you want to run an application or game on your Nvidia card, use:

optirun APP_OR_GAME

Where "APP_OR_GAME" is the game or application executable. To test the performance with Bumblebee, use:

optirun glxspheres

If it still doesn't work, try restarting your system and make sure you've correctly configured Bumblebee to use the installed Nvidia drivers (you can use Bumblebee Configurator GUI for this).

This doesn't have anything to do with battery life is an important tweak nevertheless: if you're using a SSD, it's pretty important to enable TRIM so its performance doesn't decrease over time.

5. Fix Google Chrome, Skype.

Google Chrome has a bug and can't be installed on fresh Ubuntu 13.04 installations. The bug currently affects Google Chrome Stable and Beta (has already been fixed in Google Chrome Dev) and until Google fixes it (it's not an Ubuntu bug)

Skype currently crashes on start for Ubuntu 13.04 users that have installed the proprietary Nvidia drivers. The bug also affects some AMD / ATI proprietary graphics drivers users and some of them have reported that the fix below works for them too. To fix this issue with proprietary Nvidia drivers (and possibly AMD) and Skype, use the following command:

sudo sed -i 's/^Exec=skype.*/Exec=bash -c "export LD_PRELOAD=\/usr\/lib\/i386-linux-gnu\/mesa\/libGL\.so\.1 \&\& skype %U"/' /usr/share/applications/skype.desktop

In case you want to revert the change made by the command above, use the following command:

sudo sed -i 's/^Exec=bash.*/Exec=skype %U/' /usr/share/applications/skype.desktop

6. Migrate / upgrade PPAs (advanced users)

If you've upgraded from Ubuntu 12.10 to Ubuntu 13.04, all your PPAs were disabled in the process. Ubuntu 13.04 already has the latest version for most packages, but there are some that aren't the latest version or you may want to install some applications that aren't available in the official repositories / Ubuntu Software Center. Y PPA Manager can help you with this: it can automatically re-enable the PPAs that work with Ubuntu 13.04, leaving the others disabled. For this, open Y PPA Manager (installation instructions below) and under "Advanced", select "Re-enable working PPAs after Ubuntu upgrade" and wait until Y PPA Manager scans all your PPAs, checks if they work with Ubuntu 13.04 and if they do, it enables them. We have a tip for fresh installs too regarding this: if you've backed up the PPAs you had on an older Ubuntu version (e.g. using Y PPA Manager), you can restore the backup in Ubuntu 13.04 and use Y PPA Manager to update the PPAs to Ubuntu 13.04, but only for the PPAs that actually work on Ubuntu 13.04, leaving the others as they are so you don't get any 404 errors. To do this, in Y PPA Manager > Advanced, select "Update release name in working PPAs", under "Current Ubuntu version" enter: "raring" (without the quotes) and under "Previous Ubuntu version" enter the Ubuntu version from which you've copied the PPAs from (e.g.: quantal), then click OK and wait for the application to scan all your PPAs and upgrade to Raring those that support it. To install Y PPA Manager, use the following commands:

sudo add-apt-repository ppa:webupd8team/y-ppa-manager sudo apt-get update sudo apt-get install y-ppa-manager

7. Install codecs, Java.

To be able to play most audio and video formats, install Ubuntu Restricted Extras by using the following command:

sudo apt-get install ubuntu-restricted-extras

I suggest to also install the unrestricted versions of libavformat and libavcodec so you don't encounter issues with missing codecs when trying to use some video editors or transcoders - install them by using the following command:

sudo apt-get install libavformat-extra-53 libavcodec-extra-53

You may also need Java, but you must figure out what you need. Most users will only need OpenJRE and the Java browser plugin which you can install by using the following command:

sudo apt-get install icedtea-7-plugin openjdk-7-jre

Now it's your turn. What are the first things you install or tweak after installing Ubuntu?



0 comments:

Post a Comment