Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] www-client/firefox keeps making ~/Desktop folder
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
manwe_
l33t
l33t


Joined: 01 Feb 2006
Posts: 621
Location: Kraków/Cracow, Poland

PostPosted: Thu Aug 14, 2014 3:43 pm    Post subject: [SOLVED] www-client/firefox keeps making ~/Desktop folder Reply with quote

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
View user's profile Send private message
limn
l33t
l33t


Joined: 13 May 2005
Posts: 997

PostPosted: Thu Aug 14, 2014 5:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
tonkazoid
n00b
n00b


Joined: 14 Aug 2014
Posts: 10

PostPosted: Thu Aug 14, 2014 9:52 pm    Post subject: Reply with quote

Code:
XDG_DESKTOP_DIR="$HOME/"
works for me. Maybe it's your missing trailing slash?
Back to top
View user's profile Send private message
limn
l33t
l33t


Joined: 13 May 2005
Posts: 997

PostPosted: Thu Aug 14, 2014 10:19 pm    Post subject: Reply with quote

Interesting. So this means
Quote:
where yyy is a shell-escaped
# homedir-relative path

or nothing at all.
Back to top
View user's profile Send private message
manwe_
l33t
l33t


Joined: 01 Feb 2006
Posts: 621
Location: Kraków/Cracow, Poland

PostPosted: Sun Aug 17, 2014 11:07 am    Post subject: Reply with quote

tonkazoid wrote:
Maybe it's your missing trailing slash?


Hero and saviour! ;) Works. Thanks a lot.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum