I am using Manjaro KDE and the only way to install the Invoiceninja app (or recommended) is via snap:
software[.]manjaro[.]org/snap/invoiceninja
I am on KDE, 5.15 kernel.
Snapd is active:
sudo systemctl status snapd
● snapd.service - Snap Daemon
Loaded: loaded (/usr/lib/systemd/system/snapd.service; enabled; preset: di>
Active: active (running) since Sun 2022-10-30 14:08:35 SAST; 19min ago
TriggeredBy: ● snapd.socket
Main PID: 564 (snapd)
Tasks: 18 (limit: 18481)
Memory: 33.4M
CPU: 528ms
CGroup: /system.slice/snapd.service
└─564 /usr/lib/snapd/snapd
And trying to start Invoiceninja from the commandline:
invoiceninja
Gtk-Message: 14:32:30.938: Failed to load module "xapp-gtk3-module"
(invoiceninja:4292): Gtk-WARNING **: 14:32:30.953: Theme parsing error: gtk.css:3536:25: 'font-feature-settings' is not a valid property name
Gtk-Message: 14:32:30.968: Failed to load module "colorreload-gtk-module"
Gtk-Message: 14:32:30.968: Failed to load module "window-decorations-gtk-module"
** (invoiceninja:4292): CRITICAL **: 14:32:31.060: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: Requested setting not found
** (invoiceninja:4292): CRITICAL **: 14:32:31.062: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: Requested setting not found
** (invoiceninja:4292): CRITICAL **: 14:32:31.063: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: Requested setting not found
** (invoiceninja:4292): CRITICAL **: 14:32:31.064: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: Requested setting not found
** (invoiceninja:4292): CRITICAL **: 14:32:31.065: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: Requested setting not found
(invoiceninja:4292): Gdk-ERROR **: 14:32:31.066: The program 'invoiceninja' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc'.
(Details: serial 257 error_code 11 request_code 149 (unknown) minor_code 2)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
zsh: trace trap (core dumped) invoiceninja
Do I need to install xapp
?
I thought snaps just worked out of the box and didn’t require host packages.