Archives For November 30, 1999

mupdf-icon

MuPDF, a lightweight PDF and XPS viewer, has reached the 1.7 release. Here’s how to install or upgrade it in Ubuntu and Linux Mint.

MuPDF is a free and open-source viewer written in C. It focuses on speed, small code size, and high-quality anti-aliased rendering. Since the 1.2 release, MuPDF has optional support for interactive features such as form filling, JavaScript and transitions.

While Ubuntu repositories provide a very old version, the latest release, MuPDF 1.7, was released a few days ago with some new features and great improvements:

  • New HTML layout engine, and (DRM-free) EPUB viewer.
  • Reduced memory usage – reducing total memory use on some files by over 60%.
  • Better mouse wheel handling
  • Shift-space support
  • Add mutool pages option.
  • Mouse button control of presentation mode
  • many bug fixes.

For more, see the official release notes.

Install or Upgrade MuPDF:

For Ubuntu 12.04, Ubuntu 14.04, Ubuntu 15.04, and Linux Mint 13/17, the latest packages have been made into the PPA repository.

1. Open terminal from the Dash, Menu, or by pressing Ctrl+Alt+T on keyboard. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

2. After adding the PPA, refresh your system package cache:

sudo apt-get update

3. Finally install the viewer via command:

sudo apt-get install mupdf mupdf-tools

You may replace step 2 & 3 by upgrading the software through Software Updater.

Once installed, open your PDF or XPS file via MuPDF through files’ right-click menu “Open With” option.

For its keyboard shortcuts, run command man mupdf in terminal and see the result.

HP Printer Drivers for Linux

HPLIP, an HP developed Linux solution for printing, scanning, and faxing with HP inkjet and laser printers, reached 3.15.4 release with new printers and most recent Linux Distros support.

According to the release note, Ubuntu 15.04 Beta, Debian 8.0 RC, Linux Mint 17.1 are supported in this release. Also below new printers are supported now:

  • HP Color LaserJet Pro M252dw
  • HP Color LaserJet Pro M252n
  • HP Color LaserJet Pro MFP M277n
  • HP Color LaserJet Pro MFP M277dw
  • HP Color LaserJet Enterprise M553n
  • HP Color LaserJet Enterprise M553dn
  • HP Color LaserJet Enterprise M553x
  • HP Color LaserJet Enterprise M553dh
  • HP Color LaserJet Enterprise M552dn
  • HP LaserJet Enterprise M604n
  • HP LaserJet Enterprise M604dn
  • HP LaserJet Enterprise M605dn
  • HP LaserJet Enterprise M605n
  • HP LaserJet Enterprise M605x
  • HP LaserJet Enterprise M606x
  • HP LaserJet Enterprise M606dn

There’s also a significant changes: HPLIP Plugin support for ARMv6,ARMv7 and aarch64 architectures. For more, see the release page.

Install HPLIP in Ubuntu/Linux Mint:

1. download HPLIP .run installer from:

Download HPLIP

2. Open terminal (Ctrl+Alt+T) and run command to give executable permission to the installer:

cd ~/Downloads/ && chmod +x hplip-*.run

3. Finally start the installer and follow the terminal prompts:

cd ~/Downloads/ && ./hplip-*.run

HPLIP on launchpad: https://launchpad.net/hplip

Elementary OS Freya

Since Elementary OS Freya comes with GTK+ 3.14, it’s able to install the latest Corebird 1.0, a modern, easy and fun Twitter client.

For those who never heard of Corebird, it is a native Gtk+ Twitter client for Linux, which supports keyboard shortcuts, image and video preview. It is one of the few remaining desktop Linux Twitter apps still in active development.

corebird-eos corebird-eos1
corebird-eos2

Install Corebird 1.0 in eOS Freya:

1. Depends on your OS type, 32-bit (i386) or 64-bit (amd64), select download the “corebird_1.1~really1.0+xxx_i386/amd64.deb” package from launchpad page:

Download Corebird DEB

2. Open terminal from the Application launcher. Run below command to refresh system package cache:

sudo apt-get update

3. Finally open the downloaded package and click install. Or install it via dpkg command in terminal:

cd ~/Downloads; sudo dpkg -i corebird_*.deb; sudo apt-get -f install

Install Plank Dock 0.9 in Ubuntu from PPA

Last updated: April 15, 2015

Plank Dock

Plank, a lightweight dock launcher, has reached the 0.9.0 release recently with some new features, such as Window Dodge auto-hide and hide/un-hide time delay.

Rico Tzschichholz announced the release on launchpad.net:

“Kanker” is our new feature and bug-fix release on the way to 1.0.

Most notable is that there are now some nice and smooth animations while items are added or removed. Besides that it is possible to set a HideDelay and the good old WindowDodge hide-mode got added. Plank now provides a simple dbus-interface with some methods for remote-controlling. As usual there are changes all over the place which can be studied in the full changelog.

Enjoy,
Plank: Stupidly simple.
Note: There is no stability of ABI/API until further notice!

plank dock preferences

For Ubuntu 12.04, Ubuntu 14.04, Ubuntu 14.10, Ubuntu 15.04 and derivatives, plank dock can be easily installed from the developer’s PPA.

Just open terminal and run below commands one by one to add the PPA, refresh system cache, and install plank:

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

sudo apt-get update

sudo apt-get install plank

luks-encryption

If you have an USB flash drive or USB partition only for use in Linux computers, it’s easy to add a password protect to the drive or partition via LUKS+EXT4 in Ubuntu Linux using the default Disks utility. And below is the how-to.

Before getting started, you have to backup date from the USB flash driver or the partition.

1. Search for and install cryptsetup package in Ubuntu Software Center to add disk encryption support to the default Gnome Disks utility.

disk-encryption-support

2. Launch the Disks utility from the Unity Dash or Application Menu. Plug in your USB flash drive and you will see it in the left pane.

To encrypt the drive, first highlight the partition and click the icon on the left of minus sign to unmount it. (In the case below, I’m going to unmount the 1.7GB partition)

unmount-usb-stick

3. Click the gear icon and select Format …

format-usb-stick

4. On next window, select encryption type “Encrypted, compatible with Linux systems (LUKS + EXT4)” from the drop-down list, type in a drive/partition name, and set your password.

encrypt-usb-stick

That’s it. Next time you plug in the USB stick, you should be asked to input password to get access the partition.

encrypted-usb-stick

Linux Kernel 4.0

Linux Kernel 4.0, a new stable release, has been announced by Linus Torvalds last night. He wrote on the Linux kernel mailing list:

So I decided to release 4.0 as per the normal schedule, because there really weren’t any known issues, and while I’ll be traveling during the end of the upcoming week due to a college visit, I’m hoping that won’t affect the merge window very much. We’ll see.

Linux 4.0 was a pretty small release both in linux-next and in final size, although obviously “small” is all relative. It’s still over 10k non-merge commits. But we’ve definitely had bigger releases (and judging by linux-next v4.1 is going to be one of the bigger ones).

What’s New in Kernel 4.0:

Linux Kernel 4.0, formerly known as Linux 3.20, features:

  • Live Kernel Patching, ability to install security kernel updates WITHOUT REBOOT.
  • DisplayPort Audio, and better better fan control support for the Radeon DRM driver.
  • Graphics and power-management support for Intel’s Skylake processors
  • Intel Quark SoC support
  • PlayStation PS 3 support.
  • new ARM hardware support, IBM z13 support, better Toshiba laptop support, improved Logitech HID support, and more.

Install Kernel 4.0 in Ubuntu/Linux Mint:

The Ubuntu Kernel Team has made the binary packages for this kernel release, available for download at link below:

Download Kernel 4.0 (.DEB)

First check out your OS type, 32-bit (i386) or 64-bit (amd64), then download and install the packages below in turn:

  1. linux-headers-4.0.0-xxx_all.deb
  2. linux-headers-4.0.0-xxx-generic_xxx_i386/amd64.deb
  3. linux-image-4.0.0-xxx-generic_xxx_i386/amd64.deb

After installing the kernel, you may run sudo update-grub command in terminal (Ctrl+Alt+T) to refresh grub boot-loader.

If you need a low latency system (e.g. for recording audio) then download & install below packages instead:

  1. linux-headers-4.0.0_xxx_all.deb
  2. linux-headers-4.0.0-xxx-lowlatency_xxx_i386/amd64.deb
  3. linux-image-4.0.0-xxx-lowlatency_xxx_i386/amd64.deb

For Ubuntu Server with a graphical UI, you may run below commands one by one to grab packages with wget and install them via apt-get:

For 64-bit system run:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-vivid/linux-headers-4.0.0-040000_4.0.0-040000.201504121935_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-vivid/linux-headers-4.0.0-040000-generic_4.0.0-040000.201504121935_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-vivid/linux-image-4.0.0-040000-generic_4.0.0-040000.201504121935_amd64.deb

sudo dpkg -i linux-headers-4.0.0-*.deb linux-image-4.0.0-*.deb

For 32-bit system, run:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-vivid/linux-headers-4.0.0-040000_4.0.0-040000.201504121935_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-vivid/linux-headers-4.0.0-040000-generic_4.0.0-040000.201504121935_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-vivid/linux-image-4.0.0-040000-generic_4.0.0-040000.201504121935_i386.deb

sudo dpkg -i linux-headers-4.0.0-*.deb linux-image-4.0.0-*.deb

Uninstall Linux Kernel 4.0:

If for some reason, the new kernel does not work properly for you, reboot into a previous Kernel (Grub boot loader -> Advanced -> select a previous kernel) and run below command in terminal to remove the Linux Kernel 4.0:

sudo apt-get remove linux-headers-4.0.0-* linux-image-4.0.0-*

Diary Software RedNotebook

RedNotebook, a graphical diary and journal software, has reached the 1.10 release. Official PPA is ready for Ubuntu 10.04, Ubuntu 12.04, Ubuntu 14.04, Ubuntu 14.10 and their derivatives.

The new version was released this Sunday, features below changes:

  • Write data to temporary files first to prevent corrupted month files.
  • Add format button for monospace font. Automatically add the correct format for code blocks.
  • Show warning for dates before 1900 (not supported by Python’s datetime module).
  • Fix undo/redo.
  • Don’t add unneeded newlines around titles and code.

RedNotebook 1.9 in Ubuntu 14.04

Install/Upgrade to RedNotebook 1.10:

1. Open terminal (Ctrl+Alt+T) and run below command to add the official PPA:

sudo add-apt-repository ppa:rednotebook/stable

2. Refresh your system package cache:

sudo apt-get update

3. Finally install or upgrade the software:

sudo apt-get install rednotebook

You may skip step 2 & step 3, instead install updates for rednotebook through Software Updater.

If you don’t want to add PPA, grab the .deb binary directly from the PPA webpage.

Elementary OS Freya

Elementary OS 0.3 Freya is out! The beautiful desktop Linux distribution is now based on Ubuntu 14.04 LTS, uses GTK+ 3.14 and supports UEFI.

After a few days of countdown in Elementary website, the developer team finally announced the release of Elementary OS 0.3 Freya, via a Live Youtube video. Here are some of the great new features in the Elementary OS 0.3:

  • Linux Kernel 3.16.
  • GTK+ 3.14, which will be default in Ubuntu 15.04 (Ubuntu 14.04 comes with GTK 3.10)
  • new, unified, app-focused design
  • Math calculations and Quicklist support in Application Launcher
  • Vala 0.26 and UEFI support.

See the video for more:

Download Elementary OS Freya:

Download Elementary OS Freya ISO

FreeCAD 3D CAD modeler

A new stable release of FreeCAD, an open ource parametric 3D CAD modeler, was released a few days ago. It features a great variety of improvements in many workbenches, as well as fancy new things like Occulus Rift support.

What’s New in FreeCAD 0.15:

  • Cutting objects with planes is possible now.
  • IFC filter is based on the most recent IfcOpenShell library, it’s faster and supports the exporting of IFC files now, thus making FreeCAD two-way compatible in BIM workflows.
  • New Panel object allows creating all sorts of panel-like objects.
  • New Arch Equipment object makes it possible to add lighting appliances, sanitary equipments, furniture and all kinds of interior design objects.
  • New Roof tool provides more control over roof features such as thickness, length of the overflow etc.
  • Read the release note for more details.

    freecad-main

    Install /Upgrade to FreeCAD 0.15 in Ubuntu/Linux Mint:

    The new release has been made into its PPA repository, available for Ubuntu 14.04, Ubuntu 14.10, and Linux Mint 17.

    1. To add the PPA, open terminal from the Dash or by pressing Ctrl+Alt+T on keyboard. When it opens, run command:

    sudo add-apt-repository -y ppa:freecad-maintainers/freecad-stable

    2. After adding the PPA, you should be able to upgrade your FreeCAD installation using Software Updater or Update Manager.

    Or run below commands one by one directly in terminal:

    sudo apt-get update
    
    sudo apt-get install freecad

    That’s it. Enjoy!

    Rhythmbox

    For Gnome Shell users, Rhythmbox music player now looks better by using new GTK3 header bar (client-side decorations) provided by alternative-toolbar plugin.

    Thanks to David Mohammed, Ozon and Georgi Karavasilev. With the new alternative-toolbar plugin, Rhythmbox player looks better in Gnome:

    rhy-csd

    And below is the plugin configuration window with a few options:

    rhythmbox-csd-plugin

    How to install alternative-toolbar plugin:

    For ubuntu 14.04, Ubuntu 14.10, and Ubuntu 15.04, install the plugin from developer’s PPA by running below commands one by one in terminal (Ctrl+Alt+T):

    sudo add-apt-repository ppa:fossfreedom/rhythmbox-plugins
    
    sudo apt-get update
    
    sudo apt-get install rhythmbox-plugin-alternative-toolbar

    If you don’t want to add the PPA, grab the .deb package from launchpad.net