On 1/31/22 17:17, Chris Green wrote:

It's currently being started by a .desktop file in
~/.config/autostart, the standard way created by an entry in 'Session
and Startup'.  It's just a bash shell script.


You are probably going to have to start it with systemd.

I don't think that helps does it, systemd doesn't have the ability to
start a program when an X session is started, nor can it stop a
program when X exits.


It's really easy to start a program with systemd once the desktop is up but I cannot for the life of me figure out a way to stop one.

GUI programs stop when you exit the desktop. I've got one idea I'm going to try tomorrow and that is wrapping the script in a Java program that opens a window. If it kills the VM it should kill the script running in it as well.

--

Knute Johnson

--
xubuntu-users mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/xubuntu-users

Reply via email to