Archives For jimingkui

Cozy is an open-source audio book player with a modern user interface. It’s written in Python programming language. Since version 1.3.0, the app is ported to GTK+ 4 and LibAdwaita for its user interface, and works in Linux and Mac OS.

Cozy automatically scans media library and imports your audiobooks in one directory. You can also drag and drop and audiobook into the app window to import it.

As a GTK app, it’s well integrated in Ubuntu, Fedora, and other Linux with Gnome Desktop. And dark mode is available to work at night. With libhandy library, it has an adaptive user interface that works well in different screen sizes, e.g., on PC, laptop, and mobile.

audio-book player features:

  • Sort audio books by author, reader & name
  • Remembers playback position
  • Sleep timer
  • Playback speed control
  • Offline Mode
  • Support for DRM free mp3, m4a (aac, ALAC, …), flac, ogg, wav files
  • Mpris integration (Media keys & playback info for desktop environment)

Option 1: How to Install Cozy in Ubuntu via Official PPA:

Cozy has an official Ubuntu PPA that so far contains packages for Ubuntu 22.04, Ubuntu 23.10, and Ubuntu 24.04.

NOTE: Due to this bug, copy has package conflict to Gnome Extension Manger app. If you want to install both apps in your system, use the Flatpak package (See Option 2) instead!

Though Ubuntu 20.04 is not supported due to outdated libraries, it still can be installed via little modification.

1. Add Cozy PPA

Firstly press Ctrl+Alt+T on keyboard or search for and open ‘terminal’ from start menu. When it opens, run command to add the PPA repository:

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

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

2. Install dependencies and modify PPA for Ubuntu 20.04 ONLY!

For Ubuntu 20.04 and Linux Mint 20, you can either tweak PPA and install mismatched dependency libraries manually, or install Flatpak package (see next step) instead.

a.) Open “Software & Updates” utility, and navigate to “Other Software” tab. There choose and edit the Cozy PPA repository, and change value focal to hirsute for Distribution so it will install the package for Ubuntu 21.04 Hirsute instead.

b.) Open terminal (Ctrl+Alt+T) and run commands to download & install updated python3-peewee and python3-mutagen libraries.

  • Navigate to the Downloads folder via cd command:
    cd ~/Downloads
  • Download python3-peewee via wget network downloader:
    wget -c http://archive.ubuntu.com/ubuntu/pool/universe/p/peewee/python3-peewee_3.13.1+dfsg-1_amd64.deb
  • And download python3-mutagen via command:
    wget -c http://archive.ubuntu.com/ubuntu/pool/universe/m/mutagen/python3-mutagen_1.45.0-1_all.deb
  • Finally install both packages via:
    sudo apt install ./python3-peewee*.deb ./python3-mutagen*.deb

NOTE: since the command download & install 64-bit packages for Desktop PC/Laptop. For mobile or other devices, you can grab them by searching the package name in packages.ubuntu.com.

c.) Add PPA for Libhandy-1 library.

Ubuntu 20.04 also lacks libhandy-1 library, which can be installed from another PPA via the maintainer. Open terminal and run command to add the PPA:

sudo add-apt-repository ppa:apandada1/libhandy-1

You don’t have to run a individual command to install the library, because the next apt command will automatically install it as a dependency package.

3. Install Cozy via apt command.

Finally, run command in terminal to install Cozy audiobook player:

sudo apt install cozy

Option 2: How to Install Cozy in Ubuntu 18.04 & Higher via Flatpak:

Cozy audio book player is available as Flatpak package which runs in sandbox. It’s an universal package format that installs on most Linux distributions.

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. Copy and paste the command and run to install flatpak framework:

sudo apt-get install flatpak

2. Add flathub, the official repository hosts most Flatpak packages:

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

4. Finally install Cozy by running command:

flatpak install flathub com.github.geigi.cozy

Once installed, launch the software either from application menu and enjoy!

Uninstall Cozy:

To remove the Flatpak package, run command in terminal:

flatpak uninstall --delete-data com.github.geigi.cozy

For Cozy installed via Ubuntu PPA, remove it via command:

sudo apt remove --autoremove cozy

NOTE: the command may also remove libhandy-1 as well as Gnome Tweaks. Don’t worry, just install Gnome Tweaks back and it will re-depends on libhandy 0.x in Ubuntu 20.04.

To remove the Ubuntu PPAs, either open “Software & Updates” and go to “Other Software” tab, or run command:

sudo add-apt-repository --remove ppa:apandada1/libhandy-1
sudo add-apt-repository --remove ppa:cozy-team/cozy

Clementine, an open-source audio player inspired by Amarok 1.4, released version 1.3.9 (then 1.3.92) a few days ago. Here’s how to install it in Ubuntu.

Though the last version 1.3.1 was released more than 3 years ago, Clementine player is still in active development, and version 1.3.9 (as well as 1.3.92) was released in recent days as the test release. However, there’s no announcement, no change-log so far. They seem to be the development releases for the next major release.

The latest Clementine 1.3.92 is available to download in the link below:

So far it offers .deb packages for Ubuntu 18.04 (bionic), Ubuntu 19.04 (disco), and Ubuntu 19.10 (eoan).

Just grab the .deb matches your Ubuntu edition (amd64 for 64-bit) and click install via Gdebi (install it via Ubuntu Software) package installer.

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

Easywifi is a new command line tool make it easy to scan, connect, and manager WIFI networks in Ubuntu.

Easywifi is simply a script written with Python and based on nmcli tool. It offers an menu in the terminal output. All you need to do is type number or name to do what you want to do.

The tool so far supports:

  • Scan for wifi networks
  • List network devices
  • List saved network profiles
  • Connect to saved networks
  • Setup new networks
  • Creation of hotspots

Download Easywifi:

You can download the script by going to the previous link and clicking on the ‘Clone or download’ button.

Or in command line console, grab the source via command:

git clone https://github.com/NoahCristino/easywifi.git

Then navigate to the source folder. Simply run below command in terminal if you downloaded via the previous git command:

cd easywifi

Finally run Easywifi via command:

python3 easywifi.py

Enjoy!

Ksnip is a Qt based cross-platform screenshot tool with many annotation features. It works on Linux, Windows, and Mac OS.

Ksnip works on X11 and Gnome on Wayland. Like other screenshot tools, it can take screenshot of selected rectangular area, full screen, active window with time delay support. It also features:

  • Upload screenshots directly to imgur.com in anonymous or user mode.
  • Command line support.
  • Print screenshot or save is to pdf/ps.
  • Annotate screenshots with pen, marker, rectangles, ellipses, texts and other tools.
  • Add watermarks to captured images.
  • Global HotKeys for taking Screenshots.
  • Many configuration options.

Install Ksnip in Ubuntu:

Ubuntu binary package can be downloaded from the release page in the link below:

Grab the latest .deb package and install it by either Gdebi package installer or running command in terminal (Ctrl+Alt+T):

sudo dpkg -i ~/Downloads/ksnip-*.deb

Once installed, launch it from application menu and enjoy!

(Optional) If you want to remove the screenshot tool, either use your system package manager or run command in terminal:

sudo apt remove ksnip

MPV media player 0.31 Released (Ubuntu PPA)

Last updated: December 28, 2019

MPV, an open-source MPlayer nd MPlayer2 based media player, released version 0.31 today.

Changes in MPV 0.31 include:

  • Allow configurable swapchain color space for native HDR output
  • Add mechanisms for better logging as preperation for console.lua
  • Introduce a pseudo key name that grabs all text input
  • Add grab zone for resizing window with mouse
  • Implement pseudo client side decorations via OSC
  • Add video filter using vo_gpu’s renderer
  • Added console.lua: interactive REPL for input commands
  • Display Santa hat for idle logo in December
  • Add option to autoselect known good hwdec implementations
  • Peplace old event tap for media key support with MediaPlayer
  • Remove Apple Remote support
  • Many fixes and minor enhancements

How to Install MPV 0.31 in Ubuntu:

Although it’s not available at the moment of writing, you can add the Doug McMahon’s PPA in Ubuntu 18.04, and receive MPV package updates once published via Software Updater.

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:mc3man/mpv-tests

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

2.) If a previous version of MPV was installed, launch Software Updater and you’ll see new MPV package available to upgrade.

Or run command one by one in terminal to install (upgrade) MPV:

sudo apt install mpv

Uninstall:

To downgrade MPV to the stock version in Ubuntu main repositories, run command to purge the PPA:

sudo apt install ppa-purge && sudo ppa-purge ppa:mc3man/mpv-tests

To remove the PPA only, go to Software & Updates -> Other Software tab.

To simply remove MPV media player, either use Ubuntu Software or run command in terminal:

sudo apt remove --autoremove mpv

TeXstudio 2.12.18, an open-source LaTeX text editor, was released today. Here’s how to install it in all current Ubuntu releases including the next Ubuntu 20.04 LTS.

It has been half a year since the last release, the latest TeXstudio 2.12.18 is mainly a bug-fix release. Most notably change is better support of regexp in search (Qt5 version only). There’s also some cwl added, and many bug-fixes.

And TeXstudio 2.12.18 is the latest release supporting Qt4.

How to Install TexStudio 2.12.18 in Ubuntu:

The PPA repository has built the packages for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.04, Ubuntu 19.10, Ubuntu 20.04, and their derivatives.

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

sudo add-apt-repository ppa:sunderme/texstudio

Type user password (no asterisk feedback) from sudo prompt and hit Enter to add the PPA.

2. If an old version was installed in your system, remove the texstudio-doc, texstudio-l10n (if any) package before upgrading the software:

sudo apt-get remove texstudio-doc texstudio-l10n

3. After adding the PPA, you can either upgrade the editor via Software Updater:

or run commands in terminal to install or upgrade the software:

sudo apt-get update && sudo apt-get install texstudio

Uninstall:

To remove the LaTeX editor, run command in terminal:

sudo apt-get remove --autoremove texstudio

And go to Software & Updates -> Other Software to remove PPA repositories.

The first release candidate of SuperTuxKart 1.1 was released a few days ago. Here’s how to install it in Ubuntu 18.04, Ubuntu 19.04, Ubuntu 19.10, Linux Mint 19.x.

What’s new in SuperTuxKart 1.1 rc1 according to the release note:

  • A new arena: Pumpkin Park
  • Online play improvements:
    • IPv6 client and server support
    • improved synchronization
    • a wider range of add-ons available.
  • Possible to adjust the game’s font size
  • Lots of fixes scaling to 1440p and 4K resolutions
  • Emojis support and available when chatting in servers.
  • iOS support, and more.

How to install SuperTuxKart 1.1 rc in Ubuntu:

The dev PPA has built the packages for Ubuntu 18.04 and higher.

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.

2. Then install the game via commands:

sudo apt update

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:

MERRY CHRISTMAS!

Darktable RAW image editor 3.0 was released today with new major updates. Here’s how to install it in Ubuntu 18.04, Ubuntu 19.04, and Ubuntu 19.10.

Darktable 3.0 comes with a complete rework of the user interface. The GUI now is fully controlled by GTK+ CSS rules, which makes the whole GUI themable. And this version comes with several different themes.

Other changes in the release include:

  • New shortcuts to collapse borders, sidebars, histogram and navigation modules, allowing a new borderless editing experience.
  • Undo/redo support in lighttable for tags, color labels, metadata, etc.
  • A new timeline view in the lighttable.
  • A new ‘culling’ mode added to the lightable view.
  • Improved support for 4K and 5K monitors.
  • Support for exporting to Google Photos
  • More camera support, white balance presets, and noise profiles
  • See the full changes in the github.

How to Install Darktable 3.0 in Ubuntu:

The darktable release PPA seems no longer being updated. I’ve uploaded the 3.0 packages into the unofficial PPA for 64-bit Ubuntu 18.04, Ubuntu 19.04, Ubuntu 19.10.

1. Open terminal (Ctrl+Alt+T) and run command to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/darktable

Type user password (no asterisk feedback) for sudo prompts and hit Enter to continue.

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

or run commands in terminal to install Darktable:

sudo apt update

sudo apt install darktable

Uninstall:

To remove the PPA, either launch Software & Updates and navigate to Other Software, or run command in terminal:

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

To remove the RAW image editor, use Ubuntu Software.

Kid3 audio tag editor released version 3.8.1 today with some improvements, fixes for Linux and Android binary packages.

According to the changelog, Kid3 3.8.1 includes following changes:

  • Show number of files in status bar.
  • Support regular expressions in string replacements.
  • Support format codes in “Filename for cover” in “Extract Album Art” script.
  • The order of string replacements is respected.
  • Show RVA2 identifier in frame table.
  • Show UFID owner and values in frame table.
  • Support setting file name with “Import from Tags”.
  • QML scripts: Skip “–” argument, which is used when passing parameters from qml tool.

The official PPA has built the packages for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.04, 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-*

HexChat IRC client 2.14.3 was released a day ago with important bug-fixes. Here’s how to install it in Ubuntu.

It has been more than one year since the last release. HexChat 2.14.3 was released with following changes:

  • fix various incorrect parsing of IRC messages relating to trailing parameters
  • fix SASL negotiation combined with multi-line cap
  • fix input box theming with Ubuntu’s new default Yaru theme
  • python: Work around Python 3.7 regression causing crash on unload
  • sysinfo: Add support for /etc/os-release
  • sysinfo: Ignore irrelevant mounts when calculating storage size

How to Install HexChat 2.14.3 in Ubuntu:

The software is available as both Snap and Flatpak packages, unfortunately no PPA with recent .deb packages.

HexChat Snap package (runs in sandbox) maintained by the principal developer is available to install in Ubuntu Software.

Note the snap is still 2.14.2 at the moment, though it will auto-update to 2.14.3 once the new package published.

The official HexChat Flatpak package (also runs in sandbox) has been updated to 2.14.3. You can install it via following steps:

1. Open terminal either by pressing Ctrl+Alt+T on keyboard or from Application launcher.

If you’re first time installing a Flatpak package, run following commands to setup the framework.

  • Install flatpak framework via command:
    sudo apt install flatpak

  • Then add Flathub, the official repository that hosts a large list of Flatpak packages:
    flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

2. Finally install HexChat Flatpak package via command:

flatpak install flathub io.github.Hexchat

After installation, open the software either from application menu or by running command:

flatpak run io.github.Hexchat

(Optional) To remove the Flatpak package, simply run command in terminal:

flatpak uninstall flathub io.github.Hexchat