Last active
February 27, 2025 21:20
Revisions
-
pooladkhay renamed this gist
May 31, 2021 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
pooladkhay revised this gist
May 31, 2021 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,9 @@ Source: https://wiki.archlinux.org/title/Visual_Studio_Code#Blurry_text_under_Wayland Due to Electron issues Visual Studio Code defaults to run under XWayland which may cause blurry text if you're using HiDPI screens. In order to fix this issue you need to force Electron to run under Wayland by adding ```--enable-features=UseOzonePlatform --ozone-platform=wayland```, for example you'll be launching VSCode like ``` $ code --enable-features=UseOzonePlatform --ozone-platform=wayland ``` This fix can be made permanent by creating a ```.desktop``` file or by directly editing ```/usr/share/applications/visual-studio-code.desktop``` -
pooladkhay revised this gist
May 31, 2021 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ Due to Electron issues Visual Studio Code defaults to run under XWayland which may cause blurry text if you're using HiDPI screens. In order to fix this issue you need to force Electron to run under Wayland by adding --enable-features=UseOzonePlatform --ozone-platform=wayland, for example you'll be launching VSCode like ``` $ code --enable-features=UseOzonePlatform --ozone-platform=wayland ``` This fix can be made permanent by creating a .desktop file or by directly editing /usr/share/applications/visual-studio-code.desktop -
pooladkhay created this gist
May 31, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ // Source: https://wiki.archlinux.org/title/Visual_Studio_Code#Blurry_text_under_Wayland Due to Electron issues Visual Studio Code defaults to run under XWayland which may cause blurry text if you're using HiDPI screens. In order to fix this issue you need to force Electron to run under Wayland by adding --enable-features=UseOzonePlatform --ozone-platform=wayland, for example you'll be launching VSCode like $ code --enable-features=UseOzonePlatform --ozone-platform=wayland This fix can be made permanent by creating a .desktop file or by directly editing /usr/share/applications/visual-studio-code.desktop