Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

System Tools Not Detected in Flatpak VSCode

オープン
#571 コメント 2 件 リアクション 3 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
docker, fedora, linux, node.js, python, vscode

調査の方向性

まず、Fedora 41 上で com.visualstudio.code に対する Flatpak override コマンドを使って報告された挙動を再現し、Node.js、Python、Docker、PATH、PYTHONPATH へのアクセスを確認してください。Issue にはプロジェクトファイルやテストが記載されていません。完了とするには、手動で権限を override しなくても、一般的な開発ツールと拡張機能が動作する、定義済みで保守可能な方法が必要です。

索引モデルが issue の本文から書いたものです。

説明

Flatpak VSCode Feels Too Restricted — Can We Improve System Integration?

Hey everyone,

I've been using the Flatpak version of Visual Studio Code on Fedora 41, and while I appreciate the security and ease of installation, it feels a bit frustrating for actual development work.

What I'm Facing
  • VSCode can't detect system-installed tools like Node.js, Python, or Docker.
  • Extensions that rely on system binaries don't work without manual permission overrides.
  • Environment variables (PATH, PYTHONPATH) aren't automatically passed into the Flatpak sandbox.
  • There's a noticeable performance hit compared to the RPM version.
I tried overriding permissions with commands like:
flatpak override com.visualstudio.code --filesystem=host
flatpak override --env=PATH=$PATH com.visualstudio.code

But even after that, some extensions still couldn't access system SDKs out of the box.

Solution: I ended up reinstalling VSCode through the RPM package directly from Microsoft's repo, and everything works flawlessly
sudo nano /etc/yum.repos.d/vscode.repo

Paste:

[vscode]
name=Visual Studio Code
baseurl=https://packages.microsoft.com/yumrepos/vscode
enabled=1
gpgcheck=1
gpgkey=https://packages.microsoft.com/keys/microsoft.asc
sudo dnf check-update
sudo dnf install code
Why This Matters

As a developer, the IDE should be an extension of the system, not feel like it's running in its own isolated container.

Is there any plan to improve system integration or provide an easier way to grant access to common dev tools?

Would love to hear what others think!

主要言語
Shell
スター
216
フォーク
82
平均マージ
1日 7時間
マージ済み PR(30日)
1

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

flathub/com.visualstudio.code のほかの issue

flathub/com.visualstudio.code の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。