Archives For jimingkui

LibreOffice 5.3.4

LibreOffice 5.3.4, the fourth release for LibreOffice 5.3 family, was announced more than 2 weeks ago. It’s finally made into PPA for Ubuntu 14.04, Ubuntu 16.04, Ubuntu 16.10, Ubuntu 17.04, and Ubuntu 17.10.

LibreOffice 5.3.4 integrates over 100 patches, with a significant number of fixes for interoperability with Microsoft Office RTF and OOXML documents. See HERE for details.

Install LibreOffice 5.3.4 via PPA in Ubuntu:

1. Open terminal via Ctrl+Alt+T or by searching for “terminal” from app launcher. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:libreoffice/ppa

Type in your password (no visual feedback when typing due to security reason) when prompts and hit Enter.

2. Then launch Software Updater and upgrade LibreOffice after checking for updates:

How to restore:

To revert back to the stock version of LibreOffice in your Ubuntu, purge the PPA via command:

sudo apt-get install ppa-purge && sudo ppa-purge ppa:libreoffice/ppa

Microsoft Visual Studio Code has reached the 1.14 release earlier today with many great new features.

VS Code 1.14 release highlights:

  • Integrated terminal improvements – Find support, select/copy multiple pages
  • Command Palette MRU list – Quickly find and run your recently used commands
  • New Tasks menu in top-level menu bar.
  • Automatic indentation – Auto indent while typing, moving, and pasting source code.
  • Emmet abbreviation enhancements – Add Emmet to any language. Multi-cursor support.
  • New Diff review pane – Navigate Diff editor changes quickly with F7, displayed in patch format.
  • Angular debugging recipe – Debug your Angular client in VS Code.
  • Better screen reader support – Aria properties to better present list and drop-down items
  • Preview: 64 bit Windows build – Try out the Windows 64 bit version (Insiders build).
  • Preview: Multi-root workspaces – Open multiple projects in the same editor (Insiders build).

Download / Install VS Code in Ubuntu:

Visual Studio Code is available as Snap app for Ubuntu Linux, though it’s version 1.13.1 at the moment of writing.

Also the official .deb installer is available for download at the link below:

Download the .deb package and click install via Ubuntu Software or Gdebi package manager.

Add Visual Studio repository:

For those who want to add VS code Linux repository so to receive updates via Software Updater along with other system updates:

1. Open terminal via Ctrl+Alt+T or by searching for “terminal” from app launcher. When it opens, run command to add the repository:

sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'

2. Then download and install the key (need curl installed) via 2 commands:

curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg

sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg

The Hugin panorama photo stitcher has reached the 2017.0.0 release. The official Ubuntu binary packages are now available via its PPA repository for Ubuntu 14.04, Ubuntu 16.04, Ubuntu 16.10, Ubuntu 17.04, Ubuntu 17.10, and derivatives.

Hugin is an easy to use cross-platform panoramic imaging toolchain based on Panorama Tools. With it, you can assemble a mosaic of photographs into a complete immersive panorama, stitch any series of overlapping pictures and much more.

The latest version 2017.0.0 is mainly a bug fix release. Changes include:

  • Several fixes for working with HDR images
  • Fixes handling of masks in cpfind when images needs remapping for cp finding.
  • Sometimes unsaved changes were disregarded without asking the user. Unsaved changes should now always require user confirmation.
  • Added special assistant variant for single image projects.
  • Display of final panorama dimensions on stitcher tab.
  • Extended the user defined output sequences
  • Use wxWidgets help windows instead of default browser
  • Other small improvements and translation updates.

How to install Hugin 2017 via PPA in Ubuntu:

1. Open terminal via Ctrl+Alt+T or by searching for “Terminal” from app launcher. When it opens, run command to add the official PPA:

sudo add-apt-repository ppa:hugin/hugin-builds

Type in your password when prompts and hit Enter

2. Then launch Software Updater and upgrade the software after checking for updates.

How to Restore:

To revert back to the stock version of Hugin packages in your Ubuntu, purge the PPA via command:

sudo apt install ppa-purge && sudo ppa-purge ppa:hugin/hugin-builds

MusicBrainz Picard is an open-source cross-platform music tagger written in Python. While Ubuntu repositories provide an old version of the software, here’s how to install the latest release (Picard 1.4.2 so far) in Ubuntu 16.04, and higher.

MusicBrainz Picard has an official Ubuntu PPA repository, however, it’s not been updated for more than a year. It now publishes the official Linux binaries only through Flathub repository.

1. Install Flatpak (Ubuntu 16.04 only).

While Ubuntu 16.04 does not ship Flatpak in the default repositories, open terminal via Ctrl+Alt+T and run commands to install it from the PPA.

  1. Add the flatpak PPA via command (type your password when prompts and hit enter):
    sudo add-apt-repository ppa:alexlarsson/flatpak

  2. Then install flatpak via commands:
    sudo apt-get update
    
    sudo apt-get install flatpak

2. Add the Flathub repository via command:

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

3. Finally grab and install the music tagger via command:

flatpak install flathub org.musicbrainz.Picard

Log out and back in after installation and then launch it from Unity Dash, Gnome launcher and enjoy!

Uninstall:

To uninstall the music tagger, run command:

flatpak uninstall --app org.musicbrainz.Picard

And remove the repository:

flatpak remote-delete flathub

Parole, a modern simple media player for XFCE, has reached the 0.9.2 release. Here’s how to install it in Ubuntu 16.10, Ubuntu 17.04 via PPA.

Parole 0.9.2 requires GTK >= 3.20. Ubuntu 16.04 won’t be able to update to this release with the default GTK+3 libraries.

Parole 0.9.2 features:

  • Update homepage to docs.xfce.org
  • Switch Xfce URLs to HTTPS
  • Keyboard shortcuts helper available in the Help menu
  • New B/N keybindings for previous and next track
  • Fixed null pointer dereference
  • Fixed adding directories to queue via commandline
  • Fixed shuffle functionality also repeating
  • Fixed display order of audio and subtitle tracks
  • Fixed “Clear Recent” clearing global history
  • Fixed Ctrl-Q keybinding when in fullscreen
  • Fixed string escaping in audiobox widget
  • Complete the Parole Plugins documentation and improved documentation quality
  • translation updates and code quality improvements.

How to Install Parole 0.9.2 in Ubuntu:

For Ubuntu 16.10 and Ubuntu 17.04, do following steps to add PPA and install or upgrade Parole to version 0.9.2:

1. Open terminal via Ctrl+Alt+T or by searching for “Terminal” from app launcher. When it opens, run command:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

Type in your password (no visual feedback when typing due to security reason) when it prompts and hit Enter.

2. Then upgrade the media player via Software Updater utility:

or run following commands to install / upgrade it:

sudo apt-get update

sudo apt-get install parole

For Ubuntu 16.04 users who’ve updated GTK version (no recommended for beginners), grab the .deb package for Ubuntu 16.10 from HERE.

Uninstall:

Run following command to purge the PPA repository which also downgrade installed packages to the stock version in your Ubuntu:

sudo apt-get install ppa-purge && sudo ppa-purge ppa:ubuntuhandbook1/apps

How to Install Python 3.6.1 in Ubuntu 16.04 LTS

Last updated: December 23, 2017

This quick tutorial is going to show you how to install the latest Python 3.6.1 in Ubuntu 16.04 LTS via PPA.

Ubuntu 16.04 comes with both Python 2.7 and Python 3.5 by default. You can install Python 3.6 along with them via a third-party PPA by doing following steps:

1. Open terminal via Ctrl+Alt+T or searching for “Terminal” from app launcher. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:jonathonf/python-3.6

Type in your password (no visual feedback due to security reason) when it asks and hit Enter.

2. Then check updates and install Python 3.6 via commands:

sudo apt-get update

sudo apt-get install python3.6

Now you have three Python versions, use python command for version 2.7, python3 for version 3.5, and/or python3.6 for version 3.6.1.

3. To make python3 use the new installed python 3.6 instead of the default 3.5 release, run following 2 commands:

sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.5 1

sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 2

Finally switch between the two python versions for python3 via command:

sudo update-alternatives --config python3

After selecting version 3.6:

python3 -V

UPDATE: due to this bug, gnome-terminal won’t launch after step 3, a workaround is running following commands to recreate the symlink:

sudo rm /usr/bin/python3

sudo ln -s python3.5 /usr/bin/python3

I’ve been running into desktop shortcut key issue recently in my Ubuntu 16.04 LTS. When I trying to launch a terminal or take a screenshot, there will be more than 20 seconds delay after pressing Ctrl+Alt+T or PrintScreen on keyboard.

This happened after installed some Gnome related application libraries. And I found this BUG after doing a little search. A workaround is to restart the gnome-keyring-daemon service.

1. Launch terminal from Unity Dash, Gnome launcher, or other app launcher.

When it opens, run command to kill the service:

sudo killall gnome-keyring-daemon

The service starts automatically after you killed it, and that fixes the shortcut delay issue until reboot.

2. Until Gnome Team fixed the issue, you have to run the command automatically on startup by doing following steps:

Launch Startup Applications utility, click Add button and type:

  • Name: whatever
  • Command: killall gnome-keyring-daemon
  • Comment: whatever

Finally click Add the startup item and enjoy!

The 4.12 Linux Kernel was finally released earlier today. Linus Torvalds announced in lkml.org:

Things were quite calm this week, so I really didn’t have any real reason to delay the 4.12 release.

As mentioned over the various rc announcements, 4.12 is one of the bigger releases historically, and I think only 4.9 ends up having had more commits. And 4.9 was big at least partly because Greg announced it was an LTS kernel. But 4.12 is just plain big.

There’s also nothing particularly odd going on in the tree – it’s all just normal development, just more of it that usual. The shortlog below is obviously just the minor changes since rc7 – the whole 4.12 shortlog is much too large to post.

In the diff department, 4.12 is also very big, although the reason there isn’t just that there’s a lot of development, we have the added bulk of a lot of new header files for the AMD Vega support. That’s almost exactly half the bulk of the patch, in fact, and partly as a result of that the driver side dominates everything else at 85+% of the release patch (it’s not all the AMD Vega headers – the Intel IPU driver in staging is big too, for example).

But aside from just being large, and a blip in size around rc5, the rc’s stabilized pretty nicely, so I think we’re all good to go.

Go out and use it.

Kernel 4.12 top features:

  • initial GeForce GTX 1000 series 3D accelerated support on Nouveau driver stack
  • Intel’s DRM driver has turned on atomic mode-setting by default
  • Initial Radeon RX Vega support on AMDGPU DRM driver
  • A USB Type-C port manager
  • KASLR enabled by default for x86 systems.
  • BFQ and Kyber now mainline as two new I/O schedulers.
  • Continued power management tuning.

How to Install Kernel 4.12 in Ubuntu / Linux Mint:

The mainline kernel PPA has made the binaries for the new kernel release, available for download at the link below:

Depends on your OS type, download and install the packages in turns:

  1. linux-headers-4.12.0-xxxxxx_all.deb
  2. linux-headers-4.12.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  3. linux-image-4.12.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb

Select generic for common system, and lowlatency for a low latency system (e.g. for recording audio), amd64 for 64bit system, i386 for 32bit system, or armhf, arm64, etc for other OS types.

To get the Kernel 4.12 from the command console, run the commands below one by one:

For 64-bit OS:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12/linux-headers-4.12.0-041200_4.12.0-041200.201707022031_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12/linux-headers-4.12.0-041200-generic_4.12.0-041200.201707022031_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12/linux-image-4.12.0-041200-generic_4.12.0-041200.201707022031_amd64.deb

sudo dpkg -i *.deb

for 32-bit OS:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12/linux-headers-4.12.0-041200_4.12.0-041200.201707022031_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12/linux-headers-4.12.0-041200-generic_4.12.0-041200.201707022031_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12/linux-image-4.12.0-041200-generic_4.12.0-041200.201707022031_i386.deb

sudo dpkg -i *.deb

After installed these .debs, restart and enjoy!

Uninstall Linux Kernel 4.12:

Start/restart your machine and select boot with the previous kernel in Grub2 -> Advanced menu. Then use Ubuntu Tweak, or other system tool to remove the Kernel 4.12, or you may see this how to remove old kernels tutorial.

A new update of the free and open-source LiVES video editor and VJ tool was released a few days ago with bug-fixes and some improvements. Here’s how to install or upgrade it in Ubuntu via PPA.

LiVES is a Video Editing System designed to be simple to use, small in size, yet powerfull with many advanced features. The latest LiVES 2.8.7 was released 2 days ago with following changes:

  • Remove glad.h dependence on khr.
  • Prompt for clip name when rendering to new clip.
  • Fix autolives toy.
  • Increase default frame size to 1024×768 for new installs.
  • Allow override of frame size when encoding to ffmpeg / h264 format.
  • Fix breakage in the threaded progress window.
  • Updated Ukrainian translation (Yuri).

How to Install LiVES 2.8.7 in Ubuntu:

Besides building the software from source, you can install it from unofficial PPA in Ubuntu 14.04, Ubuntu 16.04, Ubuntu 16.10, Ubuntu 17.04, Linux Mint 18.x and their derivatives by following steps:

1. Open terminal via Ctrl+Alt+T and run command to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/lives

Type in your password (no visual feedback while typing due to security reason) when it asks and hit Enter.

2. Then upgrade the software from an existing release via Software Updater:

or simply run commands in terminal to install or upgrade LiVES:

sudo apt-get update

sudo apt-get install lives lives-plugins

Uninstall:

To remove the software, simply run commands:

sudo apt-get remove --autoremove lives lives-plugins

The PPA can be removed via Software & Updates utility under Other Software tab.

The first alpha of Ubuntu 17.10 Artful Aardvark was released earlier today. It features images for Lubuntu, Kubuntu, and Ubuntu Kylin.

The pre-release uses the kernel and graphics stacks of Ubuntu 17.04, which include Linux Kernel 4.10, X.Org Server 1.19.3 display server, and Mesa 17.1.2 3D Graphics Library. The systemd init system, however, was upgraded to the latest systemd 233.

Download Ubuntu 17.10 Alpha 1:

NOTE the pre-release images are not recommended for anyone who need a stable system. However, they are recommended for developers or users who want to test by finding, reporting, and/or fixing bugs, or people want to see how the current snapshot of Ubuntu 17.10 will look and behave.

LUbuntu 17.10: cdimage.ubuntu.com/lubuntu/releases/artful/

KUbuntu 17.10: cdimage.ubuntu.com/kubuntu/releases/artful/

Ubuntu Kylin 17.10: cdimage.ubuntu.com/ubuntukylin/releases/artful/

Future releases of Ubuntu 17.10:

July 27th Alpha 2 (for opt-in flavors)
August 31st Beta 1 (for opt-in flavors)
September 28th Final Beta
October 19th Final Release

via: fridge.ubuntu.com