Application shortcuts not working for Flatpak browsers

Aberta
#323 0 comentários 2 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
2/5
Tempo estimado
1-3 horas
Facilidade para iniciantes
54/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
python
Domínio
desktop

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Python
Estrelas
1k
Forks
132
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de linuxmint/webapp-manager

Todas as issues de linuxmint/webapp-manager

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.