Re: [LAU] Session managers

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: linux-audio-user <linux-audio-user@...>
Date: Friday, July 26, 2013 - 11:52 am

On Fri, 2013-07-26 at 13:32 +0200, hermann meyer wrote:

Thank you Hermann,

that was the thought I had.

With good luck the HOME variable might do the job.

HOME=/path/to/session/directory application

but the thread on the Arch Linux mailing list already showed, that the
only way seems to be to write a function call that will replace the
getpwuid() calls by LD_PRELOAD.
If a session manager would do this, I suspect issues for applications
that always should use the original home directory, it at least would
cause a race condition.

Btw. I'm not willing to relearn C at the moment and so I'm unable to use
LD_PRELOAD, so I still need to search the config and than copy and
restore it, when switching between sessions.


Linux-audio-user mailing list

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] Session managers, Ralf Mardorf, (Fri Jul 26, 10:33 am)
Re: [LAU] Session managers, hermann meyer, (Fri Jul 26, 11:32 am)
Re: [LAU] Session managers, Ralf Mardorf, (Fri Jul 26, 11:52 am)