Archives For jimingkui

Ulauncher is a super fast Linux application launcher written in Python with GTK+. By pressing a keyboard shortcut and then typing a name in search box, you can quickly launch an application or access a file / file directory.

Ulauncher app launcher features:

  • Fuzzy search, type in app name without worrying about spelling.
  • 4 built-in themes, and custom color themes support.
  • customizable shortcuts, and wide range of plugins.
  • Fast directory browser, type ~ or / to start
  • Search Google, Wikiepdia, and Stack Overflow.

How to Install Ulauncher in Ubuntu:

The official PPA contains the latest packages for Ubuntu 16.04, Ubuntu 18.04, and Ubuntu 19.04 so far.

1.) Open terminal (Ctrl+Alt+T) from application menu. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:agornostal/ulauncher

Type user password for sudo prompts and hit Enter to continue.

2.) Then check updates and install the app launcher via 2 commands:

sudo apt update

sudo apt install ulauncher

Once installed, open Ulauncher from application menu. You’ll see the app applet in system tray area. Click and open its Preferences dialog and set up theme, shortcut, auto-run, etc.

Uninstall Ulauncher:

To remove the PPA repository, either open ‘Software & Updates -> Other Software’ tab, or run command in terminal:

sudo add-apt-repository ppa:agornostal/ulauncher

To remove the app launcher, simply run command:

sudo apt remove ulauncher

Qimgv is a Qt5 image viewer with simple, fast, and easy to use user interface. The software features basic image editing and optional video support.

Qimgv image viewer features:

  • Basic image editing: Crop, Flip, Rotate, and Resize.
  • Ability to quickly copy / move images to different folders
  • Video playback via libmpv, including webm support.
  • Ability to run shell scripts
  • Folder view
  • Keyboard shortcuts (Settings > Controls)
  • Extend APng support via QtApng, Raw support via Qtraw (Both included in Windows package)

How to Install Qimgv in Ubuntu 18.04:

The software developer maintains a PPA repository that contains the most recent packages for Ubuntu 18.04, Ubuntu 19.04, Linux Mint 19.x.

1.) Open terminal either via Ctrl+Alt+T on keyboard or by searching for ‘terminal’ from application menu. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:easymodo/qimgv

Type user password (no asterisk feedback) when it prompts and hit Enter to continue.

2.) Then either install Qimgv via Synaptic package manager or run command in terminal:

sudo apt install qimgv

Note for Linux Mint you may need to run sudo apt update to check update first.

Once installed, either use the image viewer via picture file’s right-click menu or launch it from application menu.

Uninstall Qimgv:

To remove the PPA, either open Software & Updates -> Other Software or run command:

sudo add-apt-repository --remove ppa:easymodo/qimgv

To remove the image viewer, simply run command:

sudo apt remove qimgv

FlightGear flight simulator 2019.1 was released almost two months ago. Not it’s finally made into PPA for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.04, Linux Mint 19.x and their derivatives.

FlightGear 2019.1 contains many exciting new features, enhancements and bug-fixes. See the changelog for details.

To install the free and open-source flight simulator, open terminal either via Ctrl+Alt+T keyboard shortcut or by searching for ‘terminal’ from application menu. When it opens, run following commands one by one.

1.) Paste following command and hit run to add the PPA repository:

sudo add-apt-repository ppa:saiarcot895/flightgear

Type user password (no asterisk feedback due to security reason) when it prompts and hit Enter to continue

2.) Then either upgrade FlightGear from an existing release via Software Updater (Update Manager):

or run command in terminal to install the software:

sudo apt update && sudo apt install flightgear

Uninstall:

To remove flightgear, either use Ubuntu Software or run command in terminal:

sudo apt remove --auto-remove flightgear

You can also remove the PPA either via the first step’s command with --remove added in the end, or by going to “Software & Updates -> Other Software” tab.

Vivaldi web browser released the new stable version 2.8 today. Here’s how to install it in Ubuntu 18.04 and higher.

Vivaldi 2.8 features sync support for Android release, and also following changes:

  • Add keyboard navigation to bookmark menu bar
  • Bookmark manager columns width should be resizable
  • Toggle images via keyboard: Ctrl+Alt+Shift+I / ⌥⌘I
  • Bookmark menu supports for hovering across horizontal menu or the bookmarks bar
  • Various bug-fixes range over bookmark, history, Windows and mac OS platform, and more.

Download / Install Vivaldi in Ubuntu:

The official Ubuntu .DEB packages are available for download at the link below:

Grab the deb matches your OS, then install it via Ubuntu Software or Gdebi package manager. Or run command in terminal:

sudo dpkg -i ~/Downloads/vivaldi-stable_2.8*.deb

For those who want to receive future Vivaldi updates via Software Updater utility, the browser has an official apt repository for Ubuntu / Debian based system.

Open terminal either via Ctrl+Alt+T keyboard shortcut or by searching for terminal from application menu. When it opens, run following commands one by one:

1. Download and install the repository keyring:

wget -qO- https://repo.vivaldi.com/archive/linux_signing_key.pub | sudo apt-key add -

Typer user password when it prompts and hit Enter to continue.

2. Add Vivaldi repository via command:

sudo add-apt-repository 'deb https://repo.vivaldi.com/archive/deb/ stable main'

3. Finally check updates and install the web browser via command:

sudo apt update && sudo apt install vivaldi-stable

Or upgrade from an old version via Software Updater utility.

(Optional): To remove Vivaldi apt repository from you system, launch Software & Updates and navigate to Other Software tab.

How to Make Scrollbar Always Visible in Ubuntu 18.04

Last updated: September 18, 2019

This quick tutorial shows how to make the scrollbars of GTK3 applications always visible, like Gnome terminal does, no matter whether the mouse cursor is moved over or not.

The scrollbar is only visible when the mouse cursor is moved mover in most of GTK3 applications. It will disappear in a few seconds once the cursor’s moved away.

On a per-app basis, you can start application by setting GTK_OVERLAY_SCROLLING=0 environment variable.

For example, open terminal (Ctrl+Alt+T) and run command to launch Gedit text editor:

GTK_OVERLAY_SCROLLING=0 gedit

To apply for all applications for current user, open terminal (Ctrl+Alt+T) and run command to edit .profile file:

gedit ~/.profile

When the files opens in text editor, add following 2 lines in the end and save the file.

export GTK_OVERLAY_SCROLLING=0
gdbus call --session --dest org.freedesktop.DBus --object-path /org/freedesktop/DBus --method org.freedesktop.DBus.UpdateActivationEnvironment '{"GTK_OVERLAY_SCROLLING": "0"}'

To apply changes, simply log out and login back.

To restore the changes, edit .profile file again and remove the previous lines.

Linux Kernel 5.3 was released yesterday. Linus Torvalds announced that:

So we’ve had a fairly quiet last week, but I think it was good that we ended up having that extra week and the final rc8.

Even if the reason for that extra week was my travel schedule rather than any pending issues, we ended up having a few good fixes come in, including some for some bad btrfs behavior. Yeah, there’s some unnecessary noise in there too (like the speling fixes), but we also had several last-minute reverts for things that caused issues.

One _particularly_ last-minute revert is the top-most commit (ignoring the version change itself) done just before the release, and while it’s very annoying, it’s perhaps also instructive.

Linux 5.3 kernel brings many exciting changes including initial Intel HDR display support, Intel Speed Select support, Radeon RX 5700 Navi series support, better Intel Icelake Gen 11 graphics support, ACRN guest hypervisor support.

How to Install Linux Kernel 5.3 in Ubuntu:

The mainline kernel packages for Linux 5.3 are available for download at the link below:

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

  1. linux-headers-5.3.0-xxxxxx_all.deb
  2. linux-headers-5.3.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  3. linux-modules-5.3.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  4. linux-image-xxx-5.3.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.

Alternatively you can download and install the kernel binaries via terminal commands ( open terminal via Ctrl+Alt+T):

For 64-bit OS:

cd /tmp/

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.3/linux-headers-5.3.0-050300_5.3.0-050300.201909152230_all.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.3/linux-headers-5.3.0-050300-generic_5.3.0-050300.201909152230_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.3/linux-image-unsigned-5.3.0-050300-generic_5.3.0-050300.201909152230_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.3/linux-modules-5.3.0-050300-generic_5.3.0-050300.201909152230_amd64.deb

sudo dpkg -i *.deb

for 32-bit OS:

cd /tmp/

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.3/linux-headers-5.3.0-050300_5.3.0-050300.201909152230_all.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.3/linux-headers-5.3.0-050300-generic_5.3.0-050300.201909152230_i386.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.3/linux-image-5.3.0-050300-generic_5.3.0-050300.201909152230_i386.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.3/linux-modules-5.3.0-050300-generic_5.3.0-050300.201909152230_i386.deb

sudo dpkg -i *.deb

Once installed, restart your computer and enjoy!

Uninstall Linux Kernel 5.3:

Restart your machine and select boot with the previous kernel in boot menu ‘Grub2 -> Advanced Option for Ubuntu’. Then run command to remove Linux Kernel 5.3:

sudo dpkg --purge linux-image-5.3.0-050300-generic linux-image-unsigned-5.3.0-050300-generic

MusicBrainz Picard, a cross-platform music tagger, released version 2.2 a day ago. Here’s how to install it in Ubuntu 18.04, Ubuntu 19.04.

MusicBrainz Picard is a free and open-source software application for identifying, tagging, and organising digital audio recordings. It was developed by the MetaBrainz Foundation, a non-profit company that also operates the MusicBrainz database.

The latest Picard 2.2 was released with following new features:

  • Post save plugins
  • Built-in media player (beta feature)
  • Support for ReplayGain 2.0 tags
  • Replace genre / folksonomy tag blacklist with more comprehensive list
  • Replace hardcoded colors by user-configurable ones
  • Add plugin hook for file-added-to-a-track event, file-removed-from-a-track event, album-removed event, and file loaded event
  • Provide $is_video() / $is_audio scripting functions
  • Tons of bug-fixes, and many improvements.

How to Install Picard in Ubuntu:

Picard is available as Snap (runs in sandbox, version 2.2 is not ready at the moment), which can be directly installed from Ubuntu Software in Ubuntu 18.04 and higher.

MusicBrainz stable PPA also contains the latest packages for Ubuntu 18.04, Ubuntu 19.04, Ubuntu 19.10, Linux Mint 19.x, and their derivatives.

1. Open terminal either via Ctrl+Alt+T keyboard shortcut or by searching for ‘terminal’ from application menu. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:musicbrainz-developers/stable

Type user password when it prompts and hit Enter to continue.

2. After that, either upgrade from an existing version via Software Updater:

or simply run commands one by one to install the music tagger:

sudo apt update

sudo apt install picard

This quick tip shows beginners how to hide files or folders, without renaming them, in Ubuntu’s default Nautilus file browser.

In Ubuntu Linux, a file (or folder) with a name starts by a dot (.) is considered a hidden file. Filename ends with a tilde (~) is considered backup file which is also hidden.

You can press Ctrl+H on keyboard to show or hide hidden files / folders in file browser.

To hide files and/or folders, without renaming them by prefixing dots (.) or suffixing tildes (~), you can use an extension called nautilus-hide.

NOTE following steps works for all current Ubuntu releases, though the title says for Ubuntu 18.04.

1.) Open terminal either by searching for “terminal” from application menu or by pressing Ctrl+Alt+T on keyboard.

When terminal opens, run command to install the extension:

sudo apt install nautilus-hide

2.) Then restart Nautilus either via reboot or by running command:

nautilus -q

Finally in Nautilus file browser, select ‘Hide Files’ in files’ context menu (right-click menu).

To un-hide them, press Ctrl+H to show hidden files, then either select “Unhide Files” in hidden files’ context menu or remove the .hidden file.

NOTE: The extension works by adding file or folder names, that you choose to hide, into .hidden file (auto-create if not exist). Nautilus reads that file to hide the listed files the next time you open or refresh the folder.

Gscan2pdf, GTK tool to produce PDF / DjVu from scanned document, released version 2.5.6 with stability improvements. Here’s how to install it in Ubuntu.

Gscan2pdf 2.5.6 release highlights according to the changelog:

  • Prevent Negate from changing the alpha channel.
  • Avoid image corruption with colour images when applying WhiteThreshold after BlackThreshold.
  • Extended edit profile functionality in scan dialog to current scan options, when no profile selected.
  • Don’t try to compress log file if it wasn’t created.
  • Don’t blacklist empty device name
  • Improve layout of multiple message dialog.
  • Don’t use tiff2pdf to create temporary PDF to check for pdftk.
  • Fix --import option.
  • Fix updating extended page numbering on scan dialog after changing document
  • Fix printing.
  • Set “wait” cursor while scan options are being loaded and “progress” cursor while scanning.
  • Use gtk-3 cursors for ImageView widget
  • Ghost scan button while scan options are being loaded and scanning.
  • Fix bug storing responses from multiple message window when no responses had been stored before.

How to Install gscan2pdf 2.5.6 in Ubuntu:

The official Ubuntu PPA has made the new release packages for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.04 and their derivatives.

1. Open terminal either by pressing Ctrl+Alt+T on keyboard or by searching for ‘terminal’ from application menu. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:jeffreyratcliffe/ppa

Type user password (no asterisk feedback due to security reason) when it prompts and hit Enter.

2. For those who have a previous release installed, upgrade it through Software Updater:

For the first time, you can either install it via Synaptic Package Manager or by running following commands in terminal:

sudo apt-get update

sudo apt-get install gscan2pdf

How to Remove:

To remove gscan2pdf, either use your system package manager or run command:

sudo apt-get remove --autoremove gscan2pdf

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

Free raw image processing software RawTherapee 5.7 was released a day ago. Here’s how to install it in Ubuntu 18.04, Ubuntu 19.04, and derivatives.

RawTherapee 5.7 release highlights:

  • Film Negative tool
  • Support for reading “rating” tags from Exif and XMP
  • Updated CMake, GTK+, and other library requirements
  • Hundreds of bug fixes, speed optimizations and raw format support improvements.

Download / Install RawTherapee 5.7 in Ubuntu:

The official Linux Appimage, single executable to launch the software (non-install), is available for download in the previous link

For Ubuntu 18.04, Ubuntu 19.04, Linux Mint 19.x, you can also install RawTherapee 5.7 via this unofficial PPA.

1. Open terminal either via Ctrl+Alt+T keyboard shortcut or by searching for “Terminal” from application menu. When it opens, run command:

sudo add-apt-repository ppa:dhor/myway

Type user password (no asterisk feedback due to security reason) when it prompts and hit Enter to add the PPA.

2. After that, upgrade the software via Software Updater if a previous version was installed:

or run commands one by one in terminal to install RawTherapee:

sudo apt update

sudo apt install rawtherapee

How to Remove:

To uninstall the free raw developer, run command in terminal:

sudo apt-get remove --autoremove rawtherapee

And remove the PPA via Software & Updates utility under Other Software tab, by removing the line says “http://ppa.launchpad.net/dhor/myway/ubuntu”.