Archives For jimingkui

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.

parole ppa for zesty

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

upgrade parole media player

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!

Linux Kernel

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 kernels do not include any Ubuntu-provided drivers or patches. They are not supported and are not appropriate for production use.

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

Download Kernel 4.12 (.deb)

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).

LiVES Video Editor

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.

LiVES PPA

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

screencloud

ScreenCloud is an open-source screenshot sharing application consists of a cross-platform client and a sharing website.

With plugins, the app also supports uploading to other online services, e.g., FTP server, Imgur, and Dropbox.

ScreenCloud Features:

  • Open Source and cross-platform(Windows, Mac & Linux)
  • Fast and easy: Snap a photo, paste the link, done!
  • Plugin support, save to Dropbox, Imgur, etc.
  • Built in screenshot editor.

ScreenCloud Applet

How to Install ScreenCloud Client in Ubuntu:

For Ubuntu 12.04, Ubuntu 14.04, Ubuntu 16.04, Ubuntu 16.10, Ubuntu 17.04, and derivatives, open terminal via Ctrl+Alt+T and do following steps to install the ScreenCloud client.

1. Run command to add the repository:

sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/olav-st/xUbuntu_16.04/ /' >> /etc/apt/sources.list.d/screencloud.list"

Change xUbuntu_16.04 in the code to xUbuntu_14.04, xUbuntu_17.04, etc depends on your system edition.

2. Download and install the repository key:

wget http://download.opensuse.org/repositories/home:olav-st/xUbuntu_16.04/Release.key && sudo apt-key add Release.key

Also change xUbuntu_16.04 in the code to which matches you os edition.

3. Finally install screencloud via either Synaptic Package Manager or commands:

sudo apt-get update

sudo apt-get install screencloud

Once installed, launch the software from Unity Dash, Gnome launcher or other app launcher, setup your account and plugins and enjoy!

Uninstall:

To remove the Screencloud repository, go to Software & Updates utility and navigate to Other Software tab.

To remove the screenshot sharing software, either use Synaptic Package Manager or run command:

sudo apt-get remove --autoremove screencloud

nuvola player

Nuvola Player, cloud music integration for Linux desktop, has reached the 4.5 release a few days ago. Here’s how to install it in Ubuntu 16.04 and higher using the flatpak packages.

Nuvola Player 4 was forked from the release 3 with many new features & enhancements. The latest Nuvola 4.5 was released on June 24th, 2017. See more details.

1. Install Flatpak and Desktop Portal service

For Ubuntu 17.04 and higher, adding the PPA is not required (skip step 1) since Flatpak is available in Ubuntu universe repository.

  1. Open terminal via Ctrl+Alt+T or by searching “Terminal” form app launcher. When it opens, run command to add flatpak PPA:
    sudo add-apt-repository ppa:alexlarsson/flatpak

  2. Then update and install flatpak via commands:
    sudo apt-get update
    
    sudo apt-get install flatpak xdg-desktop-portal-gtk
  3. Restart your computer is required.

2. Remove old Nuvola installation if any via commands:

sudo apt-get remove nuvolaplayer*
rm -rf ~/.cache/nuvolaplayer3
rm -rf ~/.local/share/nuvolaplayer3
rm -rf ~/.config/nuvolaplayer3
rm -f ~/.local/share/applications/nuvolaplayer3*

3. Install Nuvola Apps run time via command:

flatpak install --from https://nuvola.tiliado.eu/eu.tiliado.Nuvola.flatpakref

Answer y when you’re asked and hit Enter.

4. Finally install each web player via command:

flatpak install --from https://nuvola.tiliado.eu/eu.tiliado.NuvolaAppSpotify.flatpakref

replace NuvolaAppSpotify in the code via following ones for other services:

  • NuvolaApp8tracks
  • NuvolaAppAmazonCloudPlayer
  • NuvolaAppBandcamp
  • NuvolaAppDeezer
  • NuvolaAppGoogleCalendar
  • NuvolaAppGooglePlayMusic
  • NuvolaAppGroove
  • NuvolaAppJango
  • NuvolaAppKexp
  • NuvolaAppLogitechMediaServer
  • NuvolaAppMixcloud
  • NuvolaAppOwncloudMusic
  • NuvolaAppPlex
  • NuvolaAppSiriusxm
  • NuvolaAppSoundcloud
  • NuvolaAppTunein
  • NuvolaAppYandexMusic
  • NuvolaAppYoutube

After installed an app, log out and back in so you’re able to launch Nuvola app from Unity Dash, Gnome launcher or other app launcher.

Uninstall:

To uninstall the flatpak packages, simply run commands (use flatpak list to get a list of installed flatpak apps):

flatpak uninstall eu.tiliado.Nuvola

To remove flatpak, run command:

sudo apt remove --autoremove flatpak

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