Package Details: gui.for.singbox 1.25.4-1

Git Clone URL: https://aur.archlinux.org/gui.for.singbox.git (read-only, click to copy)
Package Base: gui.for.singbox
Description: GUI.for.SingBox A GUI program developed by vue3 + wails.
Upstream URL: https://github.com/GUI-for-Cores/GUI.for.SingBox
Licenses: GPL-3.0-or-later
Conflicts: gui-for-singbox, gui.for.singbox
Provides: gui-for-singbox, gui.for.singbox
Submitter: taotieren
Maintainer: taotieren
Last Packager: taotieren
Votes: 0
Popularity: 0.000000
First Submitted: 2026-04-28 12:16 (UTC)
Last Updated: 2026-06-29 18:03 (UTC)

Latest Comments

PriN1yEm commented on 2026-06-16 15:40 (UTC) (edited on 2026-06-16 15:41 (UTC) by PriN1yEm)

Hi, thanks for the great project! I recently installed gui.for.singbox from the AUR on Arch Linux (CachyOS) and encountered a few minor issues related to permissions and packaging. I'm reporting them here so they can be fixed in future updates.

Environment:

OS: CachyOS

Installation method: AUR (paru -S gui.for.singbox)

Version: 1.25.1-1

Issue 1: Typo in tmpfiles.d configuration During the post-installation phase, systemd-tmpfiles throws an error:

/usr/lib/tmpfiles.d/gui.for.singbox.conf:6: Failed to resolve user 'guiforclash': Unknown user

It seems lines 6 and 7 in gui.for.singbox.tmpfiles still use the guiforclash user group instead of guiforsingbox.

Issue 2: Incorrect setcap target in the quick start guide The post-transaction output suggests running:

setcap cap_net_admin=+pe /var/lib/gui.for.singbox/data/sing-box/sing-box

However, this fails with Invalid file ... for capability operation because that file is actually a symlink pointing to the globally installed /usr/bin/sing-box. The instruction should be updated to point to the actual binary:

sudo setcap cap_net_admin=+pe /usr/bin/sing-box

Issue 3: Repeated Polkit password prompts for systemd-resolved When enabling or disabling Tun mode, the app prompts for the root password 4 times (set-domains, set-default-route, set-dns-servers, and revert). To improve the user experience, it would be great if the package could install a default Polkit rule (e.g., in /etc/polkit-1/rules.d/99-guiforsingbox-dns.rules) to allow users in the guiforsingbox group to manage these silently:

polkit.addRule(function(action, subject) {
    if ((action.id == "org.freedesktop.resolve1.set-dns-servers" ||
         action.id == "org.freedesktop.resolve1.set-domains" ||
         action.id == "org.freedesktop.resolve1.set-default-route" ||
         action.id == "org.freedesktop.resolve1.revert") &&
        subject.isInGroup("guiforsingbox")) {
        return polkit.Result.YES;
    }
});

Thanks again for your hard work on this amazing GUI!