diff options
author | Tjw123hh | 2024-06-09 12:22:30 +0800 |
---|---|---|
committer | Tjw123hh | 2024-06-09 12:22:30 +0800 |
commit | 572a38f86b13ab1a4e011c19dc16af4c237e0fc8 (patch) | |
tree | 386898fbc2ea43b53e9605be1a17a6313dda6af0 | |
parent | 45e71e37e7f24bbe8f3dbb02f0f6c6283decbf33 (diff) | |
download | aur-572a38f86b13ab1a4e011c19dc16af4c237e0fc8.tar.gz |
Update environment variables to run on both Wayland and Xorg
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 5 | ||||
-rwxr-xr-x[-rw-r--r--] | org.bleachbit.BleachBit-Root.desktop | 3 |
3 files changed, 5 insertions, 6 deletions
@@ -1,13 +1,12 @@ pkgbase = bleachbit-root pkgdesc = Run bleachbit as root for cleaning system files pkgver = 1.0.2 - pkgrel = 3 + pkgrel = 4 url = https://www.bleachbit.org/ arch = any license = GPL depends = bleachbit depends = polkit - depends = xorg-xhost conflicts = bleachbit-cli source = org.bleachbit.BleachBit-Root.desktop sha256sums = 86f8438dde194afbddcf403e4ca10cb553178f1230a840e26851230297057715 @@ -3,14 +3,13 @@ pkgname=bleachbit-root pkgver=1.0.2 -pkgrel=3 +pkgrel=4 pkgdesc="Run bleachbit as root for cleaning system files" arch=('any') url="https://www.bleachbit.org/" license=('GPL') depends=('bleachbit' - 'polkit' - 'xorg-xhost') + 'polkit') conflicts=('bleachbit-cli') # Requires desktop functions for bleachbit source=('org.bleachbit.BleachBit-Root.desktop') sha256sums=('86f8438dde194afbddcf403e4ca10cb553178f1230a840e26851230297057715') diff --git a/org.bleachbit.BleachBit-Root.desktop b/org.bleachbit.BleachBit-Root.desktop index 51814c81f4b2..c086f1198c28 100644..100755 --- a/org.bleachbit.BleachBit-Root.desktop +++ b/org.bleachbit.BleachBit-Root.desktop @@ -1,3 +1,4 @@ +#!/usr/bin/env xdg-open [Desktop Entry] Version=1.1 Type=Application @@ -121,7 +122,7 @@ GenericName[zh_CN]=无用文件清理程序 GenericName[zh_TW]=無用檔案清理器 TryExec=pkexec TryExec=bleachbit -Exec=pkexec bleachbit +Exec=pkexec env DISPLAY=$DISPLAY HOME=$HOME XAUTHORITY=$XAUTHORITY HOME=$HOME USER=$USER XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR WAYLAND_DISPLAY=$WAYLAND_DISPLAY bleachbit Icon=bleachbit Categories=System;FileTools;GTK; Keywords=cache;clean;free;performance;privacy; |