mzur / gnome-shell-wsmatrix

GNOME shell extension to arrange workspaces in a two-dimensional grid with workspace thumbnails
GNU General Public License v3.0
469 stars 60 forks source link

Testing extension without a display #186

Closed aminvakil closed 1 year ago

aminvakil commented 3 years ago

I maintain this extension in https://github.com/aminvakil/aur and wanted to try testing basic stuff before deploying it to https://aur.archlinux.org/packages/gnome-shell-extension-workspace-matrix/, so I tried executing

gnome-extensions enable wsmatrix@martin.zurowietz.de

after the package has been built and obviously I got this error:

(gnome-extensions enable:3205): dconf-WARNING **: 05:59:38.418: failed to commit changes to dconf: Cannot autolaunch D-Bus without X11 $DISPLAY

More info: https://github.com/aminvakil/aur/runs/3728812829?check_suite_focus=true#step:12:10

What do you suggest for fixing this? Or do you have any ideas testing it another efficient way?

mzur commented 3 years ago

Sorry, no idea. I had a quick look at how GNOME Shell is tested but this didn't help. Also I experimented with xvfb in a Ubuntu Docker container (apt install --no-install-recommends xvfb gnome-shell dbus-x11 and then xvfb-run gnome-shell --x11) but this disn't work either. gnome-extensions enable works then but you don't get any error message if there is an error in the extension. Maybe you can find out more.

aminvakil commented 3 years ago

No problem at all! Thanks for taking a look at this! I couldn't make it work either, if that's fine let's keep this issue open, and see if someone else had any other idea.

mzur commented 1 year ago

I'll close this since no one showed up in two years. Please let me know if you want this reopened.

aminvakil commented 1 year ago

It's ok, I'll let you know if I found something later, thanks again!