Application shortcuts not working for Flatpak browsers

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
54/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
desktop

調査の方向性

The issue points to usr/lib/webapp-manager/common.py, lines 213–214. Read how the Flatpak browser executable path is added to the generated .desktop file, then check the Exec field produced for a Flatpak browser. Done means the generated shortcut launches with a valid path.

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

説明

I noticed that the Application shortcuts that Web App Manager creates for web apps with the flatpak version of Ungoogled Chromium do not work on my system. Trying to launch them generates the following error message:

Could not find the program '.local/share/flatpak/exports/bin/io.github.ungoogled_software.ungoogled_chromium'

The issue seems to be that those are relative paths to the executable. Manually adding ~/ or /home/<username>/ in front of the path in the Exec field of the .desktop-file fixes the error. If I interpret the common.py correctly, other flatpak browser probably have the same issue.

I am using EndeavourOS with KDE Plasma 6.2.4. I assume it works with those relative paths in some other environments, but using absolute paths will probably be more robust in this case.

主要言語
Python
スター
1k
フォーク
132
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

linuxmint/webapp-manager のほかの issue

linuxmint/webapp-manager の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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