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

Yves-Alexis Perez corsac at debian.org
Tue Jul 2 05:32:05 UTC 2013


On lun., 2013-07-01 at 22:06 -0700, Carlo Contavalli wrote:
> 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.

Sure, a lot of stuff is possible. It's also a lot of work and something
which can open a can of worms.
> 
> Eg, if you wanted to, you could support the use case. 

Actually, no, I couldn't. I'm a Debian packager, not upstream. This is
not the correct place to have a debate over upstream code, for that you
need bugzilla (http://bugzilla.xfce.org) or mailing lists
(https://mail.xfce.org/mailman/listinfo/)

> 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.

Actually you seem to be the first one in years to even try, so I'm
pretty sure it's not really something people need. Also, afaict (but
since you only gave some examples, I can't be completely sure) it
especially affects the session cache, which is definitely not something
I'd like to share on multiple boxes.

Regards,
-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20130702/4ff55908/attachment.sig>


More information about the Pkg-xfce-devel mailing list