chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b617a6a
)
dot/xinitrc: Tell desktoppy things that I run XFCE.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 23 Feb 2019 21:03:25 +0000
(21:03 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 23 Feb 2019 21:05:50 +0000
(21:05 +0000)
This isn't entirely true, but it persuades (for example) `xdg-open' to
do things less stupidly.
dot/xinitrc
patch
|
blob
|
blame
|
history
diff --git
a/dot/xinitrc
b/dot/xinitrc
index 76df3f28ee21d009e388e2e4b4a23ef8f34f94bc..cdb09ce167b17f626c0cc5357d423eacd795103e 100755
(executable)
--- 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) ;;