On Sat, 16 Oct 2021 10:49:27 -0600, larry wrote:
>On Sat, 2021-10-16 at 09:44 +0200, Ralf Mardorf wrote:
>> On Fri, 15 Oct 2021 22:19:52 -0600, larry wrote:  
>> > On Sat, 2021-10-16 at 01:55 +0200, Andre Klapper wrote:  
>> > > You could shut it down. 
>> > > Or restart it with "evolution --offline".    
>> > Is it safe (or advisable) to shut down Evolution with a kill
>> > command?  
>
>> What is speaking against
>> $ evolution --help | grep shutdown
>>   --force-shutdown              Forcibly shut down Evolution
>> ?  
>
>Apparently, nothing. I was unaware of the option. I am relatively new
>to Linux, and while I definitely know about thngs like --help and man
>pages, I did not think to try them, as Evolution comes with its own
>help file, and I saw nothing in it to indicate forced shutdown as a
>possibility.
>
>Thanks for the tip.

Hi,

a combination of the following tools is helpful when writing
shell scripts that interact with GUI apps:

$ apropos xdotool
xdotool (1)          - command-line X11 automation tool
$ man wmctrl | grep "\-c <WIN>" -A1
       -c <WIN>
              Close the window <WIN> gracefully.

I don't know if those tools are still helpful when using Wayland, but
for a X11 based environment those are the tools I'm using. I don't use
the commands to close windows, but the man page claims, closing
windows can be done, too.

Regards,
Ralf
_______________________________________________
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list

Reply via email to