Archives For November 30, 1999

Kodi media center 18.7 was released today. Now it’s available to install via PPA in Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.10, and Ubuntu 20.04.

Kodi 18.7 is a bug-fix release that contains following changes:

  • Add more PVR context menu support.
  • Add scroll to plot on PVR Channel Guide Dialog
  • Add an icon for Blu-rays
  • PVR addon API documentation updates and fixes.
  • improve bluray menu detection.
  • allows encrypted dvd playback on ios
  • Add “Get all” button to Controller dialog.
  • Fix playing games with VideoPlayer when emulators are disabled
  • And much more other changes.

How to Install Kodi 18.7 in Ubuntu:

Though it’s not been officially announced in Kodi website, Kodi Team PPA has made the packages for all current Ubuntu releases and derivatives.

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

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

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

2. Then either upgrading Kodi from an existing version via Software Updater:

or refresh system package cache and install Kodi 18.7 via commands:

sudo apt update

sudo apt install kodi

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

HPLIP, HP print, scan, and fax drivers for Linux, released 3.20.5 a few days ago with new printers and Linux distributions support.

HPLIP 3.20.5 added following new devices support:

  • HP DeskJet 1200, Ink Advantage 1200
  • HP DeskJet 2300 All-in-One, Ink Advantage 2300 All-in-One
  • HP ENVY 6000 series, Pro 6400 series.
  • HP DeskJet Plus 6000, 6400 series
  • HP DeskJet 2700 and Ink Advantage 2700 All-in-One Printer series
  • HP DeskJet Plus 4100, Ink Advantage 4100 All-in-One Printer series
  • HP LaserJet Enterprise M610dn, M611dn, M611x, M612dn, M612x
  • HP LaserJet Enterprise MFP M634dn, M634z, M635h, M635fht, M636fh
  • HP LaserJet Enterprise Flow MFP M634h, M635z, M636z

The new release also added support for Debian 10.3, and Manjaro 19.0.

There’s also known issues that USB print and scan will not work on Vasari and Taccola on Ubuntu 20.04, please refer to link: manpages.ubuntu.com.

How to Install HPLIP 3.20.5 in Ubuntu:

1. To install the software, download the package “hplip-3.20.5.run” from the link below:

2. Then open terminal either via Ctrl+Alt+T or by searching for “terminal” from app launcher. When it opens, run command to give executable permission:

chmod +x ~/Downloads/hplip-3.20.5.run

3. Finally run command to start installing the driver:

./Downloads/hplip-3.20.5.run

Follow the terminal output and answer some questions. If everything goes OK, plug or re-plug your HP devices and enjoy!

Want to convert your video files (e.g., mp4, wav, mkv) to mp3 or other audio formats?

Without struggling with FFmpeg command line tool or any other video editor, SoundConverter offers a clean and easy interface that can do the job just with a few clicks.

SoundConverter supports reading Ogg Vorbis, AAC, MP3, FLAC, WAV, AVI, MPEG, MOV, M4A, AC3, DTS, ALAC, MPC, Shorten, APE, SID, MOD, XM, S3M, etc…, and converting to Opus, Ogg Vorbis, FLAC, WAV, AAC, and MP3.

1.) First install SoundConverter either from Ubuntu Software Center:

or by running command in terminal:

sudo apt install soundconverter

2.) Launch the tool, add your video files, choose output format, and click convert.

The program will use as many cores as possible to speed up the conversion if you have huge number of files to process.

For KDE users, there’s SoundKonverter (install it from Ubuntu Software) with more features including rapping CD to mp3.

FlightGear Flight Simulator 2020.1 was released a week ago. Now it’s finally made into PPA for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.10, Ubuntu 20.04, and their derivatives.

FlightGear 2020.1 was released as current preview release that contains many exciting new features, enhancements and bugfixes.

Enhancements since 2019.1 include a developer preview of the upcoming Compositor graphical rendering framework as a separate pre-built binary, better aircraft carrier support, improvements to both the JSBSim and YASim flight dynamics models, better view options, more efficient and better looking OpenStreetMap buildings and translation of the UI into Polish. Major aircraft updates include the Boeing 777, Airbus A320, Antonov AN-24, F-16, Piper J3Cub, Saab JA37 Viggen, Piper PA28 Cherokee, Bombardier Q-400, Space Shuttle.

1.) To install the flight simulator, first open terminal either from system application menu or by pressing Ctrl+Alt+T on keyboard.

When terminal opens, run command to add the PPA repository:

sudo add-apt-repository ppa:saiarcot895/flightgear

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

2.) Then refresh system package cache and install the software via command:

sudo apt update

sudo apt install flightgear

If an old version was installed, you can also upgrade it via Software Updater utility.

Uninstall:

To remove FlightGear PPA, either go to Software & Updates > Other Software, or run command:

sudo add-apt-repository --remove ppa:saiarcot895/flightgear

And remove the flight simulator if you want by running command:

sudo apt remove --autoremove flightgear flightgear-data

SuperTux, classic 2D jump’n run video game inspired by Super Mario Bros, released 0.6.2 a few days ago to celebrate its 20th anniversary.

SuperTux 0.6.2 features reworked graphics and levels, release highlights include:

  • A new worldmap, “Revenge In Redmond”, which includes new enemies and sprites !!!
  • New and improved backgrounds and sprites
  • Improvements to many levels in the Icy Island and forest world
  • Speed improvements for levels using a huge amount of lava tiles
  • An issue causing the bridge in the forest world to not be shown in certain cases was fixed

How to Install SuperTux 0.6.2 in Ubuntu:

For Ubuntu 18.04 and higher, SuperTux Snap package (runs in sandbox) can be installed directly from Ubuntu Software Center.

If you prefer Ubuntu .deb package, I’ve uploaded the packages into the unofficial PPA for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.10, and Ubuntu 20.04.

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

sudo add-apt-repository ppa:ubuntuhandbook1/supertux

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

2. If an old version of the .deb package was installed, upgrade it via Software Updater:

or run commands to install Supertux 0.6.2:

sudo apt update && sudo apt install supertux

Uninstall:

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

sudo add-apt-repository --remove ppa:ubuntuhandbook1/supertux

To remove the game, run command:

sudo apt remove --auto-remove supertux supertux-data

This simple tutorial shows how to change the action (e.g., power off, hibernate, do nothing, or lock) when laptop lid is closed in Ubuntu 20.04, Ubuntu 22.04, and Ubuntu 24.04, while it suspends Ubuntu by default.

NOTE: This tutorial is also tested and works in Ubuntu 22.04, and Ubuntu 23.10 with default GNOME desktop environment.

Dconf editor offers options to change the action to take when the laptop lid is closed on AC or power, but it doesn’t work!

So far as I know, you can edit the logind.conf file to change the action. And it should work on all Ubuntu desktop, server, and flavors.

1.) Open terminal (press Ctrl+Alt+T on Gnome) from your system application menu. When it opens, run command:

sudo gedit /etc/systemd/logind.conf

Type user password (no asterisk feedback) and hit Enter. For Ubuntu 24.04, replace gedit in command with gnome-text-editor or nano command line text editor depends on your desktop environment.

2.) When the file opens, find out the line #HandleLidSwitch=suspend and change it to one of following :

  • HandleLidSwitch=lock – lock when lid closed.
  • HandleLidSwitch=ignore – do nothing, some laptops will disconnect Wi-Fi.
  • HandleLidSwitch=poweroff – shutdown.
  • HandleLidSwitch=hibernate – hibernate Ubuntu.

NOTE: hibernation feature does NOT work out-of-the-box in Ubuntu, you have to enabled it first if need.

3.) Set different lid close action when running on power supply.

For choice, you can also uncomment ‘HandleLidSwitchExternalPower=suspend‘ by removing # at its beginning, and change the value to lock, ignore, poweroff, or hibernate.

So the rule in step 2.) only works when your laptop is running on battery. While, this step will take effect when running on AC power supply.

4.) Finally apply changes by running command (For old 14.04 with init, use sudo restart systemd-logind instead):

systemctl restart systemd-logind.service

For Ubuntu 22.04 and higher, the command will log you out, and break next login. So, you may just restart your computer instead to apply change.

Note you have to do previous steps every time you want to change the action. And ‘Suspend when laptop lid is closed‘ option in Gnome Tweaks will no longer work before you comment (add # at the beginning) the line in /etc/systemd/logind.conf.

The default Gnome desktop lacks an option to disconnect current wifi connection. For those who want the function in Ubuntu 20.04, a gnome shell extension is available to do the job.

1.) To install the extension, go to Disconnect Wifi extension web page, turn on the toggle and click ‘Install’ in pop-up dialog.

Don’t see the toggle? Do following steps, then refresh the web page.

  • Click the link text “click here to install browser extension” and follow the pop-ups to install the browser extension:

  • Then open terminal via Ctrl+Alt+T and run command:
    sudo apt install chrome-gnome-shell

2. (Optional) You can manage the gnome shell extension via either Extensions utility or Gnome Tweaks > Extensions.

Kid3 audio tag editor released new version 3.8.3 today. Here’s how to install it in Ubuntu 20.04, Ubuntu 19.10, Ubuntu 18.04, and Ubuntu 16.04.

Kid3 3.8.3 comes with new keyboard shortcuts to navigate between the file and tag sections, 2 new scripts to apply English title capitalization to tags and transliterate ID3v1 tags to ASCII.

Other changes include:

  • Korean and Swedish translations.
  • Dark mode and custom themes improvements.
  • Support dragging multiple header rows in import table
  • Rename read-only files
  • Handbook updates and many bug-fixes.

How to Install Kid3 3.8.3 in Ubuntu:

The official Kid3 PPA has been updated with the new packages for all current Ubuntu releases, Linux Mint and derivatives.

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

sudo add-apt-repository ppa:ufleisch/kid3

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

2. If an old version was installed, upgrade Kid3 using Software Updater:

or run commands one by one in terminal to install or upgrade to the latest tag editor:

sudo apt update

sudo apt install kid3-qt

You may replace kid3-qt with kid3 in the code for KDE integration, or with kid3-cli for the command-line interface

Uninstall

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

sudo add-apt-repository --remove ppa:ufleisch/kid3

To remove the audio tag editor, either use your system package manager or run command:

sudo apt remove --auto-remove kid3 kid3-*

This quick tip is going to show you how to get a textual location entry in the default Nautilus file browser in Ubuntu 20.04.

For temporary use, you can get the current files or folders’ path by simply pressing Ctrl+L on keyboard.

The default path bar becomes a location entry after pressing Ctrl+L, then you can copy and paste it for any use.

To let Nautilus display textual path entry for the location bar permanently:

Instead of the path-bar, you can always use a textual input entry for the location toolbar, by running following command in terminal:

  • Press Ctrl+Alt+T to open terminal and run command:
    gsettings set org.gnome.nautilus.preferences always-use-location-entry true

  • And you can restore change via command:
    gsettings reset org.gnome.nautilus.preferences always-use-location-entry

Alternatively, use a graphical tool Dconf Editor, install it via Ubuntu Software, by navigating to ‘org/gnome/nautilus/preferences’

That’s it. Enjoy!