summarylogtreecommitdiffstats
path: root/org.bleachbit.BleachBit-Root.desktop
diff options
context:
space:
mode:
authorTjw123hh2024-06-09 12:22:30 +0800
committerTjw123hh2024-06-09 12:22:30 +0800
commit572a38f86b13ab1a4e011c19dc16af4c237e0fc8 (patch)
tree386898fbc2ea43b53e9605be1a17a6313dda6af0 /org.bleachbit.BleachBit-Root.desktop
parent45e71e37e7f24bbe8f3dbb02f0f6c6283decbf33 (diff)
downloadaur-572a38f86b13ab1a4e011c19dc16af4c237e0fc8.tar.gz
Update environment variables to run on both Wayland and Xorg
Diffstat (limited to 'org.bleachbit.BleachBit-Root.desktop')
-rwxr-xr-x[-rw-r--r--]org.bleachbit.BleachBit-Root.desktop3
1 files changed, 2 insertions, 1 deletions
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;