Application shortcuts not working for Flatpak browsers

Đang mở
#323 0 bình luận 2 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
54/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
desktop

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
1k
Fork
132
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của linuxmint/webapp-manager

Tất cả issue của linuxmint/webapp-manager

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.