Permalink
Browse files

Update sudoers to keep some extra env vars for xdg-open to be happy

  • Loading branch information...
kmoore134 committed Sep 12, 2013
1 parent 6b017ea commit 1d6186b3f09f0bbbd996af3d42902bda93f9ee49
Showing with 3 additions and 0 deletions.
  1. +3 −0 src-sh/pc-extractoverlay/ports-overlay/usr/local/etc/sudoers
@@ -50,6 +50,9 @@
## configuration files and this may lead to privilege escalation!
Defaults env_keep += "HOME DESKTOP_SESSION KDE_SESSION_UID"
##
+## ENV to keep so xdg-open works
+Defaults env_keep += "KDE_FULL_SESSION GNOME_DESKTOP_SESSION_ID DESKTOP_SESSION"
+##
## X11 resource path settings
Defaults env_keep += "XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH"
##

0 comments on commit 1d6186b

Please sign in to comment.