Application shortcuts not working for Flatpak browsers

Aperta
#323 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
54/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
desktop

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
1k
Fork
132
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di linuxmint/webapp-manager

Tutte le issue di linuxmint/webapp-manager

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.