crash with error "rhs is undefined"
I just installed sushi on Ubuntu 19.04 with sudo apt install gnome-sushi
It does not work at all, even after stopping nautilus with nautilus -q
and restarting.
If I launch sushi from command line, I get this:
sushi 87941.jpg
(sushi:12784): Gjs-WARNING **: 10:06:53.192: JS ERROR: Gio.IOErrorEnum: GDBus.Error:org.gnome.gjs.JSError.TypeError: rhs is undefined
_proxyInvoker@resource:///org/gnome/gjs/modules/overrides/Gio.js:139:41
_makeProxyMethod/<@resource:///org/gnome/gjs/modules/overrides/Gio.js:164:16
@/usr/bin/sushi:54:1
Script /usr/bin/sushi threw an exception
In the repo, I found "rhs" here https://gitlab.gnome.org/GNOME/sushi/-/blob/master/src/ui/mainWindow.js
let settings = Gtk.Settings.get_default();
let decorationLayout = settings.gtk_decoration_layout;
let [lhs, rhs] = decorationLayout.split(':');
...
let rightGroup = rhs.split(',').filter(_isSupported);
so maybe the problem comes from there.