ubuntu 14.04

Ubuntu Tweak, the popular Ubuntu configuration tool, has just released version 0.8.7 a few hours ago. According to the changelog, the new release added or fixed:

  • add support for Ubuntu 14.04 Trusty Tahr
  • add Support for Minimize from Unity Launcher
  • add toggle for Nautilus Recursive Search
  • Fix the nautilus scripts support for Ubuntu 13.10 and later
  • Going to workspace adjustement automatically add keyboard shortcut for fade screen
  • Missing options: fonts, desktop icons,window, file manager
  • Never crash when sources.list is not parsable

Install Ubuntu Tweak Ubuntu 14.04

Install Ubuntu Tweak Ubuntu 14.04

Install Ubuntu Tweak 0.8.7 in Ubuntu 14.04:

Ding Zhou, the app developer, has built this release into PPA for Ubuntu 14.04, Ubuntu 13.10, Ubuntu 12.10 and Ubuntu 12.04.

To install it, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run the commands below one by one:

sudo add-apt-repository ppa:tualatrix/ppa

sudo apt-get update

sudo apt-get install ubuntu-tweak

If you don’t want to add the PPA, download & install the deb at here.

shutdown ubuntu when lid is closed

Already upgraded to Ubuntu 14.04? Well, you may want to change your laptop behaviour when the lid is closed.

You can easily set the vaule to “Suspend” or “do nothing” in System Setting -> Power window. Here’s how to shutdown (or hibernate) Ubuntu when you close the lid of your laptop.

ubuntu lid closed setting

To get started:

1. Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run the command below to open the configuration file via gedit editor:

sudo gedit /etc/systemd/logind.conf

Replace gedit with vi or other text editor if you’re on Server edition.

2. Find out the line #HandleLidSwitch=suspend, remove the # and change it to:

  • HandleLidSwitch=poweroff to shutdown computer when lid is closed
  • HandleLidSwitch=hibernate to hibernate computer when lid is closed
  • HandleLidSwitch=ignore to do nothing

3. Save the file and restart the service or just restart your laptop to apply changes.

sudo restart systemd-logind

That’s it. Enjoy!

save ubuntu backlight settings

Laptop users still have the backlight issue in Ubuntu 14.04. Every time Ubuntu boots up you get the maximum level of screen brightness.

Here’s a workaround by adding a startup script which will automatically adjust screen brightness when Ubuntu boots up.

To get started:

1. Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run the command below will give you the maximum level of your laptop backlight:

cat /sys/class/backlight/acpi_video0/max_brightness

Mine is 9, so I can set backlight level from 0 to 9.

2. Run the command below one by one. You’ll get the super user privilege and open the /etc/rc.local file, a script executed at the end of each multiuser runlevel, with gedit editor.

sudo -i

gedit /etc/rc.local

Add the line below before the last. Change the number 0 to the brightness level you want.

echo 0 > /sys/class/backlight/acpi_video0/brightness

save screen brightness ubuntu 14.04

That’s it. Enjoy!

disable guest ubuntu 14.04

Ubuntu 14.04 LTS is Out! One of the first things to do after upgraded to or installed the Trusty Tahr is disable the Guest Session. Here I’ll show you how.

In Ubuntu 14.04 Trusty, the configuration files for LightDM has been moved to /usr/share/lightdm directory. I could only guess that the previous location “/etc/lightdm” is in preparation for giving the login option of logging in to a Unity 8 preview session running on Mir/Xmir.

Anyhow, you can follow the below steps to remove Guest Session in Ubuntu 14.04:

1. Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run the command below to edit the config file:

sudo gedit /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf

Type in your user password when prompt.

2. Add this line in the end of file and save it.

allow-guest=false

disable guest ubuntu 14.04

That’s it. Guest Login will disappeared at next boot.

Grub Customizer is a graphical tool for managing the Grub boot entries in Ubuntu Linux.

With it, you can set the default OS, add/remove boot entries, change boot order, set an background image, and more.

This simple tutorial is going to show you how to install the Grub Customizer in Ubuntu 14.04 Trusty Tahr from the developer’s PPA.

Grub Customizer 4.0

To get started:

press Ctrl+Alt+T on keyboard to open the terminal. When it opens, paste the commands below and run one by one:

sudo add-apt-repository ppa:danielrichter2007/grub-customizer

sudo apt-get update

sudo apt-get install grub-customizer

Once done, you’re able to open this tool from the Unity Dash or application menu. Enjoy!