Application shortcuts not working for Flatpak browsers
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
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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của linuxmint/webapp-manager
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
linuxmint/webapp-manager#411 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 54/100
linuxmint/webapp-manager#410 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
linuxmint/webapp-manager#409 · 1 bình luận ·
-
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 35/100
linuxmint/webapp-manager#407 · 1 bình luận ·
-
Add Brave Origin supportĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
linuxmint/webapp-manager#402 · 3 reaction ·
Tất cả issue của linuxmint/webapp-manager
Issue tương tự
-
CI flake: test-windows times out spawning Node in tests/test_antigravity_node_hooks.py (develop red)Đang mởarea/ci P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 2 ngày
-
benchmark
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
mozilla-ai/cq#601 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bump Python to 3.14 or 3.15Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày