Does this issue occur when all extensions are disabled?: Yes/No
- VS Code Version: 1.104.2
- OS Version: Pop!_OS 24.04 LTS with the COSMIC desktop (beta) with seahorse (based on Ubuntu 24.04)
- details:
Version: 1.104.2
Commit: e3a5acf
Date: 2025-09-24T11:21:37.073Z
Electron: 37.3.1
ElectronBuildId: 12404162
Chromium: 138.0.7204.235
Node.js: 22.18.0
V8: 13.8.258.31-electron.0
OS: Linux x64 6.16.3-76061603-generic
Steps to Reproduce:
- from command line : $ code --verbose --vmodule="/components/os_crypt/=1"
[10807:0927/181538.578464:VERBOSE1:components/os_crypt/sync/key_storage_util_linux.cc:46] Password storage detected desktop environment: (unknown)
[main 2025-09-27T16:15:38.669Z] [File Watcher (node.js)] Request to start watching: /home/osteck/.config/Code/User (excludes: , includes: , filter: , correlationId: ),/home/osteck/.config/Code/User/settings.json (excludes: , includes: , filter: , correlationId: )
[main 2025-09-27T16:15:38.676Z] Sending env to running instance...
[main 2025-09-27T16:15:38.677Z] [File Watcher (node.js)] Started watching: '/home/osteck/.config/Code/User'
[main 2025-09-27T16:15:38.677Z] [File Watcher (node.js)] Started watching: '/home/osteck/.config/Code/User/settings.json'
[10846:0927/181538.710067:WARNING:sandbox/policy/linux/sandbox_linux.cc:415] InitializeSandbox() called with multiple threads in process gpu-process.
[main 2025-09-27T16:15:38.717Z] Sent env to running instance. Terminating...
[main 2025-09-27T16:15:38.718Z] Lifecycle#kill()
[main 2025-09-27T16:15:38.718Z] Lifecycle#onWillShutdown.fire()
- Desktop environment is detected as unknown. Since the desktop environment Cosmic is brand new - beta - no real surprise but the OS is based on Ubuntu 24.04 nonetheless (same keyring manager seahorse)
Looking at https://source.chromium.org/chromium/chromium/src/+/main:base/nix/xdg_util.cc GetDesktopEnvironment() seems to not detect COSMIC although the environment is already registered in the code base
Does this issue occur when all extensions are disabled?: Yes/No
Version: 1.104.2
Commit: e3a5acf
Date: 2025-09-24T11:21:37.073Z
Electron: 37.3.1
ElectronBuildId: 12404162
Chromium: 138.0.7204.235
Node.js: 22.18.0
V8: 13.8.258.31-electron.0
OS: Linux x64 6.16.3-76061603-generic
Steps to Reproduce:
[10807:0927/181538.578464:VERBOSE1:components/os_crypt/sync/key_storage_util_linux.cc:46] Password storage detected desktop environment: (unknown)
[main 2025-09-27T16:15:38.669Z] [File Watcher (node.js)] Request to start watching: /home/osteck/.config/Code/User (excludes: , includes: , filter: , correlationId: ),/home/osteck/.config/Code/User/settings.json (excludes: , includes: , filter: , correlationId: )
[main 2025-09-27T16:15:38.676Z] Sending env to running instance...
[main 2025-09-27T16:15:38.677Z] [File Watcher (node.js)] Started watching: '/home/osteck/.config/Code/User'
[main 2025-09-27T16:15:38.677Z] [File Watcher (node.js)] Started watching: '/home/osteck/.config/Code/User/settings.json'
[10846:0927/181538.710067:WARNING:sandbox/policy/linux/sandbox_linux.cc:415] InitializeSandbox() called with multiple threads in process gpu-process.
[main 2025-09-27T16:15:38.717Z] Sent env to running instance. Terminating...
[main 2025-09-27T16:15:38.718Z] Lifecycle#kill()
[main 2025-09-27T16:15:38.718Z] Lifecycle#onWillShutdown.fire()
Looking at https://source.chromium.org/chromium/chromium/src/+/main:base/nix/xdg_util.cc GetDesktopEnvironment() seems to not detect COSMIC although the environment is already registered in the code base