Use GVfs admin backend to open Nautilus file browser or Gedit text editor with root permission? It’s not working in Ubuntu 21.04.

When you run nautilus admin:// or gedit admin:// to open folder or document with root, it won’t work and output an error:

GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Unix process subject does not have uid set

The error also occurs when using nautilus-admin extension to enable ‘open as root’ context menu.

The issue is caused by a gvfs commit to fix flatpak app network permission requirement problem. To get rid of the error (see bug), reverting just that one commit could be a workaround.

Method 1: Install old GVfs from Ubuntu 20.10 repository:

You can download & install the gvfs .deb packages for the previous Ubuntu 20.10. And here are the links for 64-bit system:

gvfs_1.46.1-1ubuntu1_amd64.deb

gvfs-libs_1.46.1-1ubuntu1_amd64.deb

gvfs-fuse_1.46.1-1ubuntu1_amd64.deb

gvfs-daemons_1.46.1-1ubuntu1_amd64.deb

gvfs-common_1.46.1-1ubuntu1_all.deb

gvfs-backends_1.46.1-1ubuntu1_amd64.deb

Grab the 6 packages, then open terminal (Ctrl+Alt+T) and run command to install all of them:

sudo apt install ./Downloads/gvfs*.deb

Method 2: repack GVfs to revert the commit:

If you don’t want to downgrade gvfs, just rebuild it without the commit. To make things easy, I’ve uploaded into this PPA.

1. Open terminal either from system app launcher or by pressing Ctrl+Alt+T on keyboard. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/gvfs

2. Then install the patched version of gvfs via command:

sudo apt install gvfs=1.47.91-2ubuntu1

3. Finally remove the PPA via command:

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

How to Restore GVfs to stock version:

If you change mind, and want to revert it back, simply run command in terminal:

sudo apt install gvfs=1.47.91-1ubuntu1

Quiet Audio Fade (aka Quite AF) is a small applet slowly reduces the volume on your computer over time, letting you find the quietest level that works.

It’s f.lux for your ears!

The tool is written in Go programming language, and it works in Windows, Linux, and Mac OS.

It works as a system tray indicator with only a few menu options. The first option shows the current tool status (ACTIVE or PAUSED) along with the volume level in number.

When it’s in ACTIVE mode, it slowly decreases your system volume bit by bit with time interval set in “Speed” option. Higher intervals mean a longer, more subtle decrease.

Eventually you’ll notice the sound is a tad too low and you’ll increase the volume, which will disable Quiet AF and leave your volume at the perfect level – not too loud, not too quiet!

How to Get Quiet Audio Fade in Ubuntu:

Besides building from source tarball, the applet offers single executable file in its project page:

Quiet AF Releases

Grab the package for Ubuntu, and give executable permission in file’s Properties dialog.

You’re finally able to start it via command in terminal (Ctrl+Alt+T):

./Downloads/QuietAF_Ubuntu

If you prefer the applet, you can move the executable file to /usr/local/bin, manually create app shortcut, or add it as startup application.

The CopyQ clipboard manager released version 4.0.0 a day ago. Here’s how to install it in Ubuntu 20.04, Ubuntu 21.04, Ubuntu 18.04 via PPA.

CopyQ is a free and open-source clipboard manager with editing and scripting features. The new 4.0.0 release features new script engine with some new functions, better ECMAScript support, improved performance.

The release also adds Wayland support and bash completion script. Other changes include:

  • Update synchronization plugin to keep order of new items consistent between multiple instances.
  • Search multiple words in any order
  • Use system notification popups.
  • Item rows set to 1 by default in main window and tray menu
  • Tags can be “locked” in configuration.
  • Web plugin removed.
  • New advanced options allow to set intervals and wait times for copying,
    pasting and window focus.

How to Install Copyq 4.0.0 in Ubuntu:

The official PPA repository has made the latest packages for Ubuntu 18.04, Ubuntu 20.04, and Ubuntu 20.10.

1. To add the PPA, open terminal (Ctrl+Alt+T) from application menu and run command:

sudo add-apt-repository ppa:hluk/copyq

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

2. Then install CopyQ either via Synaptic package manager or by running commands in terminal:

sudo apt update

sudo apt install copyq

Once installed, start the clipboard manager from application menu and you’ll see the icon in system tray area.

Uninstall:

To remove the software, either use Synaptic package manager or run command:

sudo apt-get remove --autoremove copyq

To remove PPA repositories, launch Software & Updates and navigate to Other Software tab.

Wine

Wine 6.6 was released a few days ago as the latest development release of the Windows compatibility layer.

In the new release the Mono engine is updated to version 6.1.1 with upstream updates. DWrite and DnsApi libraries are now converted to PE. And it improved plug & play driver support.

Other changes in Wine 6.6 include various bug-fixes to Windows applications and games, e.g., Evil Twin, Half-life, Breath of Fire IV, Google drive, Legends of Runeterra, and more.

How to Install Wine 6.6 in Ubuntu:

The official Wine apt repository now provides the new release package for Ubuntu 18.04, Ubuntu 20.04, and Ubuntu 20.10

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

Install Wine Development version via following commands will replace the latest stable Wine release package if installed.

1.) Run command to enable 32 bit architecture (if you don’t have it):

sudo dpkg --add-architecture i386

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

2.) Install the repository key by running command:

wget -O - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -

3.) Add wine repository via command:

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

IMPORTANT: In this command, you have to replace focal with:

  • focal for Ubuntu 20.04, Linux Mint 20.x
  • groovy for Ubuntu 20.10.
  • bionic for Ubuntu 18.04 and Linux Mint 19.x

Don’t know your system edition? Run lsb_release -a command in terminal to check out.

4.) For Ubuntu 18.04 and Linux Mint 19.x only, libfaudio0 library is required to install from a third-party repository by running command:

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

5.) Finally install Wine 6.6 via command:

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

If you get unmet dependency issue, try aptitude command instead:

sudo apt install aptitude && sudo aptitude install winehq-devel

Uninstall wine:

You may remove the PPA by launching Software & Updates utility and navigating to Other Software tab.

To remove wine 6.6, run command in terminal:

sudo apt remove --auto-remove winehq-devel

Shortwave, free and open-source internet radio player for Gnome, released version 2.0.0 today.

The new release introduces a mini player mode. It is a super compact window widget with a few control buttons, and displays the current radio station and playing song name.

Other changes in Shortwave 2.0.0 include:

  • Show system notification when start playing a new song.
  • Redesign the station details window, and add ability to copy the stream URL.
  • Improved keyboard navigation of the user interface.
  • Prevent system from going suspend or hibernate during audio playback.

And Shortwave now is built as GTK4 application. For the UI, you’ll see the bottom corners rounded.

How to Install Shortwave 2.0.0 in Ubuntu:

The radio player is available in Ubuntu Software as Snap package, it is however not updated at the moment of writing.

Besides building from sourceļ¼ˆimpossible as it depends GTK4), so far the only way is installing the containerised Flatpak package.

1.) Open terminal either from system application menu or by pressing Ctrl+Alt+T on keyboard. When it opens, run command to install the flatpak daemon if you don’t have it:

sudo apt install flatpak

2.) Add the flathub repository which hosts the flatpak package:

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

Then install Shortwave flatpak package via command:

flatpak install flathub de.haeckerfelix.Shortwave

Once installed, launch the internet radio player from your system application menu and enjoy!

(Optional) To remove Shortwave, simply run command in terminal:

flatpak uninstall --delete-data de.haeckerfelix.Shortwave