diff --git a/README.md b/README.md index e6b6bafdd..fbede6783 100644 --- a/README.md +++ b/README.md @@ -174,6 +174,14 @@ To fix this, install libfuse2 as follows: sudo apt install libfuse2 ``` +Under wayland, experimental native wayland support can be enabled with the command-line switch `--ozone-platform-hint` set to `auto`: + +``` +./jitsi-meet-x86_64.AppImage --ozone-platform-hint=auto +``` + +Note that screensharing is currently not supported under wayland, eg. the permissions prompt may loop endlessly. + In case you experience a blank page after jitsi server upgrades, try removing the local cache files: ``` diff --git a/main.js b/main.js index c738a934f..ee3522107 100644 --- a/main.js +++ b/main.js @@ -40,9 +40,9 @@ app.commandLine.appendSwitch('disable-features', 'IOSurfaceCapturer'); // Enable Opus RED field trial. app.commandLine.appendSwitch('force-fieldtrials', 'WebRTC-Audio-Red-For-Opus/Enabled/'); -// Enable optional PipeWire support. +// Wayland: Enable optional PipeWire and window decorations support. if (!app.commandLine.hasSwitch('enable-features')) { - app.commandLine.appendSwitch('enable-features', 'WebRTCPipeWireCapturer'); + app.commandLine.appendSwitch('enable-features', 'WebRTCPipeWireCapturer,WaylandWindowDecorations'); } autoUpdater.logger = require('electron-log'); diff --git a/package-lock.json b/package-lock.json index 4d0ccf4f6..59edbe82c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -39,7 +39,7 @@ "babel-loader": "^8.2.3", "concurrently": "5.1.0", "css-loader": "^6.7.1", - "electron": "19.0.8", + "electron": "19.0.12", "electron-builder": "23.1.0", "electron-context-menu": "^2.5.0", "electron-is-dev": "^1.2.0", @@ -6380,9 +6380,9 @@ } }, "node_modules/electron": { - "version": "19.0.8", - "resolved": "https://registry.npmjs.org/electron/-/electron-19.0.8.tgz", - "integrity": "sha512-OWK3P/NbDFfBUv+wbYv1/OV4jehY5DQPT7n1maQJfN9hsnrWTMktXS/bmS05eSUAjNAzHmKPKfiKH2c1Yr7nGw==", + "version": "19.0.12", + "resolved": "https://registry.npmjs.org/electron/-/electron-19.0.12.tgz", + "integrity": "sha512-GOvG0t2NCeJYIfmC3g/dnEAQ71k3nQDbRVqQhpi2YbsYMury0asGJwqnVAv2uZQEwCwSx4XOwOQARTFEG/msWw==", "dev": true, "hasInstallScript": true, "dependencies": { @@ -19765,9 +19765,9 @@ } }, "electron": { - "version": "19.0.8", - "resolved": "https://registry.npmjs.org/electron/-/electron-19.0.8.tgz", - "integrity": "sha512-OWK3P/NbDFfBUv+wbYv1/OV4jehY5DQPT7n1maQJfN9hsnrWTMktXS/bmS05eSUAjNAzHmKPKfiKH2c1Yr7nGw==", + "version": "19.0.12", + "resolved": "https://registry.npmjs.org/electron/-/electron-19.0.12.tgz", + "integrity": "sha512-GOvG0t2NCeJYIfmC3g/dnEAQ71k3nQDbRVqQhpi2YbsYMury0asGJwqnVAv2uZQEwCwSx4XOwOQARTFEG/msWw==", "dev": true, "requires": { "@electron/get": "^1.14.1", diff --git a/package.json b/package.json index 78761a819..372feee1f 100644 --- a/package.json +++ b/package.json @@ -159,7 +159,7 @@ "babel-loader": "^8.2.3", "concurrently": "5.1.0", "css-loader": "^6.7.1", - "electron": "19.0.8", + "electron": "19.0.12", "electron-builder": "23.1.0", "electron-context-menu": "^2.5.0", "electron-is-dev": "^1.2.0",