summarylogtreecommitdiffstats
path: root/grub2-editor.desktop
diff options
context:
space:
mode:
Diffstat (limited to 'grub2-editor.desktop')
-rwxr-xr-xgrub2-editor.desktop2
1 files changed, 1 insertions, 1 deletions
diff --git a/grub2-editor.desktop b/grub2-editor.desktop
index fe55d0059b82..b386fbc34655 100755
--- a/grub2-editor.desktop
+++ b/grub2-editor.desktop
@@ -4,7 +4,7 @@ Icon=system-reboot
Type=Application
StartupNotify=true
Terminal=false
-Exec=pkexec grub2-editor
+Exec=pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY kcmshell5 kcm_grub2
Name=GRUB2 Bootloader
Name[zh_CN]=GRUB2 启动加载器
Name[zh_TW]=GRUB2 開機載入器