diff --git a/basis/io/files/temp/unix/unix.factor b/basis/io/files/temp/unix/unix.factor
index 26b659b5e7..cf9df11a4b 100644
--- a/basis/io/files/temp/unix/unix.factor
+++ b/basis/io/files/temp/unix/unix.factor
@@ -1,7 +1,7 @@
 ! (c)2012 Joe Groff bsd license
-USING: io.files.temp io.pathnames system ;
+USING: io.files.temp io.pathnames system xdg ;
 IN: io.files.temp.unix
 
 M: unix default-temp-directory "/tmp/factor-temp" ;
 
-M: unix default-cache-directory home ".factor-cache" append-path ;
+M: unix default-cache-directory xdg-cache-home ".factor" append-path ;