Archives For November 30, 1999

For Reddit users, Gtkeddit is another GTK app for Linux desktop and mobile.

It’s a free and open-source app written in C++. With the libadwaita library (formerly libhandy), it has an adaptive UI that works on Linux phones such as the Pinephone.

The software has dark mode for working at night, though I don’t find how to enable it in Ubuntu using the Flatpak package. And it allows you to browser without an account.

Compare to Giara, another Reddit App written in Python with GTK4, the UI navigation feels good and smoother in Gtkeddit. Though it freezes every time during loading new content, maybe due to my poor VPN network connection.

All functions including new post, rely and comment work in new navigation page instead of a pop-over dialog. And the developer promoted that it works better on Pinephone, boots and runs faster on slow hardware.

Other features in Gtkeddit:

  • Browse home feed
  • Search subreddits/users/posts
  • Submit Text/Url/Images/Videos
  • View images, galleries
  • Watch Reddit/Youtube videos in app
  • View and reply to posts/comments
  • Save posts / comments
  • Browse user Saved/Upvoted/Downvoted/Hidden/Gilded posts
  • Browse user Subreddits

How to Install Gtkeddit:

Most Linux can install the app via the Flatpak package from the flathub page. For Ubuntu users, there’s a step by step guide for Ubuntu 18.04, Ubuntu 20.04 and higer.

1.) Firstly, open terminal (Ctrl+Alt+T) and run command to install the daemon if you don’t have it:

sudo apt install flatpak

Flatpak supports Ubuntu 18.04 and even Ubuntu 16.04, you have to add the Ubuntu PPA first!

2.) Then add the flathub repository, the preferred place to get Flatpak apps.

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

3.) Finally, install the Reddit App via command:

flatpak install flathub io.gitlab.caveman250.gtkeddit

Like normal apps, open it by searching from start menu and enjoy!

Uninstall Gtkeddit:

To remove the app, simply use command:

flatpak uninstall --delete-data io.gitlab.caveman250.gtkeddit

Remove the --delete-data if you want to keep the personal data for the app. And run command to run unused runtime which may free up more disk spaces.

flatpak uninstall --unused

For Gnome fans, Apostrophe is a clean and intuitive Markdown editor you should try!

Apostrophe is one of the Gnome Circle Apps that provides a modern and distraction-free writing environment for Linux.

The editor supports for inputting via Pandoc’s Markdown, CommonMark, GitHub Flavored Markdown, MultiMarkdown and Plan Markdown formats.

The app has Light, Dark, and Gray (maybe) UI appearance. The ‘Hemingway Mode’ is available which will disable the backspace key. And ‘Focus Mode’ will highlight the current line, remove header and bottom bar to provide a zen-like environment when writing.

With inline preview, it formats your text automagically for you. By Ctrl+Clicking on anything, it shows popover preview, links, footnotes, equations.

Live Preview can be set to full window, right / bottom part, or a separate window. In bottom right it indicates how many words you wrote. It also counts characters, sentences, paragraphs, and read time.

And you can save you work as PDF, HTML, ODT. An advanced export dialog allows exporting to more formats including:

  • LibreOffice Text Document.
  • Microsoft Word(docx).
  • EPUB v3.
  • HTML5 Slideshow (reveal.js, DZSlides)
  • LaTeX (tex)
  • LaTeX Beamer Slideshow (tex, pdf)
  • Textile, Texinfo, and more.

How to Install Apostrophe in Ubuntu Linux:

The software is available as universal Flatpak package. You can install it in Ubuntu 16.04, Ubuntu 18.04, Ubuntu 20.04 and higher via following steps:

1.) Open terminal from start menu, and run command to add the Flatpak PPA for Ubuntu 16.04 and Ubuntu 18.04:

sudo add-apt-repository ppa:flatpak/stable

And run sudo apt-get update command to update cache afterwards.

2.) Install the Flatpak daemon if you don’t have it:

sudo apt install flatpak

3.) Add Flathub repository (considered official) that hosts the package:

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

4.) Finally install Apostrophe Markdown editor:

flatpak install flathub org.gnome.gitlab.somas.Apostrophe

Uninstall:

To remove the editor as well as your personal app data, run command in terminal:

flatpak uninstall --delete-data org.gnome.gitlab.somas.Apostrophe

For those don’t like Electron apps, ‘Psst’ is a new GTK client for the Spotify music service.

Since the official Spotify app for Linux is a web app running via Chromium engine, native Linux apps may be preferred. And ‘Psst’ is a free open-source app written in Rust programming language with GTK framework for user interface. Besides Linux, it also works on Windows and macOS.

The software is in very early development stage. It lacks features and defaults to GTK and pure X11, with Wayland backend in the works. So far, it features:

  • Dark / Light mode.
  • Vorbis track playback
  • Browsing saved albums and tracks
  • Save / unsave albums and tracks
  • Browsing followed playlists
  • Search for artist, albums, and tracks
  • Audio volume control
  • Audio loudness normalization
  • Media keys control
  • Open Spotify links
  • Genre playlists and “For You” content

Like ‘Spot’, another GTK client for Spotify, it only works with premium accounts!! Though there’s a hack to make it work with free accounts.

How to Install Psst in Ubuntu:

The app so far provides pre-build binary packages, available to download at the link below:

For Ubuntu based systems, grab the ‘psst-deb.zip‘, extract and install the .deb package, either by double-clicking or using Gdebi package installer (install Gdebi from Ubuntu Software).

NOTE: The app so far even don’t have a logo icon. When launching from the start menu (‘Show Applications’), it will show a gear icon instead.

See Psst in github

Want to cut a clip out of a video and share with your friends? Try Video Trimmer, a stupid easy way for those working on Linux.

In Linux there are quite a few ways to cut clips or trim videos either in graphical or using command line tools. While video editors are heavy to do the job, FFmpeg is the most efficient choice. And Video Trimmer offers an intuitive user interface for those hate Linux commands.

It’s a free and open-source GTK app based on FFmpeg. By importing video via top-left “Open” button, you can preview the video and write down the start and end timestamps. And the top-left button turns to ‘Trim‘ for cutting the clip out.

It outputs the clip as a new video file. And the process is super fast and does not reduce the video quality, because it just cuts the data steam but never re-code.

Install Video Trimmer in Linux:

The source code of the project is hosted on gitlab. Besides building from the source, you can install it on most Linux via the Flatpak package.

For beginners, you can open terminal from start menu and run following commands one by one in Ubuntu to get the software.

1.) Install the flatpak daemon for running the app via command:

sudo apt install flatpak

2.) Add the flathub repository which hosts the software package by running command:

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

3.) You can finally install the app via command:

flatpak install flathub org.gnome.gitlab.YaLTeR.VideoTrimmer

After that, open it from start menu and enjoy!

Uninstall Video Trimmer:

To remove the app as well as its data, open terminal and run command:

flatpak uninstall --delete-data org.gnome.gitlab.YaLTeR.VideoTrimmer

For command line users want to search on DuckDuckGo, ddgr is the free open-source tool to search from Linux terminal.

It’s a tiny tool written mostly in Python3. And it’s quite easy to use. For instance, run the command below will search ‘Windows 11’ and output 10 results per page.

ddgr Windows 11

You can then type n / p / f and hit Enter to go next page, previous page, or to the first page.

By typing o 1 will open the first result, and c 1 will copy the first URL into clipboard. And you can type ? to get more actions in the search output.

Result number per page can be set via --num. And you can specified website to search via --site flag.

For example, search Ubuntu 21.10 on Ubuntu.com with 3 results per page, run:

ddgr --num 3 --site ubuntu.com ubuntu 21.10

To automatic open the first result in web browser, use -j or --ducky flag. For example:

ddgr --ducky Windows 11

For Ubuntu Server without desktop UI, you can firstly specify text-based web browser, w3m in the case, easily via:

export BROWSER=w3m

Other features include:

  • DuckDuckGo Bangs
  • Search and option completion scripts (Bash, Fish, Zsh)
  • Search file type: filetype:mime
  • HTTPS proxy support
  • Do Not Track set by default

How to Install ddgr in Ubuntu:

The nifty tool is available in Ubuntu repositories. You can install it simply by running command in terminal:

sudo apt install ddgr

As Ubuntu does not provide the software updates, you can always get the latest .deb package from the link below:

Looking for a lightweight photo editor and management app for Linux? Try Fotoxx, a free and open-source software which is super fast.

Fotoxx is a GTK application to organize and manage a large image collection, edit and optimize photos, and perform batch operations.

Unlike other image editor, Fotoxx has app menus in the left pane with ability to toggle file view, and edit photos. While providing many functions to meet the needs of serious photographers, it remains fast and easy to use.

The software can view and edit most image formats including RAW files. It works internally with 24-bits/color, and outputs 8 or 16 bits/color JPEG, PNG, or TIFF.

The image editing functions include:

  • Select object or area, select hairy or irregular edge, find gap.
  • Rotate, crop, retouch, resize, and paint.
  • Blur, sharpen denoise, adjust color.
  • Apply effects, e.g., sketch, cartoon, line drawing and more.
  • image warp, unwarp, transform.
  • Composite image: HDR, HDF, panorama, etc.
  • Batch convert, RAW conversion.
  • View and edit meta data.
  • Zoom in/out, redo/undo, and more.
  • Use GIMP, Rawtherapee, etc as plugins

How to Install The Latest Fotoxx in Ubuntu via PPA:

The software offers only source tarball available to download at the link below:

Ubuntu has the photo manager in the Software App, however it’s always old.
To install the latest Fotoxx, use the Ubuntu PPA which so far supports for Ubuntu 20.04, Linux Mint 20, and Ubuntu 22.04.

1.) First open terminal from system app launcher. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:xtradeb/apps

Type user password, no asterisk feedback, for sudo prompt and hit Enter to continue

2.) Next run command to install the photo management software:

sudo apt install fotoxx

Once installed, open it from system app launcher and enjoy!

Remove Fotoxx as well as the PPA:

To remove the Ubuntu PPA, simply open Software & Updates utility and navigate to Other Software tab. There highlight the relevant line and remove it.

To remove Fotoxx, run command:

sudo apt remove --auto-remove fotoxx

Working with PDF files regularly in Ubuntu Linux? QPDF Tools is a nifty tool to manage your PDF documents.

It’s a free and open-source software, easy to use Qt based user interface for Ghostscript and Stapler, with ability to compress, split, merge and rotate your pdf documents.

The main window is simple and works with 4 buttons. Click the action you want to do for the PDF documents. Then select the PDF along with a few options and click the button to go.

The Compress a PDF file option will change the resolution for printing, Ebooks, or screen optimized. It also reduce the file size depends on the option you choose.

It however may stuck a few seconds when you clicking ‘Save‘ button on exporting file dialog.

While ‘Merge PDF files‘ option allows to add multiple PDF files, arrange them, and convert them into single, the ‘Spile a PDF file‘ option allows to extract all PDF pages or export from one page to another. And ‘Rotate a PDF file‘ can rotate left or right with live preview.

How to Install QPDF Tools:

The DEB package for Ubuntu, Debian, Linux Mint, as well as the source tarball are available to download at the link below:

The software developer also maintains an Ubuntu PPA that support all current releases, e.g., Ubuntu 18.04, Ubuntu 20.04, Ubuntu 20.10, and Ubuntu 21.04. The packages for old releases, e.g., Ubuntu 12.04, Ubuntu 14.04, and Ubuntu 16.04 are also available.

1.) Open terminal from system app launcher. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:silash35/qpdftools

2.) Then refresh package cache (optional for Ubuntu 20.04 & higher) and install the tool via commands:

sudo apt update
sudo apt install qpdftools

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

Uninstall QPDF Tools

While the Ubuntu PPA is used to install or upgrade the software package, you can safely remove it either by running command in terminal:

sudo add-apt-repository --remove ppa:silash35/qpdftools

Or by going to ‘Software & Updates’ -> ‘Other Software’, and remove the relevant line.

To remove the software, either use Synaptic Package Manager or run command:

sudo apt remove --purge qpdftools

I used to create bootable Ubuntu USB installer with UNetbootin, then with Ubuntu’s built-in USB creator. Now Ventoy is a good choice that I use often to try different operating systems.

Why Ventoy:

Different to other USB creators, you don’t need to format your USB stick again and again to write data from ISO images. With Ventoy, it just format your USB one time, create a small (34 MB in my case) EFI partition, and leave all other spaces free in another partition.

Without extracting, just drag and drop to move ISO images into USB drive, and it will boot them! Like normal USB drive, you can put your photos and other data along with ISO images. Ventoy will find what to boot and show them all in startup menu.

Ventoy features:

Ventoy is a free and open-source tool written mainly in C. It features:

  • Just copy ISO to USB and boot it! No extraction needed.
  • Mutil-boot support. As many ISO images as your USB stick can store.
  • Save all other data along with ISO images, just like a normal USB driver.
  • 700+ ISO files supported (Windows, Linux, WinPE, Unix, Vmware, Xen).
  • Windows auto installation supported
  • Also support Local Disk, SSD, NVMe, SD Card
  • and more.

How to Install Ventoy:

The software provides ISO image as well as installers for Windows and Linux. Download them from the link below:

a.) using Ventoy’s graphical app for Linux:

The software now provides graphical user interface for Linux since version 1.0.52. Both GTK and Qt are supported. And it runs in either modern 64-bit PC, old 32-bit machine, ARM64 OS like Phytium/Kunpeng, and mips64el Loongson 3A MIPS OS.

Simply download the “linux.tar.gz” tarball from the above button, extract, and right-click on the executable to “Run” it will bring up the UI:

Same to the Windows app and Web UI, plug your USB into computer and select it from the app window (click Refresh if you don’t find it). And use either “Install” or “Update” button to install /upgrade Ventoy to the USB drive.

From the “option” menu, it’s possible to enable Secure Boot support, select partition to MBR for compatibility or GPT for most modern PCs. You may also preserve some space at the end of the disk.

NOTE: Installing Ventoy will format the USB stick. All data will be lost. Make a backup before getting started!

After installation, copy and paste some system discs (iso images) into the USB stick. Then start or re-start your machine, and select boot the USB. It will bring you into menu of iso image entries, like the picture shows:

b.) Install Ventoy in Linux from command line:

Also download the “linux.tar.gz” tarball. Then extract, and right-click on blank area in generated folder to open the directory in terminal via ‘Open in Terminal’ menu option.

When terminal opens, copy and paste the command below into it and hit Enter to install Ventoy to USB:

sudo ./Ventoy2Disk.sh -i /dev/sdb

If your machine boot with UEFI mode, also add -s flag for secure boot support, so the command will be:

sudo ./Ventoy2Disk.sh -i -s /dev/sdb

Though the device name of your USB stick is mostly “/dev/sdb”, check the terminal output, or use gparted, mount command, etc to confirm.

If you want to use GTP partition table instead of MBR, add “-g” flag, so the command will be sudo ./Ventoy2Disk.sh -i -g /dev/sdb.[/ac-box]

Type ‘y’ to confirm twice. If everything’s done successfully, it will prompt ‘Install Ventoy to /dev/sdb successfully finished.

c.) Install Ventoy in Windows or Linux via Web UI

The software also has a Web UI which has same appearance to the Windows app.

As the previous step did, download ‘linux.tar.gz‘, extract and go to source folder. Then right-click on blank area to select ‘Open in Terminal‘.

When terminal opens, run command to start the Web UI service:

sudo ./VentoyWeb.sh

Next in web browser go to “http://127.0.0.1:24680” will open the web installation page:

In the web UI, select your USB device and click ‘Install’. Also for UEFI mode enable ‘Secure Boot‘ under options.

When everything’s done, you’ll find the USB driver mounted with name “Ventoy”, put ISO images into it and boot it when required. As mentioned, you may treat it as normal USB disk by storing photos, documents, etc, along with disc images.

Totally new to Linux, and want to give a try? Here are some of the Linux Distributions friendly to beginners.

Linux is a family of open-source operating systems based on Linux Kernel. As there are so many distributions available, I’ll list the top 8 that are easy to use for beginners.

NOTE: Ranking and opinions expressed here are solely my own! As an Ubuntu user for more than 15 years, I’m not new to Linux but may be new to those in the list. So this could be a Linux review via a beginner!

8. Solus

Solus, formerly known as Evolve OS, is an independently developed OS for 64-bit processor. The system provides 4 desktop editions: Budgie, GNOME, MATE (abandoned), XFCE, and KDE Plasma.

Its own Budgie Desktop provides the classic Windows look-like desktop appearance, along with settings utility to change themes, fonts, and manage panel items. And it also has a Gnome style ‘System Settings’ to configure many other settings.

Solus ships with a variety of software out of the box. Besides its own package repository, it also support Snap and Flatpak with more choices.

7. Pop!_OS

Pop!_OS is a free open-source Linux Distribution based on Ubuntu. It’s powered by American Linux computer manufacturer System76, for computers built by System76, but also free to download and install on other machines.

Pop!_OS features customized GNOME Desktop Environment named COSMIC. It comes with a few built-in themes for better desktop and window management. Without Snap, the system focuses on native Deb and Flatpak packages support out-of-the-box.

As well, it has out-of-the-box support for AMD and NVIDIA GPUs, provides default disk encryption, and the most recent release also have packages that allow for easy setup for TensorFlow machine learning and NVIDIA CUDA.

6. Zorin OS

Zorin OS is another Ubuntu based system designed especially for those new to Linux.

The system has 4 editions in the download page. While “Ultimate” need to play for downloading, the core, lite, and education editions are free.

It features a customized GNOME desktop, aims to be the alternative to Windows and macOS. Zorin OS is clean and polished. And it has an appearance dialog to change the desktop layout with single click.

Thanks to Wine and PlayOnLinux, many Windows applications can be easily installed on Zorin OS via simply a few clicks.

5. Deepin Linux

Deepin is a Debian based Linux distribution that focuses much of its attention on intuitive design.

Deepin is the most beautiful Linux system as far as I can see. It features Deepin Desktop Environments with its core applications.

Deepin Linux is developed by a company from China. It ships with its own WPS Office with full MS Office file support, as well as CodeWeavers’ CrossOver, the paid, commercialized version of Wine.

Installing Windows apps, e.g., WeChat, QQ, is quite easy in Deepin. It’s the best Linux OS for users from China.

4. Fedora

Fedora is a Linux distribution developed by the community-supported Fedora Project and owned by Red Hat, a subsidiary of IBM.

Same to Ubuntu, Fedora announces new releases every year in April and October. However, each release has only 9-month support. And Linus Torvalds, creator of Linux, uses Fedora as his main Linux Distro.

Due to the close relationship between Gnome and Fedora, Fedora Workstation (the desktop edition) is always the first to benefit from the latest Gnome Shell releases.

Fedora Workstation is bleeding edge. It’s always the first to get the new technologies, drivers and package updates. And the desktop appearance is easy to configure via System Settings, Gnome Tweaks, Dconf Editor, as well as Gnome Shell Extensions. However, installing proprietary drivers is not easy for beginners.

3. Manjaro

Manjaro is a Linux Distro based on Arch Linux. It focuses on user-friendliness and accessibility.

Different to other Linux, Arch Linux and Manjaro uses a “rolling release” system. Which means you don’t have to re-install or upgrade the whole system again and again.

It features three desktop editions with XFCE, KDE, and GNOME. The system looks modern and works out-of-the-box with a variety of pre-installed software.

The XFCE and KDE editions has the classic Windows like style layout. And Gnome defaults to top panel with left dock. It however has a settings dialog to the UI layout.

The package manager ‘pamac’ is great, it enables ability to get the latest software packages from either main repository, AUR (Arch User Repository), flathub, or snap store all in one. As well, it has built-in utilities to install the latest Kernels, and proprietary NVIDIA drivers.

2. Ubuntu:

Ubuntu is the top popular Linux Distribution ranked by Google Trends. Not only for the Desktop, but also popular as Linux Server and for clouding computing.

Like Fedora, Ubuntu announces new releases every 6 months. Versions released in April of even-year (e.g., 16.04, 18.04, 20.04) are LTS with 5-year support. All others has only 9-month support.

Ubuntu is based on Debian, and uses GNOME as the default Desktop Environment. The Desktop is not perfect out of the box, the Software Center sucks, media codec is not pre-installed, clicking app icon on dock does not minimize the opened window, and more and more.

However, there are tons of tutorials and answers on the web shows you how to tweak Ubuntu. And you can ask on https://askubuntu.com/.

Ubuntu contains a wide range of software packages. Though the packages in default repositories are always old, many software developers (e.g., LibreOffice, Inkscape) and third-party maintainers maintain PPAs (Personal Package Archive) with most recent packages for Ubuntu users. And Flatpak and Snap is also available for choice.

Ubuntu is not the best for those totally new to Linux, but it has the largest community base actively participates and provides support to its users.

1. Linux Mint

Linux Mint is the most friendly Linux system for beginners in my own opinion.

It is based on Ubuntu LTS, and feature three desktop editions: Cinnamon, MATE, and Xfce. Linux Mint includes a variety of pre-installed software and it’s ready to use out-of-the-box.

All the settings for desktop users are easy to access via all-in-one ‘System Settings‘ tool, including desktop appearances, account, privacy, display, power management, printers, driver, firewall, and more.

Along with Ubuntu package base, Linux Mint also has its own package repository. Apps are easy to install either via Synaptic or System package manager. Kernels are easy to install via its update manager. PPAs and apt repositories are easy to manage via its ‘Software Sources’ utility. Thanks to Ubuntu, the latest NVIDIA drivers are also easy to apply.

As a fast growing Linux Distribution, Linux Mint is a stable, safe, reliable, and extremely easy to use.

At Last

Since there are so many Linux Distributions, I can’t try all of them one by one. Feel free to leave comment if you found a better one.

Want to embed a terminal in the Files, Nautilus file manager, in Ubuntu? Nautilus Terminal is the project to do the job.

Nautilus Terminal is an open-source project started in 2010. It’s now at version 4.x that supports up to Nautilus 40.

With it, you have an integrated terminal in each file window and tab. The terminal follows the navigation, without running cd command, the terminal automatically go to the directory when you navigate to a folder in file manager.

The terminal placement can be at top (default) or bottom. You can press F4 on keyboard to show or hide it. And it supports drag & drop of file on the terminal.

By right-click on terminal area, you can do copy & paste actions, and go to its Preferences.

The “Preferences” indeed opens Dconf Editor (you need to firstly install it in Ubuntu Software) and navigate to “/org/flozz/nautilus-terminal” settings page. There you can configure:

  • Background color.
  • Text color.
  • Font.
  • Focus by default.
  • Toggle shortcut.
  • Terminal placement.
  • Custom command.

How to Install Nautilus Terminal in Ubuntu 20.04 & Higher:

The project developer used to maintain an Ubuntu PPA, which is however no longer updated. Ubuntu 20.04 and higher users can now run following commands to install it from PyPi.

1.) Open terminal by pressing Ctrl+Alt+T on keyboard. When it opens, firstly run command to install required libraries:

sudo apt install python3-nautilus python3-psutil python3-pip libglib2.0-bin dconf-editor

2.) Then install Nautilus Terminal via command:

sudo pip3 install nautilus-terminal

3.) And install it for system wide by running command:

sudo nautilus-terminal --install-system

4.) Finally restart Nautilus to apply changes. To do so, run command:

nautilus -q

NOTE: Ubuntu 18.04 users, can run the previous commands one by one by replacing python3 with python to get integrated terminal in Files.

How to Remove Nautilus Terminal:

To remove the integrated terminal, simply run pip command with uninstall flag in terminal:

sudo pip3 uninstall nautilus-terminal -y

And restart Nautilus via step 4.) to apply changes.

For Arch Linux, Fedora, and other details, go to Nautilus Terminal project page.