Archives For jimingkui

Blender 2.79

Blender 2.80 was officially released yesterday with redesigned UI, new render engine, and other improvements. Here’s how to install it in Ubuntu.

Blender 2.80 features:

  • Redesigned user interface with:
    • New dark theme and modern icon set
    • Use the left mouse button for selection by default.
    • Right-click context menu, and Quick Favorites menu (Q key)
    • Templates, and Workspaces
  • A new Workbench render engine
  • The 3D viewport and UV editor have new interactive tools and gizmos, along with a new toolbar.
  • Eevee – a new physically based real-time renderer.
  • Grease Pencil gets full 2D drawing and animation support
  • Combined CPU+GPU rendering for the Cycles renderer

How to Install Blender in Ubuntu:

Blender offers official Snap packages (runs in sandbox) for Linux Desktop.

For Ubuntu 18.04 and higher, simply search for and install it from Ubuntu Software:

For Ubuntu 16.04, first open terminal (Ctrl+Alt+T) and run command to install snapd:

sudo apt install snapd

Then install the official Blender snap package via command:

sudo snap install blender --classic

Once installed, launch it from your system application launcher and enjoy!

In addition, for those who previously installed the snap of Blender 2.80 Beta, remove it before installing the stable package via command:

sudo snap remove blender

gImageReader 3.3.1, open source GTK/Qt front-end of tesseract-ocr, was released a few days ago. Here’s how to install it in Ubuntu 18.04, Ubuntu 19.04, and derivatives.

gImageReader 3.3.1 release highlights:

  • Allow specifying a DPI to assume for image sources when exporting to PDF
  • Allow to choose whether to sanitize hyphens when exporting to PDF
  • Attempt to map 639-2 language codes to ISO 639-1 to set spelling language
  • Allow specifying character whitelist / blacklist for recognition
  • Various other improvements, bug-fixes, and translation updates.

How to Install gImageReader 3.3.1 in Ubuntu:

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

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

sudo add-apt-repository ppa:sandromani/gimagereader

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

2. You may remove old gImageReader package if installed from Ubuntu Software:

sudo apt remove --autoremove gimagereader

3. Finally install the latest packages via command:

sudo apt update; sudo apt install gimagereader-gtk

For qt version, replace gimagereader-gtk with gimagereader-qt in last command.

Uninstall gImageReader:

To remove the software, open terminal and run command:

sudo apt remove --autoremove gimagereader-qt gimagereader-gtk

And remove the PPA repository by going to Software & Updates -> Other Software tab.

Free open-source multi-platform flight simulator FlightGear 2019.1 was finally released today. Here’s how to install it in Ubuntu 18.04 and higher.

FlightGear 2019.1 release highlights:

  • METAR interpretation: Change CAVOK visibility to 9999.0 metres
  • Add the ability to control the turbine engines spin down factor
  • Add the ability to set up the starter and acceleration times of a turbine
  • Yasim ground friction (stiction) changes
  • fgcommands “add-aiobject” and “remove-aiobject” for adding/removing objects to the AI subsystem.
  • Support for DDS Texture Cache
  • New experimental Compositor rendering framework
  • Some Boeing 777 update, and other more.

How to Install FlightGear in Ubuntu:

FlightGear is available in Ubuntu Software by default, but always old. To get the most recent version, you can:

  • either install or upgrade FlightGear via PPA repository.
  • or install the Flatpak package (runs in sandbox).

NOTE: Both PPA repository and Flatpak package are not updated at the moment. The new release packages will be available in a few days.

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

sudo add-apt-repository ppa:saiarcot895/flightgear

Then you’ll be able to either upgrade FlightGear through Software Updater,

or install the simulator via command:

sudo apt update && sudo apt install flightgear

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

2. FlightGear Flatpak package is available in Flathub repository, where also contains how to install instructions.

A new major update IntelliJ IDEA 2019.2 was released a few days ago with a lot of exciting new features and improvements.

IntelliJ IDEA 2019.2 release highlights:

  • Java 13 Preview support:
    • support for the Switch Expressions preview feature and its new syntax.
    • support for the Text Blocks preview feature
  • Much improved startup times
  • Work smoothly with large files.
  • New modern borderless UI on Windows 10.
  • Integrate with Async profiler (macOS and Linux), and with Java Flight Recorder.
  • See announcement for more details.

How to Insall the Latest IntelliJ IDEA in Ubuntu:

It’s quite easy to install the latest IDEA packages in Ubuntu since Jetbrains offers official snap (containerised software package) package in snappy store.

Simply open Ubuntu Software, search for and you’ll see IDEA ultimate and community packages available for install.

NOTE for Ubuntu 16.04 users who never installed a snap package, make sure snapd is installed by running command in terminal (Ctrl+Alt+T):

sudo apt-get install snapd

Then install the package via command (you may replace community in the code with ultimate):

sudo snap install intellij-idea-community --classic

Xfce’s lightweight Parole media player released the third bug-fix update for the 1.0 series today. Here’s how how to install it in Ubuntu 18.04, Ubuntu 19.04, and their derivatives.

Parole 1.0.3 release highlights:

  • Drop deprecated OnlyShowIn keys in desktop actions
  • Ensure the time divider is shown/hidden correctly
  • Fix closing of Parole process with Ctrl-Q
  • Fix Gtk-CRITICAL when closing main window
  • Change text ‘…’ to ‘…’ for consistency with other Xfce apps
  • Change text ’60 seconds’ to ‘1 minute’
  • Move appdata to metainfo

How to Install Parole 1.0.3 in Ubuntu 18.04, 19.04:

The unofficial PPA has made the new release package for Ubuntu 18.04 and Ubuntu 19.04.

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

sudo add-apt-repository ppa:ubuntuhandbook1/apps

Type user password (no asterisk 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 update

sudo apt install parole

For those who don’t want to add PPA, grab the .deb package 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

Ubuntu mainline kernel packages for Linux 5.2 finally available to download & install in 32-bit and 64-bit operating systems.

Due to build failure, Ubuntu mainline kernel packages for Linux 5.2 missed 32-bit & 64-bit packages for a few weeks.

Linux Kernel 5.2 release highlights:

  • Nouveau suppport for GeForce GTX 1650.
  • Intel Icelake graphics considered production-ready.
  • Intel Comet Lake support
  • Improved AMD Ryzen laptop support.
  • Better Logitech wireless device support.
  • New “RTW88” 802.11ac WiFi driver.
  • Various other improvements and updated drivers.

At the moment, Linux 5.2 series is at the second 5.2.2 maintenance release. And here’s how to install it in Ubuntu, Linux Mint.

How to Install Linux Kernel 5.2.2 in Ubuntu:

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

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

  1. linux-headers-5.2.2-xxxxxx_all.deb
  2. linux-headers-5.2.2-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  3. linux-modules-5.2.2-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  4. linux-image-xxx-5.2.2-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 (Ctrl+Alt+T):

For 64-bit OS:

cd /tmp/

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2.2/linux-headers-5.2.2-050202_5.2.2-050202.201907231250_all.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2.2/linux-headers-5.2.2-050202-generic_5.2.2-050202.201907231250_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2.2/linux-image-unsigned-5.2.2-050202-generic_5.2.2-050202.201907231250_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2.2/linux-modules-5.2.2-050202-generic_5.2.2-050202.201907231250_amd64.deb

sudo dpkg -i *.deb

for 32-bit OS:

cd /tmp/

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2.2/linux-headers-5.2.2-050202_5.2.2-050202.201907231250_all.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2.2/linux-headers-5.2.2-050202-generic_5.2.2-050202.201907231250_i386.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2.2/linux-image-5.2.2-050202-generic_5.2.2-050202.201907231250_i386.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2.2/linux-modules-5.2.2-050202-generic_5.2.2-050202.201907231250_i386.deb

sudo dpkg -i *.deb

Once installed, restart your computer and enjoy!

Uninstall Linux Kernel 5.2.2:

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

sudo dpkg --purge linux-image-5.2.2-050202-generic linux-image-unsigned-5.2.2-050202-generic

PyCharm 2019.2 was released today with exciting new features, initial Python 3.8 support, improved Jupyter Notebook experience, and many more other changes.

PyCharm 2019.2 release highlights:

  • Improved Jupyter Notebook integration. Some of the most requested features have been implemented.
  • Syntax highlight support for many other languages, C#, C++, Groovy, Lua, Makefiles, and more.
  • cURL format is now supported for HTTP requests.
  • Add support for some major Python 3.8 features.
  • Full-text search across multiple data sources
  • Improved debugging and variable refactoring experiences.
  • For more details, see the release note.

How to Install PyCharm 2019.2 in Ubuntu:

Jetbrains offers official Snap package for Linux desktop, which keeps the IDE always up-to-date.

For Ubuntu 18.04 and higher, simply open Ubuntu Software, search for and install pycharm packages:

For Ubuntu 16.04, open terminal (Ctrl+Alt+T) and install snapd daemon via command:

sudo apt install snapd snapd-xdg-open

Then install PyCharm snap package via command:

sudo snap install pycharm-community --classic

In the command replace pycharm-community with pycharm-professional for the professional edition.

Uninstall:

To remove the PyCharm snap package, either use Ubuntu Software or run command in terminal:

sudo snap remove pycharm-professional pycharm-community

Ubuntu will by default go sleep when your laptop battery is running into critical low. For those who want to apply anther action, here’s how to do the trick in Ubuntu with the default GNOME desktop.

NOTE: This tutorial is tested and works in Ubuntu 22.04 with default GNOME. It may also works in current other Ubuntu releases.

1. First, open terminal either by searching from ‘Activities’ overview or by pressing Ctrl+Alt+T on keyboard.

2. When terminal opens, run command to edit the upower config file:

sudo gedit /etc/UPower/UPower.conf

For Ubuntu 22.10+, replace gedit in command with gnome-text-editor, or use nano instead for other Linux.

3. Once file opens, scroll down and find out the line CriticalPowerAction=HybridSleep (the last line in my case). As the description says, you can change the value into:

(Optional) 4. For choice, you may also edit the value of following lines:

  • PercentageLow=20 – battery low when percentage 20% left.
  • PercentageCritical=5 – battery critical when percentage 5% left.
  • PercentageAction=2 – perform the action you set in step 3 when battery 2% left.

In case you want to use time remaining instead, find out and change UsePercentageForPolicy=false. So, following values will be in active:

  • TimeLow=1200 – battery low when 1200 seconds left.
  • TimeCritical=300 – battery critical when 300 seconds left.
  • TimeAction=120 – perform action (step 3) when 120 seconds left.

5. Once you saved the file (for nano text editor, press Ctrl+X, type y and hit Enter), run the command to restart upower service to apply changes:

sudo systemctl restart upower.service

That’s all. Enjoy!

In Ubuntu 18.04 and higher, Gnome’s built-in screen keyboard can be enabled via universal access menu.

However, it only triggers automatically in Gnome Activities and Application menu, nowhere else. See the bug. Though it’s marked as fixed, I still have the problem in my laptop.

For those have the same issue, you can install the previous Ubuntu 16.04’s default onboard screen keyboard utility in Ubuntu 18.04 as a workaround.

Open Ubuntu Software, search for and install onboard as well as onboard settings.

Once installed, launch the utility from Gnome application menu.

In onboard settings, set up auto-show, layout, theme, etc and enjoy!

Teams for Linux is an unofficial Microsoft Teams client for Linux using Electron. It uses the Web App and wraps it as a standalone application using Electron.

The latest Teams for Linux 0.4 was released 2 days ago with mostly stability improvements and fixes. And the spellchecker has been re-implemented not to need an external module.

Teams for Linux is available to install via Snap package (runs in sandbox). So you can easily search for and install it from Ubuntu Software utility in Ubuntu 18.04 and higher:

Also native Ubuntu .deb package is available to download at the release page:

Click install the .deb package via Ubuntu Software, or open terminal (Ctrl+Alt+T) and run following command:

sudo dpkg -i ~/Downloads/teams-for-linux*.deb

Once installed, launch the client from your system application menu and enjoy!