From 278556b8ed9178e22fdb1d059a6a725776135aab Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Sun, 17 Dec 2023 16:44:21 -0500 Subject: [PATCH 1/3] README: Update host-spawn guide - There is a Features section at the top level of the settings menu which hides the Terminal section, add that stage to match the current UI - The host-spawn JSON works, but seems to assume that you're modifying the JSON above, so show the full configuration to make it clear that each works independently of the other Tested on Fedora and SteamOS. --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d4e68e7..c8c8fd2 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ or Another option to execute commands is to use your host shell in the integrated terminal instead of the sandbox one. -For that go to `File -> Preferences -> Settings` and find `Terminal > Integrated > Profiles`, then click on `Edit in settings.json` (The important thing here is to open settings.json) +For that go to `File -> Preferences -> Settings` and find `Features > Terminal > Integrated > Profiles`, then click on `Edit in settings.json` (The important thing here is to open settings.json) And make sure that you have the following lines there: @@ -53,13 +53,17 @@ And make sure that you have the following lines there: `host-spawn` ``` - "terminal.integrated.defaultProfile.linux": "bash", +{ + "terminal.integrated.defaultProfile.linux": "bash", + "terminal.integrated.profiles.linux": { "bash": { "path": "/app/bin/host-spawn", "args": ["bash"], "icon": "terminal-bash", "overrideName": true - }, + } + } +} ``` - You can change **bash** to any terminal you are using: zsh, fish, sh. From cbee8d0f592e8b851fc434b3f859c3a09b717118 Mon Sep 17 00:00:00 2001 From: Cedric Staniewski Date: Fri, 2 Feb 2024 21:42:55 +0100 Subject: [PATCH 2/3] Fix cursor scaling on wayland See https://github.com/electron/electron/issues/19810 --- com.visualstudio.code.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/com.visualstudio.code.yaml b/com.visualstudio.code.yaml index a5b8264..4b528ef 100644 --- a/com.visualstudio.code.yaml +++ b/com.visualstudio.code.yaml @@ -21,6 +21,8 @@ finish-args: - --env=NPM_CONFIG_GLOBALCONFIG=/app/etc/npmrc - --env=LD_LIBRARY_PATH=/app/lib - --env=ZYPAK_SPAWN_LATEST_ON_REEXEC=0 + # required to fix cursor scaling on wayland + - --env=XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons - --system-talk-name=org.freedesktop.login1 - --talk-name=org.freedesktop.Notifications - --talk-name=org.freedesktop.secrets From 780d57dc13a104751dfcb39bbc3c60d59e3750c8 Mon Sep 17 00:00:00 2001 From: flathubbot Date: Fri, 16 Feb 2024 12:45:30 +0000 Subject: [PATCH 3/3] Update 2 modules Update code.deb to 1.86.2-1707854558 Update code.deb to 1.86.2-1707853305 --- com.visualstudio.code.metainfo.xml | 1 + com.visualstudio.code.yaml | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/com.visualstudio.code.metainfo.xml b/com.visualstudio.code.metainfo.xml index 4a3bf23..ce77204 100644 --- a/com.visualstudio.code.metainfo.xml +++ b/com.visualstudio.code.metainfo.xml @@ -24,6 +24,7 @@ moderate + diff --git a/com.visualstudio.code.yaml b/com.visualstudio.code.yaml index 35fbe79..94bfa80 100644 --- a/com.visualstudio.code.yaml +++ b/com.visualstudio.code.yaml @@ -98,9 +98,9 @@ modules: - type: extra-data filename: code.deb only-arches: [x86_64] - url: https://packages.microsoft.com/repos/code/pool/main/c/code/code_1.86.1-1707298119_amd64.deb - sha256: cf049ac17201ad73a3f6a94c0602a3e1dfead53dc124eb1315a7721a6aeb3e95 - size: 99761918 + url: https://packages.microsoft.com/repos/code/pool/main/c/code/code_1.86.2-1707854558_amd64.deb + sha256: 7874c27e80e9bb1902502b8b90906ac830251f57f8e247b39d298d3809c76bf6 + size: 99776494 x-checker-data: type: debian-repo package-name: code @@ -112,9 +112,9 @@ modules: - type: extra-data filename: code.deb only-arches: [aarch64] - url: https://packages.microsoft.com/repos/code/pool/main/c/code/code_1.86.1-1707296902_arm64.deb - sha256: d230c29d9280978e7e65ce3deec0475e1e6d821a348ed46e033886425843b82f - size: 92864122 + url: https://packages.microsoft.com/repos/code/pool/main/c/code/code_1.86.2-1707853305_arm64.deb + sha256: eca39b791b53fa1a6ce97cafbcd425a3f8ff77f59ebab33bfd1797d7babe1553 + size: 92860238 x-checker-data: type: debian-repo package-name: code