Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Unable to launch under Gnome #165

Open
2 tasks done
stingray21 opened this issue Jan 15, 2025 · 5 comments
Open
2 tasks done

[BUG] Unable to launch under Gnome #165

stingray21 opened this issue Jan 15, 2025 · 5 comments
Labels

Comments

@stingray21
Copy link

Rofi version (rofi -v or git commit in case of build issue)

1.7.7+wayland1-dirty

Configuration

clean install, no changes

Theme

clean install, no changes

Timing report

No response

Launch command

rofi -show drun

Step to reproduce

just launching rofi in terminal

Expected behavior

launch rofi

Actual behavior

rofi does not launch

Wayland-ERROR **: 20:28:28.018: Rofi on wayland requires support for the layer shell protocol
[1]    575237 trace trap (core dumped)  rofi -show drun

Additional information

This is on Gnome 47 (wayland).
Package wayland-protocols is installed, I also tried adding wlr-protocols.

Using wayland display server protocol

  • Yes, I use rofi with wayland support

I've checked if the issue exists in the latest stable release

  • Yes, I have checked the problem exists in the latest stable version
@stingray21 stingray21 added the bug label Jan 15, 2025
@abenz1267
Copy link

abenz1267 commented Jan 22, 2025

GNOME doesn't support gtk-layer-shell. You can either ask for implementing a non-gtk-layer-shell option or use a different launcher.

@stingray21
Copy link
Author

I was afraid that is the case.
Although kinda ironic, since GTK is developed by GNOME.

Is there a chance/plan that rofi would work with GNOME in the near future? Either by GNOME supporting gtk-layer-shell, or rofi implementing a non-gtk-layer-shell option?

@abenz1267
Copy link

I don't know about the specifics here, but the problem generally is just that this rofi fork is trying to setup gtk4-layer-shell things while that's not supported by your DE/compositor/whatever. A 'simple' solution would be to check IF it's supported and if not => don't do gtk4-layer-shell things. That's what i do with Walker at least.

But i can't tell you what implications or side-effects that would have for this rofi fork.

@lbonn
Copy link
Owner

lbonn commented Jan 22, 2025

A quick clarification: this project does not use gtk or gtk-layer-shell but the layer shell wayland protocol directly: https://wayland.app/protocols/wlr-layer-shell-unstable-v1

gtk-layer-shell is also not affiliated with GNOME, I believe it is just an independent project.

But indeed the issue stays the same, GNOME does not support the wayland protocol we depend on.

@stingray21
Copy link
Author

So rofi will not work under Wayland GNOME, unless GNOME would start supporting wlr-layer-shell?
Which seems to not be happening any time soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants