From: Mark Wooding Date: Sat, 23 Feb 2019 21:03:25 +0000 (+0000) Subject: dot/xinitrc: Tell desktoppy things that I run XFCE. X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/dad76b5d7f6be7f237754a92ad2446565fda688e dot/xinitrc: Tell desktoppy things that I run XFCE. This isn't entirely true, but it persuades (for example) `xdg-open' to do things less stupidly. --- diff --git a/dot/xinitrc b/dot/xinitrc index 76df3f2..cdb09ce 100755 --- a/dot/xinitrc +++ b/dot/xinitrc @@ -110,6 +110,10 @@ fi ## Assume X sessions are secure. export __mdw_sechost="$(hostname)" +## Tell things that XFCE is in charge. This is the most desktoppy thing that +## I run, so it's not entirely wrong. +: ${XDG_CURRENT_DESKTOP=XFCE}; export XDG_CURRENT_DESKTOP + ## Obtain the screen dimensions. case ",$XWIDTH,$XHEIGHT," in *,,*) eval $(xscsize -bx; xscsize -bmx) ;;