[Pkg-xfce-devel] Bug#714480: Bug#714480: Unable to start xfce if home in different locations

Carlo Contavalli ccontavalli at gmail.com
Tue Jul 2 05:06:28 UTC 2013

On Sun, Jun 30, 2013 at 1:25 PM, Yves-Alexis Perez <corsac at debian.org> wrote:
> On sam., 2013-06-29 at 12:35 -0700, Carlo Contavalli wrote:
>> This bug to track two things:
>> 1) it'd be nice to log those messages somewhere, so one can find them in the logs.
> Aren't they in .xsession-errors?

argh, missed it. Good point, thanks, was probably looking in the wrong place :).

>> 2) xfce4 should use ~/ or any other mechanism to detect the position of the home directory, rather than hard code paths.
> ~ is a shell alias, nothing you can pass to glib.

uhm .. wordexp() can expand it if needed, you could easily fetch home
with getpwent() or looking at $HOME and replace /home/myhome with ~
when storing the path, and the other way around when referring to it.

Eg, if you wanted to, you could support the use case. The question in
general is if having the same home mounted in different places or
having the ability to move the home directory without issues should be
supported, and if not, where to document it.


More information about the Pkg-xfce-devel mailing list