View previous topic :: View next topic |
Author |
Message |
manwe_ l33t
Joined: 01 Feb 2006 Posts: 632 Location: Kraków/Cracow, Poland
|
Posted: Thu Aug 14, 2014 3:43 pm Post subject: [SOLVED] www-client/firefox keeps making ~/Desktop folder |
|
|
Hi *.
For at least few months, maybe even a year, each and every time I launch firefox it creates empty ~/Desktop folder. I've tried many things but still didn't help.
Code: | $ grep -E '^XDG' ~/.config/user-dirs.dirs
XDG_DESKTOP_DIR="$HOME"
XDG_PICTURES_DIR="$HOME"
XDG_VIDEOS_DIR="$HOME"
XDG_DOWNLOAD_DIR="$HOME"
XDG_TEMPLATES_DIR="$HOME"
XDG_PUBLICSHARE_DIR="$HOME"
XDG_DOCUMENTS_DIR="$HOME"
XDG_MUSIC_DIR="$HOME/.config/spotify" |
In browser's preferences ~ is selected as destination for all downloads, about:config doesn't return anything special for "desktop" phrase. Any ideas? I'm sick and tired of this.
Last edited by manwe_ on Sun Aug 17, 2014 11:07 am; edited 1 time in total |
|
Back to top |
|
|
limn l33t
Joined: 13 May 2005 Posts: 997
|
Posted: Thu Aug 14, 2014 5:43 pm Post subject: |
|
|
From the header of that file:
Quote: | # Format is XDG_xxx_DIR="$HOME/yyy" |
You did not supply a "yyy" so your change is ignored and the default is used. You need to use
Quote: | XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported. |
E.g.
XDG_DESKTOP_DIR="/home/limn"
I dislike these directories. I change them also. |
|
Back to top |
|
|
tonkazoid n00b
Joined: 14 Aug 2014 Posts: 10
|
Posted: Thu Aug 14, 2014 9:52 pm Post subject: |
|
|
Code: | XDG_DESKTOP_DIR="$HOME/" | works for me. Maybe it's your missing trailing slash? |
|
Back to top |
|
|
limn l33t
Joined: 13 May 2005 Posts: 997
|
Posted: Thu Aug 14, 2014 10:19 pm Post subject: |
|
|
Interesting. So this means
Quote: | where yyy is a shell-escaped
# homedir-relative path |
or nothing at all. |
|
Back to top |
|
|
manwe_ l33t
Joined: 01 Feb 2006 Posts: 632 Location: Kraków/Cracow, Poland
|
Posted: Sun Aug 17, 2014 11:07 am Post subject: |
|
|
tonkazoid wrote: | Maybe it's your missing trailing slash? |
Hero and saviour! Works. Thanks a lot. |
|
Back to top |
|
|
|