Archives For November 30, 1999

TLP is a free and open-source tool aims to save laptop battery life for Linux laptops. It’s a feature-rich command line utility for saving battery power without the need to dig deeper into technical details

It comes with a default configuration already optimized for battery life, so you may just install and forget it. Nevertheless TLP is highly customizable to fulfill your specific requirements.

TLP features include:

  • Kernel laptop mode and dirty buffer timeouts
  • AMD/Intel CPU scaling driver operation mode
  • Processor frequency scaling and turbo boost
  • Intel CPU max/min P-state limits to control power dissipation
  • AMD/Intel CPU energy/performance policies (EPP) and dynamic boost
  • Intel GPU frequency limits
  • AMD GPU power management
  • Enable/disable integrated bluetooth, Wi-Fi and WWAN devices
  • And much more.

How to Install TLP in Ubuntu:

The software has an official PPA repository so far supports for Ubuntu 20.04, Ubuntu 22.04, Ubuntu 23.10, and Ubuntu 24.04.

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:linrunner/tlp

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

2.) If you already installed an old version, open Software Updater and upgrade the package.

This will also upgrade TLP from the beta release to the latest stable.

Or run command in terminal to install it for the first time:

sudo apt update && sudo apt install tlp

After installation, just leave it running silently in the background and you’re done.

For advanced users, you may edit the config file /etc/tlp.conf and change the settings according to your need:

sudo gedit /etc/tlp.conf

For Ubuntu 23.10, and Ubuntu 24.04, replace gedit with gnome-text-editor. For non-default desktop environments, use your own text editor, or use nano that works for all. For how to configure the file, see the official documentation.

Uninstall TLP:

You can run command in terminal to purge the PPA which also downgrade TLP to the stable version available in Ubuntu main repository:

sudo apt install ppa-purge && sudo ppa-purge ppa:linrunner/tlp

To completely remove the TLP power management tool, run command:

sudo apt remove tlp tlp-rdw

This simple tutorial shows how to install the latest Photoflare, simple but powerful image editor inspired by PhotoFiltre, in Ubuntu 18.04, Ubuntu 19.04, and Ubuntu 19.10.

Photoflare is an open-source, cross-platform image editor written in C++ with Qt5 framework. It features:

  • Simple but powerful, and very fast to do everything.
  • Works on Linux, Windows, and Mac OS.
  • Basic image editing capabilities
  • Paint brushes
  • Image filters
  • Color adjustments
  • And more advanced features such as Batch image processing.

How to Install PhotoFlare in Ubuntu:

The image editing software is available in Ubuntu universe repositories since Ubuntu 19.04, though it may be old as Ubuntu does not offer the software updates.

To install the latest version, and receive future updates via Software Updater utility, the official Photoflare stable PPA maintains the packages with support for Ubuntu 18.04, Ubuntu 19.04, and Ubuntu 19.10 so far.

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

sudo add-apt-repository ppa:photoflare/photoflare-stable

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

2.) After adding the PPA, install the image editor via command:

sudo apt install photoflare

Some Ubuntu derivatives may need to run sudo apt update first.

If an old version was installed, you can upgrade the software simply via Software Updater (Update Manager) utility.

Uninstall:

To remove the image editor, simply run command in terminal:

sudo apt remove photoflare

To remove the PPA repository, go to Software & Udpates -> Other Software tab and remove the repository line.

LibreOffice, Ubuntu pre-installed office suite, released version 6.4 today as the latest “fresh” version.

LibreOffice 6.4.0 so far is recommended for technology enthusiasts, which contains new features and program enhancements.

LibreOffice 6.4 release highlights include:

  • Option to mark comments as resolved in Writer
  • Possible to comment on Writer images and charts
  • btLr text direction in Writer.
  • Allow-overlap shape property in Writer
  • Export Calc files to PDF with all pages on a sheet as one page in the PDF.
  • Add ‘Remove Hyperlink’ to context menu in Impress
  • Add ‘Consolidate Text’ which combines multiple selected textboxes into one
  • Access2Base callable from Python
  • Doc, DocX, PPT, PPTX, Excel 2003 XML import/export improvements.
  • Draw MIME type icon overlay on thumbnails at the start center
  • Add new ‘Table’ sidebar panel to Writer

How to Install the Latest LibreOffice in Ubuntu:

Open terminal either by pressing Ctrl+Alt+T on keyboard or by searching for ‘terminal’ from application menu. When it opens, run following commands one by one.

1.) Add LibreOffice Fresh PPA. It contains v6.3.4 at the moment, and v6.4 packages will be available in a few days.

sudo add-apt-repository ppa:libreoffice/ppa

For enterprises, the mature “still” version (v6.3 so far) of LibreOffice is recommended. See HERE.

2.) Once the official PPA updated with the new packages, you’re able to upgrade the office suite through the Software Updater utility:

Uninstall:

You can either remove the LibreOffice PPA via Software & Updates utility under Other Software tab,

or purge the PPA which also downgrade LibreOffice to the default pre-installed version via command:

sudo apt install ppa-purge && sudo ppa-purge ppa:libreoffice/ppa

Linux Kernel 5.5 was announced two days ago. Linus Torvalds wrote on lkml.org:

So this last week was pretty quiet, and while we had a late network update with some (mainly iwl wireless) network driver and netfilter module loading fixes, David didn’t think that warranted another -rc. And outside of that, it’s really been very quiet indeed – there’s a panfrost driver update too, but again it didn’t really seem to make sense to delay the final release by another week.

…”

Kernel 5.5 release highlights:

  • Support for the Broadcom BCM2711 SoC (Raspberry Pi 4).
  • New Logitech driver for G15 and G510 keyboard.
  • KVM support for IBM POWER secure guests/VMs.
  • Initial Intel Jasper Lake support.
  • Intel 5-level paging support is enabled by default
  • AMD OverDrive overclocking for Navi GPUs.
  • and much more other changes.

How to Install Linux Kernel 5.5 in Ubuntu:

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

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

  1. linux-headers-5.5.0-xxxxxx_all.deb
  2. linux-headers-5.5.0-xxx-generic(/lowlatency)_xxx_amd64.deb
  3. linux-modules-5.5.0-xxx-generic(/lowlatency)_xxx_amd64.deb
  4. linux-image-xxx-5.5.0-xxx-generic(/lowlatency)_xxx_amd64.deb

Select generic for common system, and lowlatency for a low latency system (e.g. for recording audio), amd64 for 64bit 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.5/linux-headers-5.5.0-050500_5.5.0-050500.202001262030_all.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.5/linux-headers-5.5.0-050500-generic_5.5.0-050500.202001262030_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.5/linux-image-unsigned-5.5.0-050500-generic_5.5.0-050500.202001262030_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.5/linux-modules-5.5.0-050500-lowlatency_5.5.0-050500.202001262030_amd64.deb

sudo dpkg -i *.deb

Note that there’s no Kernel 5.5 packages for 32-bit system.

Once installed, restart your computer and enjoy!

Uninstall Linux Kernel 5.5:

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

sudo dpkg --purge linux-image-unsigned-5.5.0-050500-generic

MPV media player released version 0.32.0 today with some new features and various bug-fixes.

MPV 0.32.0 features RAR5 support and initial implementation of bash completion. Other changes include:

  • add support for forcing the dedicated GPU for rendering
  • add pinch to resize window gesture
  • support minimizing/maximizing using osc window controls
  • add a playlist-unshuffle command
  • add osd-dimensions property
  • new PLAYONLY and PAUSEONLY keycodes
  • various fixes for wayland
  • usability improvements for osc window controls
  • To install the latest MPV 0.32.0 in Ubuntu, besides building from the source, you may keep an eye on the Doug McMahon’s PPA, which will built the new release packages for Ubuntu 18.04, Linux Mint 19.x.

    Just open terminal (Ctrl+Alt+T) and run following command to add the PPA. And new MPV packages will be available in Software Updater after the maintainer updating the PPA.

    sudo add-apt-repository ppa:mc3man/mpv-tests

    Type user password (Ctrl+Alt+T) when it prompts and hit Enter to continue.

    To remove the PPA, either open Software & Updates and remove the repository line from ‘Other Software’ tab,

    or run previous command with --remove flag:

    sudo add-apt-repository --remove ppa:mc3man/mpv-tests

    Open Surge, a fun 2D retro platformer inspired by Sonic games, available to install in Ubuntu Software easily via Snap package.

    Open Surge is also a game creation system that lets you unleash your creativity! It’s free, open-source, and written from the ground up in C language, using the Allegro game programming library.

    You can play the using a keyboard or a joystick.

    • Arrows: Move
    • Space: Jump
    • Enter: Pause
    • Esc: Quit
    • Left Ctrl: Switch character
    • Equals: Take snapshot
    • F12: Open the editor

    And the game features:

    • A base game called Surge the Rabbit
    • A built-in level editor
    • Ready to use items, scripts, and more
    • Free to use game assets under Creative Commons licenses
    • See more in Github source page.

    Install Open Surge in Ubuntu:

    Open Surge has been made available as Snap package (runs in sandbox), Ubuntu 18.04 and higher users can easily install it from Ubuntu Software or App Center:

    For choice, you may press Ctrl+Alt+T on keyboard to open terminal, run the command below instead to install the game package:

    After installation, either search for and launch it from overview screen (or start menu depends on your desktop environment):

    Or run snap run opensurge command to start game from terminal.

    Uninstall Open Surge:

    To uninstall the game, either use Ubuntu Software (App Center) or run command below in terminal:

    snap remove --purge opensurge

    Music Notation Software MuseScore 3.4 Released!

    Last updated: January 25, 2020

    Music notation software MuseScore 3.4 was released a day ago with new features, UX improvements, and dozens of bug fixes.

    MuseScore 3.4 release highlights:

    • Single click to apply palette elements if there is a selection in the score
    • Allow dragging notes horizontally
    • Slurs, hairpins and other elements can be edited after single click
    • Add middle adjustment handle for beams, for moving whole beam vertically
    • Introduce section break properties, bend properties, tremolo bar properties in the Inspector
    • Allow access to several properties window in the Inspector
    • Name of the newly created custom palette can be specified
    • Accessibility: improve speech for elements with spanners

    Download / Install MuseScore 3.4 in Ubuntu:

    64-bit Appimage has been updated, available for download:

    Right-click on the Appimage, then go to Properties -> Permissions, check the box ‘Allow executing file as program’. Finally run the Appimage to launch MuseScore 3.4 and enjoy!

    MuseScore also available as Snap (runs in sandbox), which can be installed directly from Ubuntu Software, though it’s still v3.3.4 at the moment.

    Also the flathub repository contains MuseScore flatpak package, check the package version in the page bottom

    Kid3 audio tag editor released version 3.8.2 a few days ago. Here’s how to install it in Ubuntu 16.04, Ubuntu 18.04, and Ubuntu 19.10.

    Kid3 3.8.2 is a small but important release for those who have a lot of M4A files. The release fixes a crash that happens when frames are removed from M4A files. Additionally it brings new Catalan, Portuguese and Ukrainian translations.

    How to Install Kid3 3.8.2 in Ubuntu:

    The official Kid3 PPA has built the packages for Ubuntu 16.04, Ubuntu 18.04, and, Ubuntu 19.10.

    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-*

    Wine 5.0 stable was released 2 days ago with a large number of improvements. Here’s how to install it in Ubuntu 18.04, Ubuntu 19.10 (fix dependenices).

    Wine 5.0 is dedicated to the memory of Józef Kucia, who passed away in August 2019 at the young age of 30. Józef was a major contributor to Wine’s Direct3D implementation, and the lead developer of the vkd3d project. His skills and his kindness are sorely missed by all of us.

    UPDATE 2024: THIS TUTORIAL IS OUTDATED! Please see this new one instead of current Ubuntu releases!

    Wine 5.0 features:

    • Builtin modules in PE format.
    • Multi-monitor support.
    • XAudio2 reimplementation.
    • Vulkan 1.1 support.

    How to Install Wine 5.0 in Ubuntu:

    The official wine apt repository has made the packages for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.04, and Ubuntu 19.10.

    Open terminal either by pressing Ctrl+Alt+T on keyboard, or by searching for ‘terminal’ from application menu. When it opens, run following commands one by one.

    1.) Run command to enable 32 bit architecture:

    sudo dpkg --add-architecture i386

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

    2.) Download and install the repository key via command:

    wget -nc https://dl.winehq.org/wine-builds/winehq.key; sudo apt-key add winehq.key

    3.) Add wine repository via command (for Ubuntu 19.10):

    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ eoan main'

    NOTE: You may replace eoan in the code with:

    • bionic for Ubuntu 18.04 and Linux Mint 19.x
    • xenial for Ubuntu 16.04 and Linux Mint 18.x

    4.) Add PPA for the required libfaudio0 library:

    For Ubuntu 18.04, Linux Mint 19.x, and Ubuntu 19.04 only, as higher Ubuntu releases already have libfaudio0 in the main repositories.

    sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport

    5.) Finally install Wine 5.0 stable via command:

    sudo apt update && sudo apt install --install-recommends winehq-stable

    (Optional) After successfully installed Wine 5.0, you may remove the PPAs by launching Software & Updates utility and navigating to Other Software tab.

    KeePass2 2.44 Released with True Key 4 CSV Import

    Last updated: January 10, 2021

    KeePass 2.44 was released a days ago as the latest stable mono password manager. Users of any previous 2.x version are recommended to upgrade.

    KeePass Password Safe was a Windows only password manager. Through the use of Mono, KeePass 2.x works on Linux and Mac OS.

    KeePass 2.44 comes with many new features including:

    • New commands to find database files
    • New ‘Edit’ menu in the internal text editor
    • Support for importing True Key 4 CSV files.
    • Add an auto-type event for plugins.
    • New command line options for adding/removing scheme-specific URL overrides.

    There are also improvements to the internal text editor, HTML export and printing, and XSL files. See the release note for more details.

    How to Install KeePass 2.44 in Ubuntu:

    The Julian Taylor’s PP maintains KeePass2 packages for Ubuntu 14.04, Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.04, and Ubuntu 19.10, and the 2.44 packages will be available in a few days.

    1. Open terminal either via Ctrl+Alt+T or by searching for “Terminal” from app launcher. When it opens, run command 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