Re: [Evolution] Evolution not listening to quit
- From: Andre Klapper <ak-47 gmx net>
- To: evolution-list gnome org
- Subject: Re: [Evolution] Evolution not listening to quit
- Date: Sun, 02 Jun 2019 12:10:08 +0200
On Sun, 2019-06-02 at 09:14 +0100, Michelle via evolution-list wrote:
Upgraded my version of Mint, which has...
Evolution 3.28.5-0ubuntu0.18.04.1
Prior to upgrading Linux Mint, my evolution backup script contained
the
following...
#!/bin/sh
export DISPLAY=:0.0
rm /mnt/tank/users/michelle/backup/mail/5.tar.gz
mv /mnt/tank/users/michelle/backup/mail/4.tar.gz
/mnt/tank/users/michelle/backup/mail/5.tar.gz
mv /mnt/tank/users/michelle/backup/mail/3.tar.gz
/mnt/tank/users/michelle/backup/mail/4.tar.gz
mv /mnt/tank/users/michelle/backup/mail/2.tar.gz
/mnt/tank/users/michelle/backup/mail/3.tar.gz
mv /mnt/tank/users/michelle/backup/mail/1.tar.gz
/mnt/tank/users/michelle/backup/mail/2.tar.gz
sleep 5
cd ~
/usr/lib/evolution/evolution-backup --restart --backup
/mnt/tank/users/michelle/backup/mail/1.tar.gz
It is set to run three times a week and needed the export command to
get the shutdown to occur.
However, on those occasions I am now waking up after the overnight
backup, to find two copies of Evolution running. With or without the
display export.
The results form the script are as follows...
michelle@main-desktop:~$ ./evo-backup.sh
evolution-backup-Message: 09:05:55.487: evolution --quit
evolution-backup-Message: 09:05:55.886: rm
/home/michelle/.local/share/evolution/.running
rm: cannot remove '/home/michelle/.local/share/evolution/.running':
No
such file or directory
evolution-backup-Message: 09:05:55.888: dconf dump
/org/gnome/evolution-data-server/
/home/michelle/.local/share/evolution/backup-restore-dconf-eds.ini
evolution-backup-Message: 09:05:55.892: dconf dump
/org/gnome/evolution/ >/home/michelle/.local/share/evolution/backup-
restore-dconf-evo.ini
evolution-backup-Message: 09:05:55.908: cd /home/michelle && tar chf
-
.local/share/evolution .config/evolution evolution.dir | gzip >
'/mnt/tank/users/michelle/backup/mail/1.tar.gz'
tar: .local/share/evolution: file changed as we read it
evolution-backup-Message: 09:08:07.003: rm
/home/michelle/evolution.dir
So evolution-backup is reporting the "quit" to evolution, but it
doesn't appear to be listening. Also, there never appears to be a
.running file in .local so I'm not sure what's happening.
I've tried dropping to a command prompt and just issuing...
evolution --quit
... but it doesn't respond and stays running.
Any advice please?
Might turn out not to be related here, but in the recent past, random
distributions have disabled behavior to quit applications by shipping
custom patches to their users. One example I'm aware of in Ubuntu is
https://git.launchpad.net/~ubuntu-desktop/ubuntu/+source/rhythmbox/tree/debian/patches/05_hide_on_quit.patch
So if turns out that Ubuntu or Mint break your scripts, you may want to
ask in an Ubuntu or Mint forum.
"evolution --quit" works without problems here with 3.32.2 on Fedora.
andre
--
Andre Klapper | ak-47 gmx net
https://blogs.gnome.org/aklapper/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]