Archives For Ubuntu 16.04

gnome shell

It’s been a long time last time I wrote about how to enable “Open as root” or “Open as Administrator” in Nautilus’ context menu.

A Nautilus extension called Nautilus Admin has been created for a period of time. It’s a simply Python script that adds some administrative actions to the right-click menu:

  • Open as Administrator: opens a folder in a new Nautilus window running with administrator (root) privileges.
  • Edit as Administrator: opens a file in a Gedit window running with administrator (root) privileges.

To install the Nautilus extension:

The extension is available for all current Ubuntu releases: Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.10, and Ubuntu 18.04.

1. Simply open “Terminal” either via Ctrl+Alt+T or from app launcher. Then run command:

sudo apt-get install nautilus-admin

Input your password (no visual feedback while typing) when it prompts and hit Enter.

2. Then restart Nautilus via command:

nautilus -q

That’s it. Open nautilus file browser again and enjoy with new context menu options!

Visual Studio Code IDE

MicroSoft’s Visual Studio Code IDE now is super easy to install in Ubuntu 14.04, Ubuntu 16.04, and higher via the Snap package format.

David Callé announced the availability of Visual Studio Code as a Snap a day ago:

Launched in 2015 by Microsoft, Visual Studio Code has imposed itself as one of the preferred code editors in the developer community. Cross-platform (powered by Electron), it features a marketplace of more than 3000 extensions where any language can find its linters, debuggers and test runners.

Visual Studio Code

To install Visual Studio Code in all current Ubuntu releases, simply run command (open terminal via Ctrl+Alt+T):

sudo snap install --classic vscode

That’s it! Installed snaps are automatically refreshed, so you’ll always have the latest release of VS Code installed.

In addition, if you’re first time installing a Snap package in Ubuntu, you need to first install snapd, the service which runs on your machine and keeps track of your installed snaps, via command:

sudo apt install snapd

Like traditional deb packages, the snap version of the software can be launched either from Unity Dash, Gnome application launcher, or other desktop menu, or via command vscode.

Uninstall:

To remove VS Code, run the snap command with remove flag:

sudo snap remove vscode

Linux Kernel

Ubuntu 16.04.2 LTS was released 2 days ago with security updates, corrections for high-impact bugs, and hardware enablement stacks for use on newer hardware.

The LTS enablement stacks provide Linux Kernel 4.8 and newer X support, and they are included in the Ubuntu 16.04.2 desktop ISO images.

Ubuntu 16.04 LTS

For original Ubuntu 16.04, and Ubuntu 16.04.1 users, you have to manually install the HWE stacks. And below will tell you how:

How to Install Hardware Enablement Stacks:

Open terminal from app launcher or via Ctrl+Alt+T shortcut key. When it opens, run command:

sudo apt-get install --install-recommends xserver-xorg-hwe-16.04

Type in your password (no visual feedback) and hit Enter.

install hwe stack

After installation, reboot your computer.

How to Uninstall:

1. I don’t like the new X stack in my laptop, so I removed it via commands:

sudo apt remove xserver-xorg-core-hwe-16.04 xserver-xorg-input-all-hwe-16.04 linux-generic-hwe-16.04 xserver-xorg-video-all-hwe-16.04

You’ll see the command also removes the ubuntu-desktop package. Don’t worry. The following commands will install it back.

2. Then install back the original xserver-xorg via commands:

sudo apt install xserver-xorg-core

sudo apt install ubuntu-desktop xserver-xorg xserver-xorg-video-all xserver-xorg-input-all libgl1-mesa-dri:i386 libgl1-mesa-glx:i386

If you want to remove the new kernel 4.8, reboot and select boot with old 4.4 kernel (grub -> Advanced Options), then see this how to tutorial.

peek Animated GIF recorder

For those who want to record a selection of your screen to an animated GIF image, Peek is open source tool for Linux that offers a simple window that can be resized to select a screen area to record over.

peek recording area

After resizing Peek window to select a screen area, click the Record button to start recording.

Once you stop the recording, a dialog pops-up and prompts you to give a name and select where to save the GIF image.

save gif image

After you save the GIF image, a dialog pops-up allows you to open the file folder quickly with the GIF image automatic highlighted.

peek-open-in-folder

Install Peek Animated GIF recorder in Ubuntu 16.04:

Peek so far only support Linux with X11. Other Unix like systems using X11 should work as well. It is planned to also support Wayland and maybe other operating systems in the future.

1. Open terminal from Unity Dash, App Launcher, or via Ctrl+Alt+T keys, then run command to install the requirements:

sudo apt install libsdl1.2debian ffmpeg libavdevice-ffmpeg56

2. Then download peek, Linux.deb package from the link below:

Peek Animated GIF Recorder (.deb)

Finally click install the .deb via Ubuntu Software or use dpkg -i command in terminal:

sudo dpkg -i ~/Downloads/peek-*.deb && sudo apt -f install

Once installed, launch peek from Unity Dash or your app launcher and enjoy!

elementaryos-logo

The best-looking Linux distro, Elementary OS, has reached the 0.4 release, code name “Loki” and base on Ubuntu 16.04 package system.

The Elementary OS team announced the stable release of Loki last night:


After a little over a year of development, elementary is proud to announce the stable release of elementary OS Loki!

Loki is the newest version of elementary OS, a design-oriented and open source Linux-based operating system for desktops and laptops. It succeeds Freya which was released in April of 2015.

Elementary OS Loki

What’s new in Elementary OS Loki:

  • Linux Kernel 4.4 and Ubuntu 16.04 base
  • redesigned indicators change to be dark or light depending on your wallpaper.
  • redesigned audio indicator with more compact set of controls and large icons
  • new network indicator and redesigned network settings, bluetooth indicator
  • A new lid close setting and related behavior
  • Notification center now caches notifications and offers Do Not Disturb toggle
  • use Epiphany as new default web browser.
  • new app store
  • various other improvements, see the release note.

Download Elementary OS Loki at: elementary.io. (pay any dollar amount, or type 0 for free)