gnome-shell-extension-cast-to-tv
gnome-shell-extension-cast-to-tv copied to clipboard
GNOME 40+ support
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)
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.
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
any update ?
any update ?
As mentioned earlier, until all dependencies used here (including vte
) are ported to GTK4, the project is on hold.
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:
- Contribution of a Google Cast protocol part to Gnome Network Displays
- 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)
Can't we just downgrade our gnome version?
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`
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
Up
@Rafostar Any chance you will consider updating this?
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