Archives For November 30, 1999

Install Latest Blender in Ubuntu

Blender, an open source 3D content-creation program, has recently reached the 2.75 release, which features AMD OpenCL rendering and fully integrated stereo/multiview support.

Blender Foundation and developer community announced the release of Blender 2.75 on July 1st. The main highlights of this release are:

  • Blender now supports a fully integrated Multi-View and Stereo 3D pipeline
  • Cycles has much awaited initial support for AMD GPUs, and a new Light Portals feature.
  • UI now allows font previews in the file browser.
  • High quality options for viewport depth of field were added
  • Modeling has a new Corrective Smooth modifier.
  • The Decimate modifier was improved significantly.
  • 3D viewport painting now supports symmetry and the distribution of Dynamic Topology was improved
  • Video Sequence Editor: Placeholders can now replace missing frames of image sequences
  • Game Engine now allows smoother LOD transitions, and supports mist attributes animation
  • And: 100s of bug fixes and smaller feature improvements.

For details, release the announcement.

Blender 275 splash

How to install/upgrade Blender in Ubuntu:

Blender website provides pre-built binary packages for Linux 32-bit/64-bit, you may read this post to install the official package and make a shortcut icon for Ubuntu desktop.

Since the official package is not well integrated with Ubuntu desktop, you can alternatively install Blender from Thomas Schiex’s PPA, and receive future updates through Software Updater.

To do so, run below commands one by one in a terminal (Ctrl+Alt+T) window:

sudo add-apt-repository ppa:thomas-schiex/blender

sudo apt-get update

sudo apt-get install blender

Note that there might be a small delay before a new release to be made into the PPA. You may check out the PPA web page for the Blender version.

In addition, to associate .blend files with Blender go to file’s context menu (right-click menu) -> Properties -> Open With tab -> select Blender software from the list and finally click the Set as default button.

xfce hotcorner plugin

XFCE4 desktop now has a hot-corner panel plugin that provides an easy way for users to set hot corner action, though there’s already a Gnome app brightside works on Ubuntu with Xfce.

XFCE4 HotCorner Plugin is a new project created one week ago. It currently supports the following operation in primary display:

  • xfdashboard
  • toggle desktop
  • start screensaver
  • turn off monitor
  • run custom command

It also provides an option to disable hot corner when active window is fullscreen.

hotcorner plugin for xfce4 desktop

Install HotCorner Plugin in (X)Ubuntu:

Update: Thanks to Jackson Doak, the most recent packages have been made into Xubuntu Extras PPA. So far, Ubuntu 15.10, Ubuntu 15.04, and Ubuntu 14.04 (Xfce 4.12 is not required) are supported.

To install the HotCorner plugin and receive future updates, run below commands one by one in a terminal emulator:

sudo add-apt-repository ppa:xubuntu-dev/extras

sudo apt-get update

sudo apt-get install xfce4-hotcorner-plugin

For those who don’t want to add PPA, grab the .deb package from launchpad page.

This plugin requires XFCE 4.12. For (X)Ubuntu 14.04 and (X)Ubuntu 15.04 and Mint 17 users who are still running with old Xfce desktop, you may first read this guide to upgrade to Xfce 4.12

To install the plugin, select download one of below packages that matches your OS type (32-bit=i386 or 64-bit=amd64)

  • xfce4-hotcorner-plugin_0.0.2-0ubuntu1~15.10_amd64.deb
  • xfce4-hotcorner-plugin_0.0.2-0ubuntu1~15.10_i386.deb

from the ppa packages download page:

download xfce4-hotcorner-plugin (.deb)

Then double-click to install the package via Software Center, or install it via dpkg command.

NOTE 1: the packages were built against Ubuntu 15.10 Wily, but they work on old Ubuntu releases (tested in 14.04) running with Xfce 4.12.

NOTE 2: Xubuntu Extras PPA also provides the packages for this plugin, but it’s an old release with bugs at the moment of writing this post.

After installing the plugin, go to Xfce4 panel preference window and add HotCorner plugin to panel:

hotcorner-plugin

Finally set your hot corners actions from the plugin’s preference window and enjoy!

notepadqq-icon

Notepadqq is a free, open source, and Notepad++-like text editor for the Linux desktop. It’s written in C++ and works on Qt5.

Notepadqq helps developers by providing all you can expect from a general purpose text editor, such as syntax highlighting for more than 100 different languages, code folding, color schemes, file monitoring, multiple selection and much more.

You can search text using the power of regular expressions. You can organize documents side by side. You can use real-time highlighting to find near identifiers in no time.

notepadqq_screenshot

Install Notepadqq in Ubuntu:

Notepadqq team provides an official PPA repository for all current Ubuntu releases (e.g., Ubuntu 14.04, Ubuntu 15.04, Ubuntu 14.10) and their derivatives such as Linux Mint 17, Elementary OS Freya.

1. To add the PPA, open terminal (Ctrl+Alt+T) and run:

sudo add-apt-repository ppa:notepadqq-team/notepadqq

notepadqq-ppa

2. After that, refresh system package cache and install the editor via Synaptic Package Manager:

install-notepadqq

or by running below commands one by one:

sudo apt-get update

sudo apt-get install notepadqq

And you can receive future updates of this editor just as part of system updates via Software Updater.

ubuntu-tips

Ubuntu 14.04 requires a minimum password length of 8 characters, as well as complexity check by default, though you can set a short password while installing Ubuntu.

The /etc/pam.d/common-password file handles password-related configurations. If you want to set a short password and disable complexity check, edit the file via below steps:

1. Open terminal from the Dash, Launcher or by pressing Ctrl+Alt+T on keyboard. When it opens, run below command to edit the file:

sudo nano /etc/pam.d/common-password

edit-password

Type in your user password when it asks

2. When the file opens in the terminal screen, scroll down and find out the line:

password     [success=1 default=ignore]    pam_unix.so obscure sha512

To set minimum password length, add minlen=N (N is a number) to the end of this line.

To disable complexity check, remove “obscure” from that line.

set-password-length

After that, press Ctrl+X and then type Y to save changes and finally press Enter to exit editing.

After all, change your password via passwd USERNAME command.

change user password in Ubuntu

Ubuntu 15.10 Wily

The first alpha release of Ubuntu 15.10 Wily Werewolf was released a few hours ago, which features images for Kubuntu, Lubuntu, Ubuntu MATE, UbuntuKylin and the Ubuntu Cloud images.

Alpha 1 includes a number of software updates that are ready for wider testing. All releases are based on Linux Kernel 3.19.

  • Kubuntu 15.10 Alpha 1 features Plasma 5.3 desktop and KDE Applications 15.04.1.
  • LXQt is still in development, Lubuntu 15.10 Alpha 1 is set to be another bug fix release.
  • Ubuntu MATE 15.10 Alpha 1 features TLP for improved laptop battery endurance, xdg-utils support, more options in MATE Tweak tool, artwork updates, and some fixes.

For Ubuntu flavor developers and those who want to help in testing, reporting and fixing bugs, download Ubuntu 15.10 Alpha 1 from:

  • Kubuntu 15.10: http://cdimage.ubuntu.com/kubuntu/releases/wily/
  • Lubuntu 15.10: http://cdimage.ubuntu.com/lubuntu/releases/wily/
  • Ubuntu MATE 15.10: http://cdimage.ubuntu.com/ubuntu-mate/releases/wily/
  • UbuntuKylin 15.10: http://cdimage.ubuntu.com/ubuntukylin/releases/wily/
  • Ubuntu Cloud 15.10: http://cloud-images.ubuntu.com/releases/wily/

Ubuntu 15.10 release schedule:

  • Alpha 1 – June 25th
  • Alpha 2 – July 30th
  • Feature Freeze — August 20th
  • Beta 1 – August 27th
  • UI Freeze — September 10th
  • Beta 2 – September 24th
  • Kernel Freeze — October 15th
  • Release Candidate – October 15th
  • Ubuntu 15.10 Final – October 22nd

via: fridge.ubuntu.com

digikam-logo-icon1

If your old Canon DSLR does not have video recording feature, but you still want to make one, you can use EOS Camera Movie Record, a software directly writes short movies from Canon DSLR to computer.

From the software’s main window you can instantly initialize and stop the recording process, adjust the focus and zoom, choose the desired White Balance and display the captured image. It also has preview, Av, Tv and WB control.

The camera must have LiveView feature to work. Here’s a list of known supported cameras:

  • Canon EOS 450D
  • Canon EOS 1000D
  • Canon 40D
  • Canon 50D
  • Canon 5D Mark II
  • Canon 1Ds Mark III.

Learn how to use the software:

Install EOS Camera Movie Record in Ubuntu:

Thanks to Dariusz Duma, the software has been made into PPA, available for Ubuntu 15.04, Ubuntu 14.04, Linux Mint 17, and Elementary OS Freya.

To add the PPA and install the software, open terminal from the Dash, app launcher, or by press Ctrl+Alt+T on keyboard. When it opens, run below commands one by one:

sudo add-apt-repository ppa:dhor/myway

sudo apt-get update

sudo apt-get install eos-movrec

Once installed, follow previous video to record videos with your Canon DSLR and enjoy!

whatsapp-icon

A simple and beautiful WhatsApp desktop client has been created recently, available for Linux, Windows, and OS X. It’s an open-source and unofficial client based on WhatsApp Web.

Besides the basic WhatsApp features (e.g., group chats, send photos & videos, and share locations), this unofficial WhatsApp for desktop also features:

  • Badge with the number of notifications in the dock/taskbar (OS X and Windows)
  • Auto-launch on OS startup (OS X, Windows)
  • Native notifications (all platforms)
  • System tray icon (OS X, Windows)
  • Open links in browser or new window
  • Preferences in the right-click context menu (or menu bar for OS X, tray menu for Windows)
unofficial whatsapp on all platforms

unofficial whatsapp client on all platforms

Install WhatsApp for Desktop in Ubuntu:

Before installing this software, you may first read the following DISCLAIMER from its project page:

This project does not attempt to reverse engineer the WhatsApp API or attempt to reimplement any part of the WhatsApp client. Any communication between the user and WhatsApp servers is handled by WhatsApp Web itself; this is just a native wrapper for WhatsApp Web, more akin to a browser than any WhatsApp software.

To install it, select download linux32.deb or linux64.deb that matches your os type (32-bit or 64-bit) from the link below and then click install via Software Center or Gdebi package installer.

WhatsApp for Desktop release page

For issues and other information, refers to github page.

Linux Kernel 4.1

Linux Kernel 4.1, a new kernel series, was released over the night by Linus Torvalds. He wrote on the Linux kernel mailing list:

So after a *very* quiet week after the 4.1-rc8 release, the final 4.1 release is now out.

I’m not sure if it was quiet because there really were no problems (knock wood), or if people decided to be considerate of my vacation, but whatever the reason, I appreciate it. It’s not like the 4.1 release cycle was particularly painful, and let’s hope that the extra week of letting it sit makes for a great release. Which wouldn’t be a bad thing, considering that 4.1 will also be a LTS release.

Anyway, since rc8 we’ve had truly small changes, mainly some final driver fixups (HDA sound, drm, scsi target, crypto) and a couple of small misc fixes. The appended shortlog is probably one of the shortest ones ever. I’m not complaining.

And this obviously means that the merge window for 4.2 is open.

Linus

What’s New in Kernel 4.1:

Some of highlights for the Linux 4.1 kernel (by Michael Larabel):

  • Significant performance improvements for certain hardware as well as power consumption/efficiency improvements for select Intel hardware.
  • Nouveau ships with GeForce GTX 750 acceleration support that doesn’t require the manual extracting/setup of any non-redistributable firmware blobs.
  • Intel XenGT vGPU support for those wanting Intel graphics acceleration support from Xen guests. The KVM support is still being developed.
  • Radeon DisplayPort MST support.
  • EXT4 file-system encryption thanks to work done by Google in looking to add file-system-level EXT4 encryption for Android.
  • Better RAID 5/6 support with MD RAID.
  • Improved laptop support from major vendors along with better Chromebook Pixel 2 support.
  • Continued bring-up of Intel Skylake support within Linux. Skylake is still on course for launching later this year.
  • ACPI support for AArch64 / 64-bit ARM.
  • Many other changes.

Install/Upgrade to Kernel 4.1 in Ubuntu, Mint:

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

Download Kernel 4.1 (.DEB)

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

  1. linux-headers-4.1.0-xxx_all.deb
  2. linux-headers-4.1.0-xxx-generic_xxx_i386/amd64/armhf.deb
  3. linux-image-4.1.0-xxx-generic_xxx_i386/amd64/armhf.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.1.0_xxx_all.deb
  2. linux-headers-4.1.0-xxx-lowlatency_xxx_i386/amd64.deb
  3. linux-image-4.1.0-xxx-lowlatency_xxx_i386/amd64.deb

For Ubuntu Server without a graphical UI, you may run below commands one by one to grab packages via wget and install them via dpkg:

For 64-bit system run:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.1-unstable/linux-headers-4.1.0-040100-generic_4.1.0-040100.201506220235_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.1-unstable/linux-headers-4.1.0-040100_4.1.0-040100.201506220235_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.1-unstable/linux-image-4.1.0-040100-generic_4.1.0-040100.201506220235_amd64.deb

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

For 32-bit system, run:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.1-unstable/linux-headers-4.1.0-040100-generic_4.1.0-040100.201506220235_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.1-unstable/linux-headers-4.1.0-040100_4.1.0-040100.201506220235_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.1-unstable/linux-image-4.1.0-040100-generic_4.1.0-040100.201506220235_i386.deb

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

Uninstall Linux Kernel 4.1:

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.1:

sudo apt-get remove linux-headers-4.1.0-* linux-image-4.1.0-*; sudo update-grub

Elementary OS' noise music player

Noise, the official music player of Elementary OS, is a fast and beautiful GTK3 audio player with a focus on music and libraries. It handles external devices, CDs, and album art. Noise utilizes Granite for a consistent and slick UI.

Elementary OS Team has created a few PPAs on launchpad.net so users can easily install and test some Elementary applications on Ubuntu desktop. And here’s how to install Noise music player in Ubuntu 15.04, or Ubuntu 15.10.

Noise in Ubuntu 15.04

Noise in Ubuntu 15.04

1. Open terminal from the Dash, App Launcher, or by pressing Ctrl+Alt+T on keyboard. When it opens, run command to add the Elementary OS daily ppa:

sudo add-apt-repository -y ppa:elementary-os/daily

noise-ppa

2. After adding the PPA, refresh your system repository cache and install the music player via 2 commands:

sudo apt-get update

sudo apt-get install noise

3. Finally, you have to remove the PPA since it contains some unstable and EOS only applications. To do so, run:

sudo add-apt-repository -r ppa:elementary-os/daily && sudo apt-get update

4. (Optional) If you want to remove this music player, simply run:

sudo apt-get remove noise

Tip: Due to a bug related to the Unity overlay scrollbars, there’s a background issue which can be fixed by running below command to edit the launcher file of Noise:

gksudo gedit /usr/share/applications/noise.desktop

Install gksu from Software Center if the command doesn’t work. When the file opens, change the value of Exec to env LIBOVERLAY_SCROLLBAR=0 noise %U so it look likes:

noise-scrollbar

That’s it.

mupdf-icon

MuPDF is a small, fast, and yet complete PDF viewer that supports PDF 1.7 with transparency, encryption, hyperlinks, annotations, searching and more. It also reads XPS and OpenXPS documents.

The renderer in MuPDF is tailored for high quality anti-aliased graphics. It renders text with metrics and spacing accurate to within fractions of a pixel for the highest fidelity in reproducing the look of a printed page on screen.

MuPDF is available in Ubuntu repositories by default, but Canonical does not provide updates for this software. While Ubuntu Software Center provides the 1.6 (or older) release, the latest MuPDF 1.7a was released in last month with below changes:

  • Fixed bug that allocated too much memory when packing paths.
  • Fixed EPUB font scaling bug.
  • Fixed EPUB file type handling in viewers.
  • Improved tolerance for broken and unsupported CSS.
  • Added -z option to mutool clean.

Install MuPDF in Ubuntu:

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

sudo add-apt-repository ppa:ubuntuhandbook1/apps

mupdf-ppa

2. After adding the PPA, open Software Updater to automatically check for updates

Checking for Updates

After checking for updates, you’ll see MuPDF in the list available for upgrade if you have a previous version installed.

If you don’t have a previous release installed in your system, install it via Synaptic Package Manager or by running below command in terminal:

sudo apt-get install mupdf mupdf-tools

Once installed, open PDF/XPS files using MuPDF from their context (right-click) menu. For key bindings and other options, run man mupdf in terminal.

mupdf

To set MuPDF as default viewer, go to PDF file’s context menu -> Properties -> Open With tab -> select the viewer from list and click Set as default button.