Quantcast
Channel: CodeSection,代码区,Linux操作系统:Ubuntu_Centos_Debian - CodeSec
Viewing all articles
Browse latest Browse all 11063

Customizing ubuntu for the likes of a developer

$
0
0

I have been using ubuntu for the past 5 years and have done a lot of customization which helped me in organizing and optimizing the desktop and system for the time I spent on it. And this is how it looks now.

This slideshow requires javascript.

Recently I had written an answer in quora regarding the customization done by programmers to their system and received a lot of requests to share how I did my setup. So in this post , I am going give a step by step guide on how to customize the ubuntu desktop.

Kindly note that the steps below are based on the customization I have done based on my preferences and may not be suited for your use case. Nevertheless, these customization has proved to be worthy of my time and is helping me a lot as programmer on my day to day work.

Thesystem

I am currently using a Thinkpad T420 , Core i5 2.5 Ghz , 16GB ram and 120 GB SSD drive. You can read the post of how to upgrade your Thinkpad here .

Thinkpad T420 Ubuntu 14.10 LTS 1600 x 900 px resolution

Most of the customization links / installation commands are based on the Ubuntu 14.10 , you may find the alternate repository for other versions.

Ubuntu Customization

So , lets start with the customization. We are going to customize / install following components of ubuntu

Disabling of unitylauncher Installing docky ( Dock ) Installing synapse Configuring conky Installing icons Configuring font Terminal The wallpaper Other softwares

We will see each in details below:

Disabling unitylauncher

I don’t have anything against the unity dash. It has improved a lot from the day it was first launched. But I still feel that the dash is missing so important actions and aesthetics that is required for the desktop. This may be due to the fact that I am also a fan of Mac look and feel

So first things first, lets disable the unitylauncher. But its not easy as it sounds. There is no option to disable the launcher completely !!!. I mean, there is not switch that you flip to remove the launcher. We need to do a hack for doing this. This will only prevent the launcher from showing up in the desktop.

Right click on the desktop and click on “Change desktop background” It will open up the following dialog and select the tab “Behaviour”
Customizing ubuntu for the likes of a developer
We need to make sure that the reveal location is “Top left corner Set the reveal sensitivity to “Low” Also set the “Auto hide the laucher” to true

This will prevent the launcher from showing up in the desktop again.

Installing docky ( Dock )

Since there is no launcher , we need to immediately have a replacement. The best dock money can buy is obviously “Docky”

$ sudo add-apt-repository ppa:ricotz/docky

$ sudo apt-get update

$ sudo apt-get install docky

You can run docky and it will appear at the bottom of the screen by default. Clicking on the dock icon ( The first icon in the dock and customize the dock )


Customizing ubuntu for the likes of a developer
Installing synapse

Since the launcher is not visible, we need an alternate arrangement to find and launch the applications.

We have a super fast application launcher called synapse. Get a terminal window and fire up the following commands:

sudo add-apt-repository ppa:synapse-core/ppa

sudo apt-get update

sudo apt-get install synapse


Customizing ubuntu for the likes of a developer

You can configure synapse by clicking on the top right button of synapse which opens the Settings screen. I have configured the <Super> Space as the trigger, you may set what best suits you.

Clicking the activate button will bring up synapse and you can start typing the first letters and your files and applications will be magically presented without any delay.


Customizing ubuntu for the likes of a developer
Configuring conky

One of the major elements that provide the unique look in the desktop is the conky tool. Conky is basically a customizable monitoring system that can draw over the desktop without affecting the windows.

For using conky , you need to install the conky tool first

sudo apt-get install conky

You can run conky by typing just “conky” on the terminal. Conky needs a configuration file to show the elements in the desktop. If conky is run without any parameters, then configuration is taken from ~/.conkyrc file. This is the file in your home directory.

For my system, I have used a custom conky theme called Infinity conky and did some customizations of my own.

Details of the infinity conky theme can be seen here

You can find the file I am using in my github repository

https://github.com/sandheepgr/ubuntu-customization/tree/master/ubuntu-customization/unity

You will find .conky file and .conkyrc file. You need to put both under the home folder. Please note that the files and folders starting with . (dot) are hidden by default in the ubuntu file explorer. You will need to press Ctrl + H to show these files.

Once the files are copied, you can kill conky and start again and it will display the conky configuration elements in your desktop. The .conkyrc file is optimized for the resolution of 1600 x 900 ( my display ) . You may play around with the offset values in conkyrc file to match your setup.

Installing icons

Icons plan an important role in the look and feel of the system. I am currently using the numix circle icon set and has found it to really go well with the dock.

sudo apt-add-repository ppa:numix/ppa

sudo apt-get update

sudo apt-get install numix-icon-theme numix-icon-theme-circle

You can find more details about the icons in the noobslab link .

Once you install the icons, you need to select the icon theme. This is done using an inevitable tool called “Ubuntu Tweak”. Install it using the following commands

sudo add-apt-repository ppa:tualatrix/ppa

sudo apt-get update

sudo apt-get install ubuntu-tweak

Open the application and you will see the following below:


Customizing ubuntu for the likes of a developer

Click on the “Tweaks” tab and then on the “Theme” button. Here you can select the icon theme for the system.


Customizing ubuntu for the likes of a developer
Configuring font

The default font shipped with ubuntu is fair enough. But I like the Droid sans better and have changed the system font to reflect that.

You can download the font from here and extract the content to ~/.local/shar

Viewing all articles
Browse latest Browse all 11063

Trending Articles