I need to run old version of application in chroot
(or container) and allow DBus interaction with host system. I can't install this application on host system because of serious dependency problems.
Full details about applications:
- application to be containerized is GNOME Evolution version 3.2.3 (from Ubuntu 12.04 LTS)
- the host system is Ubuntu MATE 16.04 LTS, it will run back-ported
indicator-datetime-gtk2
, which communicates with containerized Evolution through D-BUS.
I hope that it is technically possible with schroot
's bind mounts or LXC/LXD.
How should I set up such configuration?
Check out the following guide on how to
See guide from https://blog.simos.info/how-to-easily-run-graphics-accelerated-gui-apps-in-lxd-containers-on-your-ubuntu-desktop/ .
The guide has an example on running some old Tcl/Tk utility in a Ubuntu 12.04 system container.
There is an
indicator-datetime
version for 16.04 which may work for you. Development seems to have stalled working on the 16.10 version however it may work for you under 18.04.Difficulties using
indicator-datetime-gtk2
(from Ubuntu 12.04 LTS) on Ubuntu MATE 16.04 LTS with GNOME EvolutionThe MATE DE 1.12.1 uses GTK2 on Ubuntu 16.04 LTS, so the
indicator-datetime-gtk2
itself may be ported from Ubuntu 12.04 LTS and shown inmate-indicator-applet
, but the integration with modern GNOME Evolution will not work because of seriously changed API.The usual GTK3-based
indicator-datetime
or its UBports' fork will not integrate to GTK2-basedmate-indicator-applet
.The DBUS LXC/LXD solution seems to be not applicable to current problem. There is something wrong with bus-addressing or service naming.
The solution for Ubuntu MATE 16.04 LTS
I found only one hacky solution for Ubuntu 16.04 LTS MATE - to install Xfce4 panel and add
indicator-datetime
applet to it with:along with runnable MATE panels.
And configure the added Xfce4 panel with the below options:
To have
xfce4-panel
shown on each boot I have added it to startup applications:and optionally set
indicator-datetime
to 24-hours format with:which gives nice looking auto-hiding syncable calendar indicator: