[X2Go-Dev] X2Go-TCE-MATE-Minidesktop, Contents of x2gothinclient-minidesktop Debian package
Mike Gabriel
mike.gabriel at das-netzwerkteam.de
Mon Jan 21 12:52:29 CET 2019
Hi Stefan,
On Fr 18 Jan 2019 20:57:41 CET, Stefan Baur wrote:
> Hi $LIST,
>
> dpkg -L x2gothinclient-minidesktop | grep -i ".svg$" tells me there are
> two SVG files in this package:
>
> /etc/x2go/x2gothinclient-minidesktop_background.svg
> /usr/share/backgrounds/x2go/x2gothinclient-minidesktop_background.svg
>
> And according to md5sum, they have the same hash
> (0f71c9af27b94364625047c0675c69a0), so they are identical.
>
> Is this file really needed in two locations, and why isn't one of them a
> symlink?
First, that background file discussed here is the desktop-base
background. Not X2Go Client's inner background.
The idea was (long time ago), to provide a background SVG in
/etc/x2go, symlink it to
/usr/share/backgrounds/x2go/x2gothinclient-minidesktop_background.svg
and then replace the system's default desktop-base background by
/usr/share/backgrounds/x2go/x2gothinclient-minidesktop_background.svg
(which is a symlink to a file in /etc/x2go/.
This has been a bad idea, as I reckon today. It can introduce all
sorts of breakages, if the SVG file in /etc/x2go/ is bogus.
Furthermore, the symlinking code in
debian/x2gothinclient-minidesktop.links was possibly bad, too. Not
100% sure with some more testing.
Today, I would propose another approach: install a background image to
/usr/share/backgrounds/x2go/, make it be the default desktop-base
background and remove it from /etc/x2go/ entirely.
If people want to override the default background image, they need to
use update-alternatives and fiddle with desktop-base themselves.
Before I start working on a patch, let me know what you think.
Mike
--
DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139
GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: Digitale PGP-Signatur
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20190121/f76662ce/attachment.sig>
More information about the x2go-dev
mailing list