After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 728604 - Document how to force Evolution online
Document how to force Evolution online
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: User Documentation
3.12.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-user-docs
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2014-04-20 12:25 UTC by Matthew Barnes
Modified: 2015-02-15 22:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthew Barnes 2014-04-20 12:25:46 UTC
I picked up this handy trick recently while examining the GIO source code.

Despite the advanced network awareness in Evolution and E-D-S now, we still get complaints from people who connect to their ISP or to a VPN with various obscure command-line tools which for some reason doesn't work with the Netlink-based socket [1] used by GIO on Linux for network monitoring.

I found out you can override the default network monitoring module to force GIO to use a dumb fallback module which thinks it's online always.  I think this is used by default on other UNIX-like systems with no Netlink interface.

  GIO_USE_NETWORK_MONITOR=base evolution

Of course that command only overrides network monitoring for mail accounts.  For calendars and address books you'd have to start the factory services that way:

  GIO_USE_NETWORK_MONITOR=base /usr/libexec/evolution-calendar-factory

  GIO_USE_NETWORK_MONITOR=base /usr/libexec/evolution-addressbook-factory

I thought at least the mail part might be useful to mention here:

  https://help.gnome.org/users/evolution/stable/offline.html.en


[1] http://tools.ietf.org/html/rfc3549
Comment 1 Paul Menzel 2014-04-25 20:38:13 UTC
Nice. Thanks for sharing.