Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Error when using a non-start disk for location of personal files. #1389
I have two disks in my laptop, a small SSD for the operating system and programs and a large HDD for my files. Both have been added to /etc/fstab to show up on boot. When I tried to add my actual pictures, documents... folders from my HDD, I got an error. I don't know why, maybe it has to do with the names of these folders? I use spaces, numbers and non-ASCII characters in the folder names. Could that be the source of the problem?
Just to make it clear: From the picture, it looks like I am using folders in my /home/einar/ folder, but I am not. The names of the folders changed back to the defaults as the error came up. The folders I tried to set was on another disk mounted at boot to /run/media/einar/Magnus_Super/ and they open up fine in PCManFM. I am not using the HDD for my ~, but I am using folders on it to store my files.
I should be able to set these folders to any folder mounted on my system.
I get the error only when trying to set folders on my HDD as the personal files folder.
Steps to Reproduce (for bugs)
Open LXQt session settings, change folders to folders on another disk.
The bug report referenced by tsimonq2 is mine, and the bug still exists post-release of Lubuntu 18.10.
I also attempted to change my user directories with the session-settings->user directories app, and
[Since this did not work, I went back to my usual manual change of user-dirs.dirs, followed by log out/in.
I also note that each time the browse icon is clicked for a directory, it forces one to start at /home/ .
Ok, we should close this now - @tsujan, do you agree? - Maybe there should be a follow up bug to make the messages more verbose.
IMHO Folders outside the $HOME should not be considered as valid settings for xdg user dirs. - Maybe i'm wrong, one should check the spec about.
Nov 2, 2018
We require that dirs should be inside home: https://github.com/lxqt/libqtxdg/blob/7d7e6e7a898529feb1293ceb9c4a3c6be083fac4/src/qtxdg/xdgdirs.cpp#L182 . So, the error message is expected. Whether this condition can be loosened is another question but one can guess that it may not be safe.
Oh, my bad: we don't know what has happened because there are 3 cases of
Of course, the code can be changed so that messages are more specific but I'm not sure it's worth the effort for such rare cases.
NOTE: GitHub got confused AGAIN! This is alarming.
But why? I can't think of a good reason why this is the way it is.
If you're going to quote me, quote me correctly.
I said that installing LXQt on an 18.04 system and LXDE on 18.10 isn't supported; I said nothing about 18.04 -> 18.10 upgrades, that's what our documentation is for.
I'll do some testing in Lubuntu with removing that conditional. If it breaks nothing (which it won't
I guess people weren't understanding the rationale of what I was doing...
When I set up my computer (lo, those many years ago...), I read something about how to set up my partitioning.
What I read was, that even if I keep my personal data in a separate partition, it is still a good idea to have $HOME in the OS's install partition, because any installed app will put its config folders in $HOME, and from one distro version to the next, the config data may change. If $HOME resides with my personal data in a separate partition, then each install will wipe out and replace the app config data, so that if I try to go back and use a previous distro version, the apps may not work correctly, as they are now trying to run with later config data. (And unless I rename all my personal folders to something other than the standard names, I suppose they would get erased, too...)
So, saying that my personal data MUST be in $HOME does not make logical sense (to me, at least...):
@scott092707 - you might be surprised, i understand the rationale very well, i use this setup with minor variations since eight years and wrote endless rants about. To make it short: It seems to me that you missed some points about *nix filesystems and the used tree structure. Nothing important, but worth to think about it. Otherwise: Congratulations for a fine setup, right now my laptop and my workstation with some installations are built that way (approx 12 different installations, arch, debian, siduction, lubuntu, freebsd included)
Right now i have a small 500G SSD called
Voila, my files are in my $HOME, done - as i wrote above, linking would work too.