wayland: Make more applications use wayland
This commit is contained in:
parent
215d507b95
commit
50316a3f4e
3 changed files with 38 additions and 1 deletions
2
.config/electron-flags.conf
Normal file
2
.config/electron-flags.conf
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
--enable-features=UseOzonePlatform
|
||||||
|
--ozone-platform=wayland
|
|
@ -1,3 +1,20 @@
|
||||||
MOZ_ENABLE_WAYLAND=1
|
### Set wayland specific environment variables
|
||||||
|
|
||||||
|
# Set compositor
|
||||||
|
XDG_CURRENT_DESKTOP=sway
|
||||||
|
|
||||||
|
# Set wayland backend for GUI libraries
|
||||||
QT_QPA_PLATFORM=wayland-egl
|
QT_QPA_PLATFORM=wayland-egl
|
||||||
|
GDK_BACKEND=wayland
|
||||||
|
CLUTTER_BACKEND=wayland
|
||||||
|
SDL_VIDEODRIVER=wayland
|
||||||
|
|
||||||
|
# Restore functionality for QT features by setting the theme to 'qt5ct'
|
||||||
|
QT_QPA_PLATFORMTHEME=qt5ct
|
||||||
|
|
||||||
|
# Enable wayland for firefox and thunderbird
|
||||||
|
MOZ_ENABLE_WAYLAND=1
|
||||||
|
|
||||||
|
# wlroots configuration Ref.: https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/master/docs/env_vars.md
|
||||||
WLR_DRM_NO_MODIFIERS=1
|
WLR_DRM_NO_MODIFIERS=1
|
||||||
|
|
||||||
|
|
18
.local/share/applications/codium.desktop
Normal file
18
.local/share/applications/codium.desktop
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=VSCodium
|
||||||
|
Comment=Code Editing. Redefined.
|
||||||
|
GenericName=Text Editor
|
||||||
|
Exec=/opt/vscodium-bin/bin/codium --enable-features=UseOzonePlatform --ozone-platform=wayland --no-sandbox --unity-launch %F
|
||||||
|
Icon=vscodium
|
||||||
|
Type=Application
|
||||||
|
StartupNotify=true
|
||||||
|
StartupWMClass=VSCodium
|
||||||
|
Categories=Utility;Development;IDE;
|
||||||
|
MimeType=text/plain;inode/directory;
|
||||||
|
Actions=new-empty-window;
|
||||||
|
Keywords=vscode;
|
||||||
|
|
||||||
|
[Desktop Action new-empty-window]
|
||||||
|
Name=New Empty Window
|
||||||
|
Exec=/opt/vscodium-bin/bin/codium --enable-features=UseOzonePlatform --ozone-platform=wayland --no-sandbox --new-window %F
|
||||||
|
Icon=vscodium
|
Loading…
Add table
Reference in a new issue