User Tools

Site Tools


linux:fedora_tips

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
linux:fedora_tips [2018/06/22 07:35]
jansen [XDG basedir standards]
linux:fedora_tips [2018/06/22 07:38]
jansen [XDG basedir standards]
Line 66: Line 66:
 You can also check, if earlier versions of Gimp left behind their directories,​ and remove them if they exist. You can also check, if earlier versions of Gimp left behind their directories,​ and remove them if they exist.
  
-===== XDG basedir standards =====+===== Cache directory ; XDG basedir standards =====
 ---- ----
 A lot of programs are using the (relatively new) freedesktop XDG basedir setup, which puts configuration files in .config, cache in .cache and various data files of the application in .local ​ A lot of programs are using the (relatively new) freedesktop XDG basedir setup, which puts configuration files in .config, cache in .cache and various data files of the application in .local ​
Line 72: Line 72:
 Now the XDG standard provides a mechanism to move those files to another location, and we suggest users move them to one of their local data disks. We also provide a script that takes care of the environment setup, but selecting a location and moving the files is something you have to do yourself. ​ Now the XDG standard provides a mechanism to move those files to another location, and we suggest users move them to one of their local data disks. We also provide a script that takes care of the environment setup, but selecting a location and moving the files is something you have to do yourself. ​
  
-A quick solution ​is, to move the cache to a data disk and link to that location:+A quick solution ​(shown here just for the cache)is to move the cache to a data disk and link to that location:
  
-  mv ~/.cache /​data1/​username/​cache +  mv ~/​.cache ​/​net/​yourcomputer/​data1/​username/​cache 
-  ln -s /​data1/​username/​cache ~/.cache+  ln -s /​net/​yourcomputer/​data1/​username/​cache ~/.cache
  
 a more complete setup works like this: a more complete setup works like this:
linux/fedora_tips.txt · Last modified: 2019/03/20 09:53 by jansen