Index: guefi/guefi.desktop.in
===================================================================
--- guefi.orig/guefi.desktop.in
+++ guefi/guefi.desktop.in
@@ -1,7 +1,7 @@
 [Desktop Entry]
 _Name=GUEFI Boot Manager
 _Comment=A graphical frontend to efibootmgr
-Exec=gksu guefi
+Exec=/bin/sh -c 'pkexec env XAUTHORITY=$XAUTHORITY DISPLAY=$DISPLAY guefi'
 Icon=guefi
 Terminal=false
 Type=Application
