w_make160

21
22 Useful Tweaks To Make Ubuntu Feel Like Home by Danny Stieben Ubuntu is a pretty good Linux distribution to start out with, but there are some tweaks you might want to perform to get it to work and behave the way you want it to. This is especially true if you’re new to Ubuntu or Linux. If you’ve jumped over from Windows XP, you’ve made a good choice. Here we’ll show you some great tweaks that can go a long way to achieving desktop zen. Install Proprietary Drivers The first thing you should do is install proprietary drivers, if available. These drivers are provided by the manufacturer and generally allow your hardware to function better than the open source drivers that come with Ubuntu. Whether or not proprietary drivers are actually available for installation depends on your system’s hardware, as some hardware doesn’t have a proprietary driver or the open source driver performs best. As a reference, the most common types of hardware that have proprietary drivers available are for AMD and NVIDIA graphics cards, and Broadcom wireless chipsets. You can check for proprietary drivers by going into the Software & Updates utility and clicking on the Additional Drivers tab.

Upload: ppetraka

Post on 26-Dec-2015

167 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: w_make160

22 Useful Tweaks To Make Ubuntu Feel Like Home!by Danny Stieben!

Ubuntu is a pretty good Linux distribution to start out with, but there are some tweaks you might want to perform to get it to work and behave the way you want it to. This is especially true if you’re new to Ubuntu or Linux. If you’ve jumped over from Windows XP, you’ve made a good choice.!

Here we’ll show you some great tweaks that can go a long way to achieving desktop zen.!

Install Proprietary Drivers!The first thing you should do is install proprietary drivers, if available. These drivers are provided by the manufacturer and generally allow your hardware to function better than the open source drivers that come with Ubuntu.!

Whether or not proprietary drivers are actually available for installation depends on your system’s hardware, as some hardware doesn’t have a proprietary driver or the open source driver performs best. As a reference, the most common types of hardware that have proprietary drivers available are for AMD and NVIDIA graphics cards, and Broadcom wireless chipsets.!

You can check for proprietary drivers by going into the Software & Updates utility and clicking on the Additional Drivers tab.!

Page 2: w_make160

Install Graphical Firewall Config Utility!

Next, you’ll want to install a graphical firewall configuration utility, so that you can enable and configure a firewall for your system. Although Linux is known for being virtually immune to viruses, it’s still possible for hackers to remotely gain access to your system if there isn’t a firewall protecting your network ports.!

To get this, run the command sudo apt-get install gufw. With this you’ll have an easy way to configure your firewall.

Page 3: w_make160

Gain More Tweak Settings!

In order to gain access to a large amount of tweak settings, you should install Gnome Tweak Tool and Ubuntu Tweak. Both of these applications allow you to perform a myriad of tasks and change various aspects of your desktop, especially Gnome Tweak Tool. Once you have them installed, take a moment to look through the settings – even if you don’t want to change anything right now, you might want to know that the possibility exists to change something later.!

Gnome Tweak Tool can allow you to change related to the window, desktop, icons, font hinting, and much more. Ubuntu Tweak, on the other hand, can provide a few tweaks but also offers shortcuts for system-related tasks and various janitorial tools.!

To install them, run the command sudo apt-get install gnome-tweak-tool. Ubuntu Tweak, the last tweak tool, usually does not have its latest version in the repos, so you should get it manually.!

!

Page 4: w_make160

Install Codecs, Pipelight and Other Goodies!

To get the most out of your computer, you’ll want to install some additional proprietary software. For instance, you should install Flash so you can get the best experience on all websites, Pipelight to gain Silverlight capabilities which is great for watching Netflix, Oracle’s version of Java for better compatibility over the open source implementation, “Ubuntu Restricted Extras” which, among other things, installs the Microsoft Core Fonts like Times New Roman, various codecs so you don’t have to worry about which media format you’re playing, and DVD playback libraries so you can enjoy DVDs on your computer (provided you have a DVD drive).!

You can do this by running the command:!

sudo add-apt-repository ppa:pipelight/stable && sudo apt-get update && sudo apt-get install ubuntu-restricted-extras gstreamer0.10-ffmpeg libxine1-ffmpeg gxine mencoder libdvdread4 totem-mozilla icedax tagtool easytag id3tool lame nautilus-script-audio-convert libmad0 mpg321 pipelight-multi && sudo /usr/share/doc/libdvdread4/install-css.sh && sudo pipelight-plugin --enable silverlight.!

This command will install many different codecs, the needed DVD playback libraries, and Pipelight. It will also perform steps to complete the DVD playback and Pipelight installation. If a pop-up appears after opening your browser after running this command, that is normal.

Page 5: w_make160

CompizConfig Settings Manager and Extra Compiz Plugins!In years past, Linux was known for having “flashy” desktops that offered all sorts of eye candy. While that phase of Linux’s history has diminished, the software that powered all the eye candy is still there (and is used to run Unity!) To configure it, you’ll want to install the CompizConfig Settings Manager.!

You can also install some extra plugins which provide more effects that you can configure to your liking. While this certainly allows you to make your desktop flashy, it can also be used to increase your productivity if you invoke the right plugins. For example, there’s one tweak that allows you to locate the pointer after pressing a predefined keyboard shortcut. Another tweak allows you to use the “desktop cube”, which can make switching between virtual desktops much easier to understand.!

To get this, run the command sudo apt-get install compizconfig-settings-manager compiz-plugins-extra. This will install the configuration utility as well as some extra plugins for the framework.

Page 6: w_make160

Remove Amazon Results from Dash!

Ubuntu added Amazon integration into the Unity Dash a few releases ago. While many people complained that their privacy was at risk since every search was being sent to Amazon’s servers, I personally just found the Amazon results unnecessary for my needs.!

To remove the Amazon search results from the Dash, simply run the command sudo apt-get autoremove unity-lens-shopping and restart. This will get rid of the Dash lens that is responsible for those results.!

Alternatively, you can also go into the System Settings –> Privacy, and disable Online Search Results. Do note that this toggle will affect not just the Amazon search results, but also any other dash lenses that require the Internet to function.

Page 7: w_make160

Change Scroll Overlays to Scrollbars!

Ubuntu added scroll overlays which were meant to be a touch-friendly and space saving feature. But not everyone likes the change, as some still prefer good ol’ scrollbars.!

To change back to those, run the command gsettings set com.canonical.desktop.interface scrollbar-mode normal. This changes a setting in GNOME’s “registry” to let it know that you want normal scrollbars back.

Page 8: w_make160

Display Name In Top-Right Corner!

If you have multiple users on your computer, it might be nice to have your name displayed in the top right corner of your screen to verify that you’re logged in to the right account.!

To enable this, run the command gsettings set com.canonical.indicator.session show-real-name-on-panel true. This changes a setting in GNOME’s “registry” to enable the display of your name.

Page 9: w_make160

Remove White Dots From Login Screen!

Speaking of logging in, do you like the grid of white dots on the login screen? If not, you can get rid of them! Run this command and it’s as if they were never there!!

To get rid of them, run the following commands in order:!

sudo xhost +SI:localuser:lightdm!

sudo su lightdm -s /bin/bash!

gsettings set com.canonical.unity-greeter draw-grid false!

These commands will allow you to run commands in lightdm’s name (the program that runs the login screen) and run the command that changes a setting in GNOME’s “registry” to disable the dots.

Page 10: w_make160

Disable Guest Account!Guest accounts on a computer can be useful, but some people (myself included) see them as a waste of space.!

To disable the guest account, run the command sudo gedit /etc/lightdm/lightdm.conf and add this line to the end of the file: allow-guest=false!

This is a simple configuration file modification which the system reads during each boot up.

Page 11: w_make160

Enable Hibernation!I’m personally not sure when this happened, but apparently Ubuntu’s hibernation feature is now disabled by default. I used to hibernate my computer quite frequently, so I miss having the feature.!

Thankfully, there’s yet another command that you can run to enable hibernation for your system. Just make sure that your system has a swap partition on the hard drive that is at least as big as the amount of installed RAM.!

For good measure, you should make the swap partition 125% the size of the installed RAM. For example, that means that you should create a swap partition that is 5GB if you have 4GB of RAM installed. This will allow you to hibernate even if the RAM is completely used up and a small portion of the swap partition is used as well. If you’re working with a smaller hard drive, then you should at least try to make the swap partition 105% of the installed RAM for hibernation to be successful.!

To enable hibernation, run the command sudo gedit /var/lib/polkit-1/localauthority/50-local.d/hibernate.pkla and copy and paste the following into that file:!

[Re-enable Hibernate]!

Identity=unix-user:*!

Action=org.freedesktop.upower.hibernate!

ResultActive=yes!

This makes a configuration file modification which the system will read during each boot up.

Page 12: w_make160

Install TLP!

We covered TLP a while back, which is a piece of software that can optimize your power settings so that you can enjoy a longer battery life. We talked about TLP in depth before, and it’s a good item to mention in this list as well. To install it, run the following command in a terminal:!

sudo add-apt-repository -y ppa:linrunner/tlp && sudo apt-get update && sudo apt-get install -y tlp tlp-rdw tp-smapi-dkms acpi-call-tools && sudo tlp start!

This will add the necessary repository, update the package lists so that it includes the new packages provided by the new repository, installs TLP, and starts the service.

Page 13: w_make160

System Load Indicator!

Adding a system load indicator to your Ubuntu desktop can give you an idea of how much of your system’s resources are being used at a quick glance. You don’t have to add this if you’d rather not have technical graphs on your desktop, but it’s a good addition for those who are interested in something like this. You can install it by running the terminal command:!

sudo apt-get install indicator-multiload!

Then, find it in the Dash and launch it.

Page 14: w_make160

Weather Indicator!

Ubuntu used to offer a built-in weather indicator, but since it switched to Gnome 3 as the backbone, this hasn’t been included by default. Instead, you’ll need to install a separate indicator. You can install it by running the command:!

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

This will add another repository, update the package lists, and install the indicator. Then, find it in the Dash and launch it.

Page 15: w_make160

Install Dropbox or Other Cloud Storage Solution!

One of the things that I have to install on all my Linux systems is Dropbox. Without it, it just really doesn’t feel like home, mainly because all of my most-used files are stored on Dropbox. Installing Dropbox is pretty straightforward, but it takes a bit more than just a simple command. Before you even start, you need to run this command to be able to see the Dropbox icon in the icon tray:!

sudo apt-get install libappindicator1!

Then you need to head to Dropbox’s download page and install the .deb file that you download. You should now have Dropbox going.!

If you’re a bit tired of Dropbox, you can also try using Copy or even OneDrive. Both services offer more storage for free, which is a big reason to consider using them. I recommend Copy more than OneDrive because Copy can work on all Linux distros.

Page 16: w_make160

Install Pidgin and Skype!

It’s great to stay connected with friends, and if you use instant messaging, you’re in luck. Pidgin and Skype are both pretty good on Linux, and they are able to connect to all the major networks. Installing Pidgin is as easy as running the command sudo apt-get install pidgin. Installing Skype is also easy — you just need to head to Skype’s download page and get the .deb file under Ubuntu 12.04 multiarch.

Page 17: w_make160

Remove Keyboard Indicator!

Having the keyboard indicator appear on the desktop can be annoying for some. For English speakers, it just shows “EN”, and it’s potentially annoying because a lot of people don’t have a need to change keyboard layouts or be reminded that they are speaking English. To remove the indicator, choose System Settings, then Text Entry, and then uncheck “Show current input source in the menu bar”.

Page 18: w_make160

Bring Back Classic Menu!

Before Ubuntu made the switch to Unity, it had used Gnome 2 as the default desktop environment. This included a simple menu for accessing your installed applications, which had categories such as Games, Office, Internet, and more. You can get this “classic menu” back with another simple package. To install, run the command:!

sudo add-apt-repository -y ppa:diesch/testing && sudo apt-get update && sudo apt-get install -y classicmenu-indicator

Page 19: w_make160

Install Flash and Java!While in the previous tips article I mentioned installing codecs and Silverlight, I should have probably included Flash and Java as they are also major plugins that people need, although sometimes they can be forgotten about. To install both of them, run the command:!

sudo add-apt-repository -y ppa:webupd8team/java && sudo apt-get update && sudo apt-get install oracle-java7-installer flashplugin-installer!

The additional repository is needed for installing Java because Ubuntu no longer includes the proprietary version (which most people recommend for best functionality), but rather just the open source OpenJDK implementation.

Page 20: w_make160

Install VLC!

The default media player, Totem, is pretty good but it relies on separately-installed codecs to work properly. I’d personally recommend you install the VLC media player, as it includes all codecs and supports virtually every media format under the sun. To install it, just run the command sudo apt-get install vlc.

Page 21: w_make160

Install PuTTY (Or Not)!

Lastly, if you’ve used PuTTY for all of your SSH needs, you have two options: install PuTTY for Linux, or just use the terminal directly. Installing PuTTY can be done with the command sudo apt-get install putty if you want to install it using the terminal. However, there’s no direct need to install it, because you can connect to any remote host with the command ssh [email protected], where you replace “username” with the username you’d like to connect as, and replace “this.domain.here” with the host’s actual domain name or IP address — both work.!

With these additional 22 tweaks, you should feel right at home in your Ubuntu installation, which can easily make or break your Linux experience. There are so many different ways to customize your experience to make it suit your needs; you just have to look around for yourself to see what you want.!

!Copyright © 2014, MakeUseOf. All Rights Reserved ®.