Archives For November 30, 1999

KeePassX 2 YubiKey support

KeePassXC password manager 2.5.3 was released today with stability improvements and new feature: browser extension for Chromium-based Edge browser.

KeePassXC 2.5.3 changelog:

  • Fix possible database lockout when removing a YubiKey from a KDBX 3.1 database
  • Fix crash if Auto-Type is performed on a new entry
  • Fix crash when all entries are deleted from a group
  • Improve the reliability of clipboard clearing on Gnome
  • Do not check cmd:// URLs for valid URL syntax anymore
  • Prevent unnecessary merges for databases on network shares
  • Browser: Prevent native messaging proxy from blocking application shutdown
  • Browser: Improve website URL matching

How to Install KeePassXC 2.5.3 in Ubuntu:

For Ubuntu 18.04 and higher, KeePassXC Snap package (runs in sandbox) can be easily installed via Ubuntu Software.

For those prefer native Ubuntu .deb package, open terminal from application menu or press Ctrl+Alt+T on keyboard, and run following commands one by one:

1.) Run command to add the official PPA, which so far supports for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.04, and Ubuntu 19.10.

sudo add-apt-repository ppa:phoerious/keepassxc

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

2. Then upgrade KeePassXC from previous release via Software Updater:

or run commands one by one in terminal to install the password manager:

sudo apt update

sudo apt install keepassxc

Uninstall:

To remove the PPA, open Software & Updates and navigate to Other Software tab.

To remove KeePassXC .deb package, run command in terminal:

sudo apt-get remove --autoremove keepassxc

GNOME, the default desktop, shows focused app menu in the top bar next to the upper left Activities button.

Users may use the menu to open or switch between windows of the same app, launch preferences dialog, or close the app window. The design is great, but some may not use the menu and find it useless.

So here’s how to disable this feature in all current Ubuntu releases, e.g., Ubuntu 18.04, Ubuntu 20.04 and Ubuntu 22.04, that running the default GNOME desktop.

UPDATE: In Ubuntu 24.04, there’s no longer app menu in top-bar, due to GNOME feature change.

Disable Top bar App menu in Ubuntu 18.04:

For Ubuntu 18.04, it’s easy to get rid of the menu since the popular “GNOME Tweaks” tool has an option to toggle it.

1.) Firstly, search for and install Gnome Tweaks from Ubuntu Software if you don’t have it.

2.) Next launch the configuration tool by searching from the Activities overview screen. When it opens, navigate to “Top Bar” in the left pane, then you’ll see the option to turn on/off the App menu.

Remove Top bar App menu in Ubuntu 20.04 & 22.04:

For any reason, GNOME Tweaks removed the option to toggle the function in recent Ubuntu releases. However, there are quite a few GNOME extensions can do the job! And here’s the one that works on GNOME from version 3.36 to 44.

Which means Linux distributions include Debian 11/12, Ubuntu 20.04, Ubuntu 22.04, Fedora 37/38 can install the extension to remove the top bar app-menu.

1.) Firstly open terminal either by pressing Ctrl+Alt+T on keyboard or by searching from the ‘Activities’ overview.

2.) When terminal opens, run command to install chrome-gnome-shell package if you don’t have it:

sudo apt install chrome-gnome-shell

The package makes it possible to install GNOME extension from ‘extensions.gnome.org’ via your web browser.

3.) Finally click the link button below to go to the ‘Remove App Menu’ extension page, and turn on the slider icon to install it.

Turn on the toggle icon to install Remove App Menu extension

Don’t worry if you don’t see the slider icon, install browser extension via ‘Click here to install the browser extension‘ link and REFRESH the web page will make it visible.

After installed the extension, the top bar app menu disappears immediately in my case. If not, try restart Gnome Shell (press Alt+F2, type r and hit Enter) or log out and back in.

Restore the App Menu

If you change your mind, simply go to the extension web page again and turn off the toggle icon will remove it.

Or, install the ‘Gnome Extensions‘ app by pressing Ctrl+Alt+T on keyboard and running command in pop-up terminal:

sudo apt install gnome-shell-extension-prefs

Then launch the tool and you’ll see the options to toggle all installed extensions. By clicking on the little triangle icon at the end of each line, you may also remove that extension.

The open-source LaTeX text editor TeXstudio 2.12.20 was released today as a new bug-fix release for the 2.12 series.

Most notably changes in TeXstudio 2.12.20 include fix bug when replacing highlighted search results, and add \text{} to amsmath.cwl.

How to Install TexStudio 2.12.20 in Ubuntu:

The official PPA has made the new release packages for Ubuntu 16.04, Ubuntu 18.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) when it asks 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 it 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.

Cawbird DISCONTINUED since 2023! It does not longer work. See the archive in Github page.

Cawbird is a fork of the Corebird GTK twitter client that continues to work with Twitter on Linux.

Corebird became unsupported after Twitter disabled the streaming API. Cawbird takes up the job to work with the new APIs and includes a few fixes and modifications.

Cawbird 1.0.4 was released today as the latest version including following changes::

  • Reduce bespoke themeing and make the main bar use native colors
  • Import favourited images from Corebird
  • Fixed crash caused by Twitter sending invalid entity positions in tweet
  • Fixed tweet length error with counting prime marks (quotes)
  • Update Italian translation

How to Install Cawbird in Ubuntu:

The community maintained Cawbird Snap package, which runs in sandbox, can be easily installed from Ubuntu Software:

For those prefer native .deb package, go to the developer maintained repository at the link below:

Select Ubuntu, then click ‘Grab binary packages directly‘ and download the .deb package for your system.

Finally install the .deb via Gdebi package installer (available in Ubuntu Software) and enjoy!

Nutty is a free open-source network utility made for Linux. It monitors the devices on your network and check bandwidth and speed details.

Nutty is made for elementary OS and it works on Ubuntu. The software features:

  • Display basic and detailed information for the device network card
  • Provides network data usage in two views: historical usage and current usage
  • Check Upload and Download speeds and get route times to a host
  • Provides information on active ports and application using them on the local device
  • Monitors, alerts and provides information on the other devices connected on the network

To install Nutty in Ubuntu 16.04, Ubuntu 18.04, Ubuntu 20.04, and Ubuntu 22.04, open terminal from application launcher or by pressing Ctrl+Alt+T on keyboard. When it opens, run following commands one by one.

1.) Run command to add the Nutty main PPA:

sudo add-apt-repository ppa:bablu-boy/nutty

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

2.) Also add Elementary OS stable PPA (can be removed later) for libgranite5 library. ()

sudo add-apt-repository ppa:elementary-os/stable

You may skip the step in UBUNTU 19.04 and higher since libgranite5 available in main repositories.

3.) Finally refresh system package cache and install the utility via command:

sudo apt update; sudo apt install com.github.babluboy.nutty

Once installed, launch the tool from your system application menu and enjoy!

Uninstall:

You HAVE to remove the Elementary OS stable PPA as it contains many eos specific packages that may break your Ubuntu desktop.

Simply open Software & Updates utility and navigate to Other Software tab. There remove the line for Elementary OS PPA, and Nutty PPA if you want.

You can also remove Nutty network utility by running command:

sudo apt remove com.github.babluboy.nutty

gnome shell

For Ubuntu 18.04, Ubuntu 19.10, and higher with the default Gnome desktop environment, there’s a built-in screen recording tool you may not know.

For Ubuntu 23.10, Ubuntu 24.04, and later, the built-in screen recorder is now available in top-right system tray menu.

There’s no app shortcut or manual page for the hidden video recording tool. It has limited features that include:

  • Start recording by pressing Ctrl+Alt+Shift+R on keyboard.
  • Stop recording also by pressing Ctrl+Alt+Shift+R.
  • Maximum video length is 30s (change it via following steps).
  • Full-screen recording only.
  • Record to WebM only.
  • Automatically saved videos to user’s Videos folder.

Change video length time limit:

The maximum video length is 30 seconds by default. You can change 30 to any number in seconds or 0 with no time limit. Then you can press the shortcut key again at any time to stop the recording process.

1. Install Dconf Editor from Ubuntu Software and then launch it.

When it opens, navigate to org/gnome/settings-daemon/plugins/media-keys.

Screen down and click to change the value of ‘max-screencast-length’ as you want.

2. Alternatively, run single command in terminal (Ctrl+Alt+T) to change the value:

gsettings set org.gnome.settings-daemon.plugins.media-keys max-screencast-length 0

You may replace number 0 in the command as you want.

gnome shell

This simple tutorial shows how to install ‘McMojave’, a Mac OS Mojave like theme, in Ubuntu 18.04, Ubuntu 20.04, Ubuntu 22.04, and Ubuntu 24.04 with default GNOME Desktop.

Following steps will first download and install the GTK theme, icons theme, and a set of wallpapers. And then apply new themes and tweak the left dock to make your Ubuntu desktop look like Mac OS X.

Install Mojave GTK theme:

1. First download the source code of GTK theme from the project releases page:

2. Then extract the tarball, select ‘Open in Terminal in source folder’s right-click menu.

3. When terminal opens, run command ./install.sh:

If everything goes OK, the GTK theme should installed successfully for single user usage.

Install Mojave icon theme:

The icon theme source code is available for download at the link below:

Same to the GTK theme, after downloaded the Mojave icon theme, do following steps one by one:

  • extract the source code by right-clicking on the tarball and selecting ‘Extract Here’.
  • open icon folder in terminal by selecting ‘Open in Terminal’ in its context menu.
  • install the icon theme by running command ./install.sh -a in the pop-up terminal.

Apply new themes to make Ubuntu look like Mac OS X:

1. First open terminal, and run command to install required GTK engine and Gnome Tweak Tool:

sudo apt-get install gtk2-engines-murrine gtk2-engines-pixbuf gnome-tweaks

2. Search for and install “user themes”  extension from GNOME Extension Manager (available in Ubuntu Software or App Center), so you can change the ‘Shell’ theme in next step (may need a log out and back in to apply).

3. Open Gnome Tweaks, and select the new themes under Applications, Icons, and Shell.

And click here to download Mojave default wallpapers.

4. Finally tweak the left panel by running following two commands in terminal:

    • To move left dock to bottom:
gsettings set org.gnome.shell.extensions.dash-to-dock dock-position 'BOTTOM'
    • To shorten the dock:
gsettings set org.gnome.shell.extensions.dash-to-dock extend-height false

Mozilla Firefox 72.0 was released today. Picture-in-picture video now is available for Linux and Mac OS.

“Picture-in-picture” feature allows web video to be played in a “pop out” window. Simply select the blue icon from the right edge of a web video to pop open a floating window so you can keep watching while working in other tabs.

Other changes in Firefox 72.0 include:

  • Block fingerprinting scripts by default for all users
  • Replaces notification request pop-ups with speech bubble in address bar.
  • Remove support for blocking images from individual domains.
  • Various security fixes.

Download / Install Firefox in Ubuntu:

You’ll be able to upgrade the pre-installed Firefox to the latest 72.0 release in Ubuntu 16.04, Ubuntu 18.04, and Ubuntu 19.10, through the Software Updater in 2 or 3 days (check the building page).

Or install the Firefox 72 Snap package (runs in sandbox) simply from Ubuntu Software. It can be installed alongside pre-installed Firefox, and will automatically update to the latest.

Also Mozilla Firefox website offers non-install (extract and run the executable) tarball for all Linux desktop.

KeePassX 2 YubiKey support

KeePassXC, KeePass cross-platform community edition, released version 2.5.2 a few days ago. Here’s how to install it in Ubuntu 18.04, Ubuntu 16.04, Ubuntu 19.10 via PPA.

KeePassXC 2.5.2 features significant stability and usability improvements. Changes in the release include:

  • Show UI warning when entering invalid URLs
  • Option to use an entry only for HTTP auth
  • Disable the user interface when merging or saving the database
  • Ability to hide protected attribute after reveal
  • Improve GUI tests reliability on Hi-DPI displays
  • Fix crashes when saving a database to cloud storage

How to Install KeePassXC 2.5.2 in Ubuntu:

For Ubuntu 18.04 and higher, KeePassXC Snap package (runs in sandbox) can be easily installed via Ubuntu Software.

For those prefer native Ubuntu .deb package, open terminal from application menu or press Ctrl+Alt+T on keyboard, and run following commands one by one:

1.) Run command to add the official PPA, which so far supports for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.04, and Ubuntu 19.10.

sudo add-apt-repository ppa:phoerious/keepassxc

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

2. Then upgrade KeePassXC from previous release via Software Updater:

or run commands one by one in terminal to install the password manager:

sudo apt update

sudo apt install keepassxc

Uninstall:

To remove the PPA, open Software & Updates and navigate to Other Software tab.

To remove KeePassXC .deb package, run command in terminal:

sudo apt-get remove --autoremove keepassxc