Archives For November 30, 1999

Halfway through the year, many new apps released and many abandoned. Here are 6 weather apps that are still useful in 2021.

Without searching in web browser or watching an app on mobile, there are quite a few weather apps for Linux that display weather conditions and forecast either on desktop or via system tray applet.

And here are top ones still in active development and well working in all current Ubuntu releases.

1. Gnome Weather

The Gnome Weather app is always the first one you should try, since it’s well designed and integrated with Ubuntu Gnome Desktop.

It shows weather conditions via a desktop window and integrates forecast into the Clock (date & time) menu. Sadly forecast does not work in Ubuntu 20.04 due to bug.

Version 40 displays the current temperature, feel like temperature, as well as cloudy/sunny/rainy icon for current weather. And it shows forecast both hourly and daily (2 weeks). As indicates, it collects weather data from Norwegian Meteorological Institute.

To install the app, open terminal (Ctrl+Alt+T) and run command:

sudo apt install gnome-weather

For Ubuntu 20.04, forecast is not available due to libgweather bug. To workaround it:

  • either install Gnome Weather flatpak package which runs in sandbox.
  • or install patched version of libgweather from my personal PPA and restart Gnome Shell.

2. My Weather Indicator.

This is my favorite weather app from a Spain software developer. And it’s more than 10 years old that is still being maintained.

The app displays weather via both panel indicator and desktop widget. You can add 2 locations and choose weather services between OpenWeatherMap, Yahoo Weather, Wunderground.com, and WORLD WEATHER ONLINE.

It shows weather conditions including temperature, feels like, pressure, humidity, dew point, wind, and cloudiness. As well, it indicates the time of sunrise, sunset, and dawn/dusk.

The panel indicator offers forecast options for next hours and week days and forecast map. As well, a Moon Phase calendar is available for Waning Gibbous.

To install it, open terminal (Ctrl+Alt+T) and run commands one by one to get it from the developer’s PPA.

sudo add-apt-repository ppa:atareao/atareao
sudo apt update
sudo apt install my-weather-indicator

3. Meteo


Meteo is a forecast application using OpenWeatherMap API. It comes with an indicator that shows weather information including temperature, pressure, wind speed and direction, sunrise & sunset.

It also provide app window with current weather and forecast for next 18 hours and next 5 days. With it, you can also check information about temperature, pressure, wind speed, clouds, and precipitation in map mode.

The software has an Ubuntu PPA. So you can open terminal (Ctrl+Alt+T) and run following commands one by one to install it.

sudo add-apt-repository ppa:bitseater/ppa
sudo apt update
sudo apt install com.gitlab.bitseater.meteo

4. KWeather

This is a KDE weather app designed for plasma mobile. It however works good on Linux desktop even without KDE.

It shows the basic weather conditions as well as 10 days forecast in an adaptive app window. Which makes it different is the Dynamic mode that displays raining, shining, or snowing animation.

KWeather is available as flatpak package in flathub.org. To install it, first follow the setup guide and run bottom command in the link page.

5. OpenWeather Extension

This is an extension for Gnome that will work on Ubuntu, Fedora, and other Linux with Gnome Desktop.

It collects weather conditions from either OpenWeatherMap or darksky.net. And display basic info on top bar. By drop-down menu, you can see more details including:

  • sunrise / sunset time.
  • cloudiness, humidity, pressure, wind speed.
  • forecast (2 ~ 10 days).

The indicator position, icons, units, Geolocation provider etc are configurable via extension settings.

To install OpenWeather extension, firstly make sure chrome-gnome-shell is installed via command:

sudo apt install chrome-gnome-shell

Then get it from extensions.gnome.org/…/openweather/

6. wttr.in

For those looking for a weather app works in command line, wttr.in is a great choice.

Just make sure curl is installed via command:

sudo apt install curl

You can then run command to get weather condition as well as forecast for current location via command:

curl wttr.in

And you may specify a location, shanghai for instance, via command:

curl wttr.in/shanghai

It’s recommended to maximize your terminal window to make the forecast table display properly.

Besides the basic info, such as, temperature, pressure, humidity, it also supports for moon phase, different units, generate PNG, and more. To get more options, run command:

curl wttr.in/:help

Final Words

There are also a few other good weather apps that I know, but they are either not maintained or not well working in my machine. If you get any other good apps, feel free to leave comment below.

Gnome 40 automatically logs into ‘Activities’ overview screen instead of a blank desktop. Don’t like this feature? Just disable it!

Gnome 40 finally lands in Ubuntu 21.10, brings the new design of its ‘Activities’ overview screen. The workspaces are now horizontal and locate across the center of screen. Along with small boxes under the search box, all running app windows will be there. And it introduces new touchpad gestures to switch between workspaces.

Instead of a blank desktop, Gnome 40 shows you the redesigned Activities by default. It’s great for you to get start directly by searching items, or accessing favorite apps on the left dock.

But I don’t like the feature and want to disable it! Well, an extension is here to do the job.

“No overview at start-up” is the simple extension to revert the change, so Ubuntu 21.10, Fedora 34 or other Linux with Gnome 40 will log into a blank desktop just like before.

Install No overview at start-up Extension:

1. Firstly, press win/super key, then search for and open terminal. When terminal opens, copy and paste the command below and hit run.

The command will install the “chrome-gnome-shell” package to enable ability to install Gnome Shell Extensions from web browser. And install “gnome-shell-extension-prefs” (Gnome Extensions App) for managing extensions.

sudo apt install chrome-gnome-shell gnome-shell-extension-prefs

type user password (no asterisk feedback) when it asks and hit Enter. Then type ‘y’ if asked to confirm to install the packages

2. Next, go to the extension page via the link button below. Turn on the toggle icon to install it.

If you don’t see the slider icon, click the ‘click here to install browser extension‘ link to install browser add-on and reload the page.

The extension should function once you installed it. And you can click ‘Activities’ then search and open Gnome Extensions App to toggle on / off, or remove the extensions.

That’s it. Enjoy!

For those want to set the CPU TDP limit, a new Intel Controller app is available by Spanish Linux computer company Slimbook.

TDP stands for Thermal Design Power, in watts, and refers to the power consumption under the maximum theoretical load.

Similar to its AMD Controller app, the new app works by setting your CPU TDP value. That is, the amount of power measured in watts allowed for your CPU to either save battery or to improve the overall performance.

To use the app, you need to disable secureboot because it does not allow kernel access to CPU parameters.

As a new project, it so far supports for: i3-10110U, i3-1005G1, i5-8250U, i5-8265U, i5-10210U, i5-1035G1, i7-7500U, i7-8550U, i7-8565U, i7-1065G7, i7-10510U, i7-10750H, i7-1165G7.

You can however test your CPU by adding into the “~/.config/slimbookintelcontroller/slimbookintelcontroller.conf” file.

Search on the web to find out your CPU Specifications, including TDP, TDP-up and TDP-down. Then add your CPU and set the Low, Medium, and High performance in watts as the picture shows. You can then choose between them via either the desktop app or indicator menu.

NOTE: The software is still in early development, they may have bugs. And in higher performance, it drains the battery faster and makes your CPU hotter. USE it at your own risk!

Install Slimbook Intel Controller:

The slimbook PPA maintains the package so far only for Ubuntu 20.04.

1. Add the PPA.

Firstly open terminal either by pressing Ctrl+Alt+T on keyboard, or by searching for and open terminal from system app launcher. When terminal opens, copy and paste the command below and hit Enter:

sudo add-apt-repository ppa:slimbook/slimbook

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

2. Install the controller app.

Next run command to install the Intel Controller:

sudo apt install slimbookintelcontroller

For AMD CPU, you can install another package instead:

sudo apt install slimbookamdcontroller

Once installed, open it from system app launcher. As I mentioned above, it won’t start if your process is not in the configuration file. For the source code, go to Github.

Uninstall:

For any reason, you can copy and paste the command below into terminal and hit Run to remove the software.

sudo apt remove slimbookintelcontroller

As well, do for removing the Slimbook PPA via the command below:

sudo add-apt-repository --remove ppa:slimbook/slimbook

Want to change the position of top-bar items, e.g., Activities button, app menu, date and time, and system tray icons?

A Top Bar Organizer extension now is available for Ubuntu 21.04 Gnome 40. With it, you can drag and drop to re-order top panel items as you prefer. For example, moving the Activities button or date & time clock menu to right corner.

Install Top Bar Organizer:

1.) Firstly open terminal by pressing Ctrl+Alt+T on keyboard. When terminal opens, run command to install Gnome extension integration for web browser, as well as Gnome Extension management tool:

sudo apt install chrome-gnome-shell gnome-shell-extension-prefs

2.) Next go to the extension web page, and turn on the toggle icon to install it:

Don’t see the slider icon? Install browser extension by clicking on ‘Click here to install browser extension’ link and refresh the web page.

3.) Finally search for and open ‘Extensions‘ from system app launcher. And click on the gear icon to open the extension settings.

Next drag and drop to re-order all panel items and enjoy!

Free open-source handwriting notetaking app Xournal++ 1.1.0 was released with many new features and improvements.

Xournal++ (aka Xournalpp) is a note taking app that support pen input from devices such as Wacom, Huion, XP Pen tablets. It also features PDF annotation, Lua scripting, and LateX support.

The Xournal++ 1.1.0 is a new major release follows the XDG Base Directory Specification. The config files will now be stored in user .config folder instead of user home.

A new plugin was introduced for those have non-default DPI settings, to fix incorrect text elements display issue for old documents.

Ubuntu 16.04 and Mac OS High Sierra are no longer supported. Other features include:

  • New “progressive mode” option to PDF export dialog.
  • New “Layerstack Preview” tab to show all layers up to the current layer.
  • Add seeking functionality during audio playback.
  • Remove the old input system and touch workaround.
  • Add a touchpad pinch gesture for zooming.
  • Rework LaTeX tool implementation.
  • Add snapping for vertical space, moving/resizing selections, recognized shapes.
  • Lua plugin support for Mac OS.
  • New action icons, and new app icon.
  • And tons more other improvements and changes.

How to Install Xournal++ 1.1.0 in Ubuntu:

The software offers official binary packages, available to download at the link below:

Grab the ‘xournalpp-xxx-bionic-xxx.deb‘ for Ubuntu 18.04, or ‘xournalpp-xxx-focal-xxx.deb‘ for Ubuntu 20.04/ Linux Mint 20.

You can then install the .deb by opening terminal and running command:

sudo apt install ~/Downloads/xournalpp*.deb

For other Ubuntu releases and other Linux, choose the non-install ‘xournalpp-xxx.AppImage‘ package. By adding execute permission in the right-click menu ‘Properties’ dialog under Permissions tab, you can finally run the Appimage to launch the software.

Need the most recent HPLIP to get your HP printer or scanner working in Ubuntu? Here’s how to install guide as well as workaround to fix the python-pyqt5 dependency issue.

HPLIP is an open-source Linux drivers for HP’s inkjet and laser printers. The project is initiated and led by HP Inc. While the package in Ubuntu repositories is always old, you can install the official binary to get new devices support.

However, the most recent releases refuse to install in my Ubuntu 20.04 due to python-pyqt5 dependency issue. If you’re facing with the similar issue, then this tutorial may help!

Download & Install HPLIP in Ubuntu 20.04

1.) Firstly, download the latest binary from the link below. It’s ‘hplip-3.21.10.run‘ at the moment.

2.) Next, add executable permission by pressing Ctrl+Alt+T on keyboard to open terminal. Then run command:

chmod u+x ~/Downloads/hplip*.run

And try to install it via command:

~/Downloads/hplip*.run

Follow the terminal output and answer some questions to start installing the driver.

3.) Fix python-pyqt5 dependency issue.

As I said, it refuse to install in Ubuntu 20.04 because it tries to install old Python 2 binding for Qt5 as dependency in my case.

Thanks to Christoph Mueller, I found it has something to do with python symbolic links.

As you may know, python2 and python3 in /usr/bin are symbolic links. While python2 is python2.7, python3 links to python3.8 (or 3.9 depends on Ubuntu edition), python is not exist out-of-the-box. However, it will be created in some cases and links to either python2 or python3.

And the point is when Python links to Python2, HPLIP will mistakenly try to install Python 2 libraries as dependency.

Until HPLIP fixed the issue, the solution is either remove /usr/bin/python if you don’t need it or make it link to Python3.

Make Python to be Python3:

There are two choices to create symlink for python: install python-is-python3 or use update-alternatives command.

Option 1. Open terminal and run command to install ‘python-is-python3’:

sudo apt install python-is-python3

Option 2. Use ‘update-alternatives’ to choose which to link to. Firstly, add both python2 and python3 as alternatives:

sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 1
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 2

You can then choose which to use anytime via command:

sudo update-alternatives --config python

Finally, re-do step 2.) to install the HPLIP-*.run file.

4.) Fix make command failed issue:

This seems to be HPLIP 3.21.6 only issue, that it outputs ‘error: make command failed with status code 2‘.

By re-running ‘make’ command from the source folder (see Uninstall section), it tells that “/usr/bin/ld: cannot find -lavahi-core”.

And it can be fixed by installing libavahi-core-dev package via command:

sudo apt install libavahi-core-dev

How to Remove HPLIP from Ubuntu:

While installing HPLIP via step 2.), it extracts the .run package into the source folder. And you can find it in Downloads folder.

NOTE: HPLIP 3.21.10 somehow does not create source folder. Run ~/Downloads/hplip*.run --target ~/Downloads/hplip to generate it manually if required.

The folder contains an uninstall script allows to remove HPLIP from your computer.

To do so, go to the source folder, right-click on blank area and select ‘Open in Terminal’.

Finally, run the uninstall script in pop-up terminal window:

sudo python3 uninstall.py

That’s all.

Want to access your Ubuntu desktop remotely from a Windows 11 computer? It’s easy to do the job with built-in screen sharing function.

Ubuntu uses Vino as default VNC server to share your existing desktop. With it, users can access Ubuntu remotely either in or out of local network via a VNC client.

Enable Vino VNC in Ubuntu:

1. Firstly, click on ‘Activities’ in top bar, search for and open terminal from system app launcher. When it opens, run commands:

Make sure Vino is installed by running command:

sudo apt install vino

To allow computer outside of local network to access, enable upnp is your router support it:

gsettings set org.gnome.Vino use-upnp true

Vino requires encryption by default. However, VNC clients from Windows computer does not support the encryption type. So you may disable the feature via command:

gsettings set org.gnome.Vino require-encryption false

There are more settings, e.g., change listening port, disable background, lock on disconnect. And you can control them via Dconf Editor (install from Ubuntu Software), by going to ‘org -> gnome -> desktop -> remote access’.

2. Secondly, open System Settings and go to Sharing in the left pane. Toggle on the slider icon on header, and then click ‘Screen Sharing’ to go to its settings page.

3. Finally, turn on ‘Screen Sharing’ function, and do:

  • Allow remote control by enabling “Allow connections to control the screen”
  • Set ‘New connections must ask for access’ if you’re sitting at Ubuntu computer.
  • Or set a hard-to-guess password for choice.
  • If you have both wired / wireless network connected, choose one to share with.

Remove Access Ubuntu from Windows 11:

Windows uses need a VNC client to get access remote computers. And I use TigerVNC which is available to download at the link below:

Download & install the exe. Launch the client, and type either IP address or hostname of Ubuntu machine:

If password was not set in Ubuntu, it will pop up a window asking whether to allow access. Or, type password in next dialog to get access.

That’s all. Enjoy!

The open-source video transcoder HandBrake released new 1.4.0 version with exciting new features.

HandBrake 1.4.0 adds native 10 and 12-bit encoding support. Though it has limitations that some filters (e.g., Detelecine, Chroma Smooth, and more) do not currently support higher than 8-bit. With these filters enabled, you won’t benefit from the new feature.

You can select the new 10-bit / 12-bit encoder from the “Video codec” drop-down on the Video tab. For hardware encoders, the option will only be shown if the system supports it.

The release also adds new filters including Chroma Smooth and Colourspace Selection. New Media Foundation encoder for Windows based ARM64 devices powered by Qualcomm Chipsets.

Other changes in HandBrake 1.4.0 include:

  • HDR10 metadata passthru.
  • Added support for Apple Silicon based macs.
  • MP2 Audio Passthru support.
  • Added support for DVB Subtitles.
  • Added support for EIA608 Closed Captions.
  • Improved Static Previews to reduce temporary disk space usage
  • And much more.

How to Install HandBrake 1.4.0 in Ubuntu:

HandBrake has an official Ubuntu PPA though it’s not updated at the moment.

Besides the PPA, you can download & install the flatpak package.

First time installing a flatpak package? Make sure flatpak daemon is installed via command:

sudo apt install flatpak

Then install the downloaded package via command:

flatpak install ~/Downloads/HandBrake-*.flatpak

(Optional) To uninstall the package, open terminal and run command:

flatpak uninstall fr.handbrake.ghb

For those sticking to the open-source graphics driver, the latest Mesa 3D graphics library is easy to install via an Ubuntu PPA.

Mesa is an open-source software implementation of OpenGL, Vulkan, VDPAU, VA-API, and other graphics API specifications.

Ubuntu uses Mesa as OpenGL implementation if no proprietary driver is in use. It is however always old. For users want to play some games with the open-source RadeonSI, RADV, Intel, or Nouveau drivers, you may try the latest Mesa via PPA.

Install Mesa via Ubuntu PPA:

A trustworthy Ubuntu PPA is available that contains the latest stable Mesa packages for Ubuntu 18.04, Ubuntu 20.04. It also provides packages for Ubuntu 20.10 and Ubuntu 21.04, but not tested.

1. Add the PPA:

Search for and open terminal from system app launcher. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:kisak/kisak-mesa

Type user password, no visual feedback, when it asks. Read the PPA description as you want and hit Enter to continue.

2. Install Mesa packages:

For Ubuntu 18.04, Linux Mint, you need to update package cache though it’d done automatically in Ubuntu 20.04 and higher.

sudo apt update

Finally install available upgrades of all packages including Mesa library via command:

sudo apt full-upgrade

3. Check mesa version:

To find out the package version, use command:

glxinfo | grep "OpenGL version"

Restore Original Mesa packages:

To restore your graphics driver to the original status, firstly install ppa-purge via command:

sudo apt install ppa-purge

Next purge the Ubuntu PPA which will downgrade all the installed packages:

sudo ppa-purge ppa:kisak/kisak-mesa

For Linux Mint 20, it’s recommended to add -d focal flag to work safely:

sudo ppa-purge -d focal ppa:kisak/kisak-mesa

By releasing recent update, the popular Arc Menu Gnome Shell extension finally adds Gnome 40 and Windows 11 layout support.

Arc Menu is a free open-source app menu extension for Gnome. It provides various menu layouts to choose from, as well as many options to customize the appearance. For users new to GNOME and looking for a Windows style start menu, this extension will be perfect for you!

With the extension along with dash to panel, you can make Ubuntu just look like Windows 11.

The new menu layout does not display a search bar by default. Just type and it will bring up the search box as well as results.

How to Install Arc Menu:

The extension requires Gnome 3.36 +, which means you can install it in Ubuntu 20.04, Ubuntu 20.10, Ubuntu 21.04 and next Ubuntu 21.10.

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

sudo apt install chrome-gnome-shell gnome-shell-extension-prefs

Next go to Arc Menu web page and turn on the slider icon to install it:

If you don’t see the toggle icon, install browser extension via “Click here to install browser extension” link and refresh the web page.

Once installed, you can toggle on / off Arc Menu by opening Extensions from system app menu.

To select Windows 11 style start menu, right-click on start icon and go to settings. Then navigate to “Menu Layout -> Modern Menu Layouts”, choose ‘Eleven’ and click on Apply button.

Arc Menu follows your system theme. For dark mode menu, set Gnome Shell theme to dark.