Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #242257
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: How to cause a process started in .xsessionrc to terminate with x-session termination? |
| Date | 2021-11-19 19:40 +0100 |
| Message-ID | <DlgXM-4q7-3@gated-at.bofh.it> (permalink) |
| References | <DkAOR-3KD-3@gated-at.bofh.it> <DkWml-zg-3@gated-at.bofh.it> <DkWw1-CA-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu 18 Nov 2021 at 15:46:48 -0500, Greg Wooledge wrote:
> On Thu, Nov 18, 2021 at 02:34:52PM -0600, David Wright wrote:
> > On Wed 17 Nov 2021 at 22:39:21 (+0100), Arkadiusz Dabrowski wrote:
> >
> > > I have a problem with unison sync termination when it is started from
> > > .xsessionrc.
> > > It works flawlessly but when I log out it is orphaned and not terminated.
> > > I start it like this:
> > > nice -n18 ionice -c2 -n7 unison unison_profile &>/dev/null &
> > > Once started the parent is x-session-manager and they the same process
> > > group.
> >
> > I think this is because you're starting it in the wrong file.
> > Everything in .xsessionrc should complete immediately. Use it
> > to set parameters and things like that.
>
> I think of .xsessionrc a little differently. It's the "novice mode" file,
> which you can use regardless of which x-session-manager or x-window-manager
> ultimately gets used, and without needing to take control of your whole
> session yourself.
>
> That makes it great for quickie "I just want to start xclock too" type
> things, where maintaining a whole .xsession file would be overkill.
>
> In the OP's case, though, they want something that "novice mode" can't
> handle, so there's a decent reason to move to "advanced mode".
An interesting view. I think of ~/.xsession as being the correct,
traditional and well-tested file for a user to customise an X session
begun with startx or xdm. It never fails to work for novice users.
I think of ~/.xsessionrc in terms of the what is in the changelog for
xorg:
* Add support for $HOME/.xsessionrc. Closes: #411639
This file, if present, will get sourced during the start of your
X session. This allows you to set session-wide environment variables
easily for things like locale information. Patch adapted from one by
Yves-Alexis Perez. Thanks also to Holger Levsen and Osamu Aoki for
advice.
--
Brian.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to cause a process started in .xsessionrc to terminate with x-session termination? Arkadiusz Dabrowski <ardabro@gmail.com> - 2021-11-17 22:40 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-17 23:10 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Brian <ad44@cityscape.co.uk> - 2021-11-18 00:50 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-18 14:10 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? songbird <songbird@anthive.com> - 2021-11-18 14:10 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? David Wright <deblis@lionunicorn.co.uk> - 2021-11-18 21:40 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-18 21:50 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Jonathan Dowland <jon+debian-user@dow.land> - 2021-11-18 22:30 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-18 23:00 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Arkadiusz Dabrowski <ardabro@gmail.com> - 2021-11-18 23:10 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Brian <ad44@cityscape.co.uk> - 2021-11-19 19:40 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Arkadiusz Dabrowski <ardabro@gmail.com> - 2021-11-20 21:50 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-20 22:20 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Arkadiusz Dabrowski <ardabro@gmail.com> - 2021-11-21 19:20 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-21 20:20 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Arkadiusz Dabrowski <ardabro@gmail.com> - 2021-11-21 20:50 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? David Wright <deblis@lionunicorn.co.uk> - 2021-11-22 06:50 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-22 13:40 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? David Wright <deblis@lionunicorn.co.uk> - 2021-11-22 21:50 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Musbur <musbur@posteo.org> - 2021-11-22 16:30 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-22 17:00 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-22 17:50 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Jonathan Dowland <jon+debian-user@dow.land> - 2021-11-23 13:10 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-23 14:00 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? David Wright <deblis@lionunicorn.co.uk> - 2021-11-23 16:30 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-12-10 14:40 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-12-10 15:10 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? David Wright <deblis@lionunicorn.co.uk> - 2021-11-22 21:50 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-22 22:20 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? David Wright <deblis@lionunicorn.co.uk> - 2021-11-23 16:30 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Jonathan Dowland <jon+debian-user@dow.land> - 2021-11-18 22:30 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Mark Neyhart <Mark.Neyhart@akleg.gov> - 2021-11-18 22:20 +0100
csiph-web