Tilix: Flatpack Install fails to lauch from gnome shell (application menu)

Created on 8 Nov 2018  路  9Comments  路  Source: gnunn1/tilix

Nov 07 22:40:13 HOSTNAME dbus-daemon[1441]: [session uid=1000 pid=1441] Activating service name='com.gexperts.Tilix' requested by ':1.8' (uid=1000 pid=1544 comm="/usr/bin/gnome-shell " label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023")
Nov 07 22:40:13 HOSTNAME systemd[1419]: Started flatpak-com.gexperts.Tilix-3440.scope.
Nov 07 22:40:14 HOSTNAME com.gexperts.Tilix[1441]: bwrap: execvp /usr/bin/tilix: No such file or directory
Nov 07 22:40:14 HOSTNAME dbus-daemon[1441]: [session uid=1000 pid=1441] Activated service 'com.gexperts.Tilix' failed: Process com.gexperts.Tilix exited with status 1

This issue seems to be caused by how gnome is starting or trying to start tilix, from /var/lib/flatpak/app/com.gexperts.Tilix/x86_64/master/active/files/share/dbus-1/services/com.gexperts.Tilix.service however I have not been able to get this behavior to change, but editing this file.

I am able to start the flatpack using the cli, flatpak run com.gexperts.Tilix, but I can't start it using gnome.

$ gnome-shell --version
GNOME Shell 3.30.1
$ flatpak --version
Flatpak 1.0.4

bug

All 9 comments

@kirbyfan64 can you have a look at this (as the contributor to the original source). It should probably be said that I am seeing this issue on Silverblue but IDK if that maters.

cc: @alex285 based on the initial commit you did not seem to have this issue have you updated or had any issues like this lately?

Do you have normal Tilix installed as well? I recall this happening at one point when both the rpm and flatpak were installed, so I had assumed it was a GNOME issue, but I haven't tested in a while.

I do not.
With Silverblue you have to mess with the rpmos-tree to get packages installed (I'm trying to avoid that).

The issue is with export/share/dbus-1/services/com.gexperts.Tilix.service

D-BUS Service]
Name=com.gexperts.Tilix
Exec=/usr/bin/flatpak run --branch=master --arch=x86_64 --command=/usr/bin/tilix com.gexperts.Tilix --gapplication-service~

This should just be --command=tilix

I just build from master ~5 days ago (this is still an issue).
Or the build istructions are not having you build correctly (as @bindir@ is still getting set to /usr/bin/

Hmm, I'll try to take a look at this later.

Temporary fix until a fix comes:
In the flatpak-builder directory, go to exports/share/dbus-1/com.gexperts.Tilix.service and change /usr/bin/tilix to tilix manually
And rebuild with --force-clean

The issue is that the Flatpak manifest still uses autotools, this issue was fixed with meson only. We should update the manifest to use the meson buildsystem instead.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iax7 picture iax7  路  4Comments

sliddjur picture sliddjur  路  3Comments

pkkid picture pkkid  路  3Comments

gregflynn picture gregflynn  路  4Comments

zsrinivas picture zsrinivas  路  4Comments