Archives For jimingkui

brackets code editor

Brackets 1.14 was released with PHP, Language Server Protocol support. Here’s how to install it in Ubuntu 18.04.

Brackets 1.14 release highlights:

  • Language Server Protocol support.
  • PHP Tooling support. Tooling includes: Code Hints, Parameter Hints, Linting, Jump To Definition, Find References, Find Document/Project Symbols.
  • Framework for in-app notifications
  • Auto-update bug fixes
  • Update notification targeted to a specific platform

How to Install Brackets 1.14 in Ubuntu:

Snap package:

The easiest way to install the editor is using the community maintained snap (run in sandbox) package.

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

For Ubuntu 16.04, open terminal (Ctrl+Alt+T) from application menu and run 2 commands one by one:

sudo apt-get install snapd

sudo snap install brackets --classic

.Deb package:

The developer team offers official .deb packages, available for download at the release package:

Grab the package, and install it via Gdebi (install it via Ubuntu Software) package installer.

NOTE in my case the deb is conflict with some other packages, e.g., curl, kicad. They will be removed while installing the deb.

Remove Brackets

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

sudo snap remove brackets

To remove the official .deb package, run command in terminal:

sudo apt remove --auto-remove brackets

KeePass password manager 2.42 was released a few hours ago with many enhancements, improvements and bug-fixes.

KeePass 2.42 release highlights:

  • Added ‘Group’, ‘Entry’ and ‘Find’ to main menu, and removed ‘Edit’.
  • System-wide hot key (Ctrl+Alt+Shift+A) to auto-type only the password of a matching entry.
  • Shift+double clicking URL copy link to clipboard.
  • Added quick edit commands ‘Expires: Now’ and ‘Expires: Never’.
  • Added support for importing Steganos Password Manager 20 CSV files.
  • Added support for importing Bitwarden 1.12 JSON files.
  • Added support for importing tags and keywords for Mozilla Bookmarks JSON import
  • Two commands for copying a whole entry to the clipboard: ‘Copy Entry (Encrypted)’ and ‘Copy Entry (Unencrypted)’.
  • Added Ctrl+Shift+P shortcut for printing the currently selected group.
  • Added ‘Cancel’ command in the context menu of KeePass’ system tray icon.
  • And various other improvements and bug-fixes.

How to Install the Latest KeePass in Ubuntu:

The software package has been made into PPA for all current Ubuntu releases and derivatives.

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

sudo add-apt-repository ppa:ubuntuhandbook1/keepass2

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

2. Then upgrade KeePass password safe via Software Updater if you have a previous version installed:

Or run commands to install / upgrade the software:

sudo apt-get update && sudo apt-get install keepass2

Uninstall:

The PPA repository can be removed via Software & Updates utility under Other Software tab.
To remove KeePass password safe, simply run command:

sudo apt-get remove --autoremove keepass2

FreeCAD, free and open-source 3D parametric modeler, released version 0.18 recently with Python 3 and Qt 5 support. Here’s how to install it in Ubuntu 16.04, Ubuntu 18.04, and Ubuntu 19.04.

FreeCAD 0.18 release highlights:

  • Extended TechDraw tools
  • New sketcher tools, more stable and robust PartDesign
  • Enhanced and extended Arch and BIM tools
  • Redesigned Start center
  • New Navigation Cube
  • Specify a custom background image for FreeCAD’s main window

Install or Upgrade FreeCAD in Ubuntu:

The official FreeCAD PPA has built the latest release packages for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.04, and their derivatives.

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

sudo add-apt-repository ppa:freecad-maintainers/freecad-stable

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

2. If a previous release was installed on your system, upgrade it via Software Updater:

Or install the software via following commands:

sudo apt update

sudo apt install freecad

Uninstall:

To remove FreeCAD, simply run command in terminal:

sudo apt remove --auto-remove freecad

To remove the PPA, open Software & Updates -> Other Software.

How to Install OpenJDK 8 in Ubuntu 19.04

Last updated: April 26, 2019

For those sticking to the OpenJDK Java 8, you may found it’s missing from the default repositories of Ubuntu 19.04.

To install OpenJDK 8 in Ubuntu 19.04, you can either download and install the package from Ubuntu 18.10 repository, or use OpenJDK builds (all archs) PPA.

Install OpenJDK 8 via Ubuntu 18.10 packages:

1. Click download following 4 packages (for the default 64-bit OS, click HERE for 32-bit packages.) from Ubuntu server.

2. Then open terminal (Ctrl+Alt+T) and install them via command:

sudo dpkg -i ~/Downloads/openjdk-8-*.deb

3. The installation will fail due to dependency issue, simply run following command to fix it:

sudo apt -f install

That’s it.

Install OpenJDK 8 via PPA:

There’s also an OpenJDK PPA that contains the packages for Ubuntu 19.04. Open terminal either from application menu or by pressing Ctrl+Alt+T on keyboard and then run following commands one by one.

1. Add the PPA repository by running command:

sudo add-apt-repository ppa:openjdk-r/ppa

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

2. Then install OpenJDK 8 after checking for updates (it’s done automatically).

sudo apt install openjdk-8-jdk openjdk-8-jre

3. (Optional) Finally remove the PPA either via Software & Updates -> Other Software, or by running command:

sudo add-apt-repository --remove ppa:openjdk-r/ppa

Battle for Wesnoth 1.14.7 was released a few days ago with many improvements and fixes, and later 1.14.8 was released with a quick fix for Mac OS. Here’s how to install it in Ubuntu 16.04, Ubuntu 18.04, and higher.

Battle for Wesnoth 1.14.7 release highlights:

  • Numerous improvements and bug-fixes to the Campaigns
  • Units, tutorial, and translation updates.
  • UI improvements, including fix undoing a recall, add jamming to the vision tooltip in the sidebar, and more.
  • Miscellaneous and bug fixes. See HERE for details.

How to Install Battle for Wesnoth 1.14.7 in Ubuntu:

The new release package has been made into Flatpak package, available to install via the Flathub repository.

1. (For Ubuntu 16.04 only), open terminal either via Ctrl+Alt+T keyboard shortcut or by searching for ‘terminal’ from app launcher. When it opens, run command:

sudo add-apt-repository ppa:alexlarsson/flatpak

sudo apt-get update

2. Install flatpak framework via command:

sudo apt-get install flatpak

3. Add flathub repository:

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

4. Finally install the flatpak package of Battle for Wesnoth:

flatpak install flathub org.wesnoth.Wesnoth

Once installed, launch the game either from software launcher, or by running command flatpak run org.wesnoth.Wesnoth

If you already installed an old version via Flatpak, update it via command:

flatpak update org.wesnoth.Wesnoth

(Optional) 5. To remove the game, run command:

flatpak uninstall org.wesnoth.Wesnoth

NVIDIA announced the new Linux driver 430 series a day ago with GTX 1650 support. Here’s how to install it in Ubuntu 16.04, Ubuntu 18.04, and higher.

NVIDIA 430.09 was released as first beta with following new features:

  • New GPUs Support. GeForce GTX 1650, GeForce GTX 1650 with Max-Q Design, GeForce GTX 1660 Ti with Max-Q Design
  • Added HEVC YUV 4:4:4 decode support to the NVIDIA VDPAU driver.
  • Raised the minimum supported X.Org xserver version to 1.7
  • Added support for the GL_NV_vdpau_interop2 OpenGL extension
  • Bug-fixes, and various other VDPAU additions

How to Install NVIDIA Driver 430.09 in Ubuntu:

The Graphics Drivers Team PPA has built the 430.09 packages for all current Ubuntu releases, though it’s still in beta stage.

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:graphics-drivers/ppa

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

2. For Linux Mint 19, you may need to run command to refresh system package cache:

sudo apt update

3. Launch Software & Updates utility, and navigate to Additional Drivers tab.

Then choose using “NVIDIA driver metapackage from nvidia-driver-430” from the list and click Apply Changes.

In addition, if the driver does not install after clicking ‘Apply Changes’, try running command in terminal:

sudo apt install nvidia-driver-430 nvidia-settings

For unmet dependency issue, try removing old NVIDIA proprietary drivers first.

Kodi “Leia” 18.2 was released a day ago with numerous bug-fixes and performance improvements. Here’s how to install it in Ubuntu 16.04, Ubuntu 18.04, and higher.

Kodi 18.2 is a bug fix release with no real new functionality. Release highlights include:

  • Fix performance and dependency regressions in GLES rendering path.
  • Fixes to the AML platform
  • VAAPI on Intel improvements.
  • Fixes and improvements across all aspects of PVR
  • Music experience improvements.
  • Huge number of improvements for the Android platform

How to Install Kodi 18.2 in Ubuntu:

The Kodi stable PPA has made the new release packages for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 18.10, and their derivatives.

1. Open terminal either via Ctrl+Alt+T keyboard shortcut or from application menu. When it opens, paste below command and hit run:

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

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

2. Then refresh system package cache and install Kodi 18.2 via command:

sudo apt update

sudo apt install kodi

For Ubuntu 18.04 and higher, you can skip the apt update command.

Uninstall:

To remove the Kodi PPA repository, simply open Software & Updates -> Other Software.

To remove Kodi, run command:

sudo apt remove --autoremove kodi kodi-data kodi-bin

This quick tutorial shows how to pin your application launcher icons to the Gnome Desktop in Ubuntu 19.04.

In Ubuntu 19.04 Gnome 3.32, instead of Nautilus file browser the desktop icons are now handled by Gnome Shell extension. This makes some difference on the settings.

To create desktop shortcut icons for installed applications, do following steps one by one.

1. Open file browser, navigate to Other Locations -> Computer, then go to directory usr -> share -> applications.

Then select the .desktop files of which you want to pin to desktop. Copy them either via Ctrl+C or by choosing ‘Copy’ from right-click menu.

2. Click on the blank area on your desktop. Right-click and choose ‘Paste’ (or Ctrl+V) to paste them to the desktop.

3. Finally right-click on each desktop file, and choose “Allow Launching“.

Now you’re able to click these icons to launch corresponding applications. And simply remove an icon if you don’t want it any more.

The final release of the open source kart racing game, SuperTuxKart 1.0, was announced. Here’s how to install it in Ubuntu 16.04, Ubuntu 18.04, Ubuntu 18.10, Ubuntu 19.04

SuperTuxKart 1.0 is a major release that features:

  • Play online with up to 10 other players.
  • Multiple game mode: normal race, time trial, soccer mode, battle mode and the new Capture-The-Flag mode
  • Create your own server, or join a public server.
  • Replace the old mansion track with the new upgraded Ravenbridge Mansion track.
  • Add the Black forest add-on to the official STK track set!
  • And numerous bug-fixes, performance improvements, and more.

How to install SuperTuxKart 1.0 in Ubuntu:

The dev PPA now is building the packages at the moment for all current Ubuntu releases. You’ll be able to install the package via following steps in a few hours.

1. Open terminal either via Ctrl+Alt+T keyboard shortcuts, or by searching for ‘terminal’ from app launcher. When it opens, run command:

sudo add-apt-repository ppa:stk/dev

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

2. For Ubuntu 16.04 and Linux Mint, you need to run command to refreah system package cache:

sudo apt update

3. Finally install the game via command:

sudo apt install supertuxkart

Once installed, open the game from your system application launcher and enjoy!

Uninstall:

To remove SuperTuxKart, open terminal and run command:

sudo apt remove --auto-remove supertuxkart supertuxkart-data

To remove the PPA, open Software & Updates -> Other Software, and remove the repository line: