From 49ea4ed03ae11b566d98fa9de231157b568cd4bc Mon Sep 17 00:00:00 2001 From: Robin Candau Date: Sat, 18 May 2024 18:54:05 +0200 Subject: [PATCH] Add the method to force `arch-update` to run in a specific terminal emulator via the desktop file to the documentation (as a workaround for people using a terminal emulator not supported by `gio` for whom clicking on the systray applet icon does nothing) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR aims to add the method required to force `arch-update` to run in a specific terminal emulator via the desktop file to the documentation. This is to document this as workaround for people using a terminal emulator not [known/supported](https://gitlab.gnome.org/GNOME/glib/-/blob/main/gio/gdesktopappinfo.c#L2694) by `gio` (for whom cliking on the systray applet icon does nothing and reports the following error: `gio: Unable to launch application ‘/usr/share/applications/arch-update.desktop’: Unable to find terminal required for application`). It also includes some alternatives, such as creating a symlink pointing to `/usr/bin/xterm` for the desired terminal emulator, or simply installing a supported terminal emulator. Fixes https://github.com/Antiz96/arch-update/issues/162 --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index a94a420..fd6a8df 100644 --- a/README.md +++ b/README.md @@ -96,6 +96,9 @@ The systray applet attempts to read the `arch-update.desktop` file at the below In case you want/need to customize the `arch-update.desktop` file, copy it in a path that has a higher priority than the default installation path and modify it there (to ensure that your custom `arch-update.desktop` file supersedes the default one and that your modifications are not being overwritten on updates). +This can be useful to force the `arch-update.desktop` file to launch `Arch-Update` within a specific terminal emulator for instance. +**If clicking the systray applet does nothing for you**, please read [this chapter](#force-the desktop-file-to-run-with-a-specific-terminal-emulator). + ### The systemd timer There is a systemd service (in `/usr/lib/systemd/user/arch-update.service` or in `/usr/local/lib/systemd/user/arch-update.service` if you installed `Arch-Update` [from source](#from-source)) that executes the `check` function when started (see the [Documentation](#documentation) chapter). @@ -237,6 +240,21 @@ See