[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#695140: Xsession: please wrap around $STARTUP to allow launching other processes



Control: tag -1 wontfix

On Tue, Dec  4, 2012 at 16:19:21 +0100, Tanguy Ortolo wrote:

> Package: x11-common
> Severity: wishlist
> 
> Hello,
> 
> With its current design, Xsession builds a long $STARTUP command line in
> the different scripts present in /etc/X11/Xsession.d/, and finally runs
> it from /etc/X11/Xsession.d/99x11-common_start.
> 
> This is appropriate for agents such as ssh-agent or gpg-agent, that are
> used in a mode where they act as wrappers around the command they are
> given as argument, for instance:
>     gpg-agent --daemon dbus-launch --exit-with-session ~/.xsession
> 
> This design, however, can cause problems with programs that are not
> designed with such a wrapper mode. For instance, to launch xbindkeys or
> xmodmap from Xsession, we have to do:
>     xmodmap &
>     xbindkeys &
>     gpg-agent --daemon dbus-launch --exit-with-session ~/.xsession
> 
> As indicated in bug #659406, this is problematic for xbindkeys, which is
> meant to launch commands: when launched this way, it does not have the
> environment variables that would be set by the different agents, and
> thus the commands it launches inherit from a reduced environment.
> 
> I think it would be more flexible to

That might be true, but considering I already have trouble following the
current logic I'm not inclined to make it even more complicated.

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


Reply to: