Re: How to cause a process started in .xsessionrc to terminate with x-session termination?

2021-11-21 Thread Arkadiusz Dabrowski
niedz., 21 lis 2021 o 20:16 Greg Wooledge napisaƂ(a): > > Damn. I was hoping I could come up with a nice, simple way for a novice > user to introduce a .xsession file and reap the benefits thereof, without > having to undergo all of the complexity of writing a full-blown .xsession > file. > > App

Re: How to cause a process started in .xsessionrc to terminate with x-session termination?

2021-11-21 Thread Arkadiusz Dabrowski
Have you considered using my suggestion? Put these two lines in .xsession: > > . /etc/X11/Xsession > pkill unison > > Keep your .xsessionrc which starts the unison program. (Or you could > move it here, later, but for now I'm simply trying to do the bare > minimum needed to achieve a working setu

Re: How to cause a process started in .xsessionrc to terminate with x-session termination?

2021-11-20 Thread Arkadiusz Dabrowski
Unfortunately, the solution with .xsession file doesn't work. I resorted to something very simplistic: exec /usr/bin/marco Note: I use mate desktop with marco wm. Started with "exec" according to Debian documentation: https://wiki.debian.org/Xsession They also use some other stuff, I'm not sure

Re: How to cause a process started in .xsessionrc to terminate with x-session termination?

2021-11-18 Thread Arkadiusz Dabrowski
Thank You all guys for help! If systemd feature is not an option I'll try a .xession solution. Looks promising.

How to cause a process started in .xsessionrc to terminate with x-session termination?

2021-11-17 Thread Arkadiusz Dabrowski
Hi all 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 the