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

GNOME 40+ support #140

Open
yochananmarqos opened this issue Mar 27, 2021 · 11 comments
Open

GNOME 40+ support #140

yochananmarqos opened this issue Mar 27, 2021 · 11 comments
Assignees

Comments

@yochananmarqos
Copy link

The extension cannot be enabled after updating:

Error: Requiring Vte, version none: Requiring namespace 'Gtk' version '3.0', but '4.0' is already loaded

Stack trace:
  @/usr/share/gnome-shell/extensions/[email protected]/prefs.js:4:54
  _init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:206:33
  OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
  asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132:22
  run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
  main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
  run@resource:///org/gnome/gjs/modules/script/package.js:222:19
  start@resource:///org/gnome/gjs/modules/script/package.js:206:8
  @/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17
cd /usr/share/gnome-shell/extensions/[email protected]/node_scripts
DEBUG=bridge,chromecast* node server

Output:
NONE

vte3 0.64.0-1
gtk3 3.24.27-4
gtk4 1:4.0.3+61+gcb05be0aa5-1
gnome-shell 1:40.0-1
nodejs 15.12.0-1
Manjaro GNOME (unstable branch)

@Rafostar
Copy link
Owner

Extension preferences need to be ported to GTK4. The top bar remote button and menu will probably also be broken since GNOME 40 did a total UI overhaul.

@Rafostar
Copy link
Owner

Also would be nice if vte ported first, so I won't have to remove installing Node modules inside extension preferences window:
https://gitlab.gnome.org/GNOME/vte/-/issues/12

@RedCommand
Copy link

any update ?

@Rafostar
Copy link
Owner

Rafostar commented Sep 8, 2021

any update ?

As mentioned earlier, until all dependencies used here (including vte) are ported to GTK4, the project is on hold.

@Rafostar Rafostar changed the title GNOME 40 support GNOME 40+ support Nov 26, 2021
@rmeissn
Copy link

rmeissn commented Dec 6, 2021

I noticed that there is no alternative solution to this gnome-shell-extension available for linux based systems, which was kind of surprising to me.
The following might be an idea to support different gnome versions (and non gnome systems) at the same time:

  1. Contribution of a Google Cast protocol part to Gnome Network Displays
  2. Implementation of a similar app as in 1., focusing on Google Cast (and maybe others, like Apple AirPlay)

Either option would enable to separate from a gnome-shell specific implementation, which seems to cause a lot of trouble. The envisioned app might use:

  • pulseaudio and/or pipewire to provide a system wide audio sink
  • The default screen sharing system of the WM - Wayland and XOrg shoud both provide a stable interface
  • file system access and ffmpeg/gstreamer to stream local files (which might be dragged and dropped to the app)

@GoranTopic
Copy link

Can't we just downgrade our gnome version?

@CaptainMorgan12
Copy link

Same issue here as previously mentioned:

`Error: Requiring Vte, version none: Requiring namespace 'Gtk' version '3.0', but '4.0' is already loaded

Stack trace:
@/home/amiga/.local/share/gnome-shell/extensions/[email protected]/prefs.js:4:54
_init@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:23:33
ExtensionPrefsDialog@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:10:4
OpenExtensionPrefsAsync@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:124:33
async*_handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:368:35
_wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:401:34
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:186:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:22:13
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
start@resource:///org/gnome/gjs/modules/script/package.js:190:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17`

@dleonard0
Copy link

FWIW, vte-0.72.1 seems to contain gtk4 support

$ cd vte-0.72.1
$ meson  -Dgtk4=true -Dgtk3=false _build
$ ninja -C _build
$ _build/src/app/vte-2.91-gtk4

@monteirotorres
Copy link

Up

@fmehdad97
Copy link

@Rafostar Any chance you will consider updating this?

@teohhanhui
Copy link

Just use GNOME Network Displays.

https://flathub.org/apps/org.gnome.NetworkDisplays

https://www.omgubuntu.co.uk/2024/02/gnome-network-displays-adds-support-for-mice-chromecast

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

No branches or pull requests

10 participants