Lubuntu doesn't respect user-dirs.dirs

Bug #1031463 reported by Liam Condron-Farnos
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
PCManFM
New
Undecided
Unassigned

Bug Description

I wanted my $HOME to function as my Desktop. TO do this, normally, I would edit '$HOME/.config/user-dirs.dirs', in this case to change the line

XDG_DESKTOP_DIR="$HOME/Desktop"
to
XDG_DESKTOP_DIR="$HOME/"

This works on other versions of Ubuntu; but on Lubuntu 12.04 (freshly installed, no non-default software) nothing shows up on the desktop (I should see Music, Videos, etc) - even after a reboot of the system.

(I know this isn't a Lubuntu Software Centre bug, but I can't figure out how to file against anything more apprpriate, sorry)

Revision history for this message
Stephen Smally (stephen-smally) wrote :

Seems a file manager problem, changed.

affects: lubuntu-software-center → pcmanfm
Revision history for this message
Lars Noodén (larsnooden) wrote :

When setting XDG_DESKTOP_DIR="$HOME/", there is the error 'The specified directory is not valid' when LXDE starts up. So it does not even accept $HOME or $HOME/ as a valid value.

Revision history for this message
Jonathan Marsden (jmarsden) wrote :

Quick potential workaround:

    ln -s $HOME $HOME/desktop-symlink

should create a symlink named desktop-symlink under $HOME that points to $HOME

Now edit ~/.config/user-dirs.dirs to point to $HOME/desktop-symlink and maybe it will work?

Apologies for posting this without testing it, I'm at work :)

Revision history for this message
Liam Condron-Farnos (23liam) wrote :

That's the workaround I've been using - well, actually I deleted the 'Desktop' folder and replaced it with a symbolic link, but that's functionally the same. However, that leads to some ugly recursion, and I can't shake the feeling that it could cause actual problems.

I guess I could always just put symlinks in ~/Desktop pointing to ~/Documents ~/Music etc, thus avoiding the recursion, hmm...

Revision history for this message
Christopher Forster (christopherforster) wrote :

Also affects Ubuntu 13.10 (Saucy Salamander). I'm using the LXDE Desktop Environment installed on top of Ubuntu. I get the following message: "The specified directory is not valid" as mentioned @Lars Noodén (larsnooden) comment #2.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.