From dad76b5d7f6be7f237754a92ad2446565fda688e Mon Sep 17 00:00:00 2001 Message-Id: From: Mark Wooding Date: Sat, 23 Feb 2019 21:03:25 +0000 Subject: [PATCH] dot/xinitrc: Tell desktoppy things that I run XFCE. Organization: Straylight/Edgeware From: Mark Wooding This isn't entirely true, but it persuades (for example) `xdg-open' to do things less stupidly. --- dot/xinitrc | 4 ++++ 1 file changed, 4 insertions(+) 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) ;; -- [mdw]