Unity Tweak Tool

Unity Tweak Tool is the tool to manage the desktop settings on Ubuntu. This tool seems to be a fork or updated version of the GNOME Tweak Tool.

  • It can be installed from the Ubuntu archives:
$ sudo apt install unity-tweak-tool
  • It can be started as Unity Tweak Tool from the Dash or unity-tweak-tool from the shell.

  • I primarily use it to set the fonts in the desktop apps.

  • Note that when you change the Default Font, the entire desktop has to be restarted. Unity will kill all your desktop apps, logout of your session and leave you at the login screen!

Tried with: Unity Tweak Tool 0.0.6 and Ubuntu 14.04

GNOME Tweak Tool

GNOME Tweak Tool
GNOME Tweak Tool

GNOME Tweak Tool is a tool that can be used to change the fonts and other UI elements of GNOME. Since Ubuntu Unity is based on GNOME, this affects how many of your applications and desktop will look.

Installing the tool is easy:

$ sudo apt install gnome-tweak-tool

It can be invoked from the Dash as Tweak Tool or from the shell as gnome-tweak-tool.

I typically use this tool to change the fonts for the Window Titles, Interface and Documents. These apply to an astonishing array of UI elements in many applications that are built on GTK or GNOME.

Tried with: GNOME Tweak Tool 3.10.1-2 and Ubuntu 14.04

How to change font and colors of Tooltips

20150130_tweak_tooltips

The font, font size, foreground color and background color of Tooltips in Ubuntu can be changed. This can be important since Tooltips are used by applications in Eclipse.

  • To change the font and the font size: Open GNOME Tweak Tool, go to Fonts section and set the font and font size for the Interface element.

  • To change the foreground and background colors: Open GNOME Color Chooser, go to Specific -> Tooltips and set the colors you want.

Restart your application to see the effect of these changes.

Tried with: GNOME Tweak Tool 3.10.1-2, GNOME Color Chooser 0.2.5 and Ubuntu 14.04

How to disable caps lock in Linux

The caps lock key is a vestige from older times. It is completely useless today and extremely irritating because it gets turned on by mistake while using programs like Vim. It is a good idea to turn it off completely by disabling it.

The setxkbmap program can be used to disable caps lock completely in all desktop environments and window managers by mapping it to the Ctrl key:

$ /usr/bin/setxkbmap -option '' -option 'ctrl:nocaps'

To apply this setting every time you login to any desktop environment, add the above line to your ~/.profile file. Log out and login to see the effect of this option.

Other methods to disable caps lock that I used to try earlier are given below:

KDE

  • In newer versions of Kubuntu: System Settings → Input Devices → Keyboard
  • In older versions of Kubuntu: System Settings → Hardware → Keyboard → Advanced.
  • Enable Configure keyboard options and under the tree of options choose Caps Lock is disabled.

Ubuntu 14.04

Install the GNOME Tweak Tool:

$ sudo apt-get install gnome-tweak-tool

Open it by typing Tweak Tool in the Dash. Choose Typing → Caps Lock key behavior. Confusingly, it is shown as Disabled. But this means that any customization on that is disabled. In the dropdown choose Caps Lock is disabled option and you are done!

Ubuntu 12.04

Open Keyboard Layout and click on the keyboard layout you are using, for example English (US). Click on Options → Caps Lock key behavior and choose Caps Lock is disabled.