Nemo 6.6.3: Type=Link HTTPS shortcut fails to open; unusual "Open With" behavior
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
Hướng nghiên cứu
Start by locating Nemo’s handling of .desktop entries with Type=Link and how that path interacts with default opening, properties, and “Open With.” Reproduce with the reported HTTPS shortcut and compare it with a Type=Application entry and a working link. Done means valid links open in the default browser without hanging, and the intended “Open With” behavior is clarified or corrected.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
System information
- Distribution: LMDE 7 (Gigi)
- Desktop: Cinnamon
- Session: X11
- Nemo: 6.6.3+gigi
- Browser: Firefox
- Text editor: Xed
1. Problem: HTTPS desktop link does not open
A .desktop file of Type=Link, pointing to the web interface of a remote FRITZ!NAS server, cannot be opened normally by double-clicking it in Nemo or on the Cinnamon desktop.
The original shortcut was created by dragging the website icon from Firefox's address bar.
Its contents were:
[Desktop Entry]
Encoding=UTF-8
Name=Verknüpfung mit FRITZ!NAS
Type=Link
URL=https://example.myfritz.net/nas/#/login?redirect=%2Ffiles%2FExample
Icon=folder
The URL shown here is illustrative. The actual URL points to a reachable remote FRITZ!NAS server.
Actual behavior
When double-clicking the shortcut, Nemo displays the following dialog:
Title (German):
»Verknüpfung mit FRITZ!NAS« wird geöffnet.
Message:
Sie können diese Aktion anhalten, indem Sie »Abbrechen« anklicken.
Button:
Abbrechen
English translation: "Opening 'Verknüpfung mit FRITZ!NAS'." / "You can stop this action by clicking 'Cancel'."
The dialog remains visible, but the requested operation does not complete normally.
Renaming the shortcut to "Famli" produces the same behavior, with the title:
»Famli« wird geöffnet.
Attempting to open the shortcut's properties also causes a delay, displaying a dialog with the title:
Eigenschaftsfenster wird erzeugt.
English translation: "Creating properties window."
The same message and Cancel button appear.
No separate error message or crash notification was observed.
Screenshots of all three dialogs are available.
2. Tests performed
| Test | Result |
|---|---|
Open the URL using xdg-open |
Works |
Open the URL using gio open |
Works |
Open the original Type=Link entry in Nemo |
Does not complete |
| Open the original entry on the Cinnamon desktop | Does not complete |
Rename the .desktop file |
No improvement |
Remove the #/login?... URL fragment |
No improvement |
| Log out and log in again | Original Type=Link still fails |
Use gio launch with a modified Type=Application entry |
Works |
| Open the modified entry in Nemo or from the desktop | Works after a new login |
The original file was correctly recognized as application/x-desktop and was located on a local ext4 filesystem.
Other HTTPS desktop links work normally.
3. Working workaround
Replacing the Type=Link entry with a Type=Application entry solves the problem:
[Desktop Entry]
Version=1.0
Type=Application
Name=FRITZ!NAS
Exec=gio open "https://example.myfritz.net/nas/#/login?redirect=%%2Ffiles%%2FExample"
Icon=folder
Terminal=false
The percent signs are doubled as required in desktop-entry Exec lines.
This workaround was verified in the same Cinnamon session in which the original Type=Link entry still failed.
4. Additional observation: "Open With" resolves the target URL
During troubleshooting, I discovered another behavior that may be related.
For a working HTTPS shortcut, such as a ChatGPT desktop link, selecting:
Right-click → Open With → Text Editor
causes Xed to open the remote webpage and display its HTML source instead of displaying the local .desktop file.
However, explicitly opening the local file using:
xed "$HOME/Schreibtisch/ChatGPT.desktop"
correctly displays the desktop-entry contents.
This suggests that Nemo resolves Type=Link entries to their target URLs even when a specific application is selected through "Open With".
It is unclear whether this behavior is intentional or related to the FRITZ!NAS problem.
5. Additional Firefox drag-and-drop observation
Firefox successfully creates desktop shortcuts for other websites by dragging the address-bar icon or a bookmark into Nemo.
However, attempts to create a new shortcut for this particular FRITZ!NAS URL produce no file, either on the Cinnamon desktop or in a normal Nemo window.
Dragging the selected URL text produces a plain text file instead.
This may be an independent Firefox issue.
Expected behavior
Nemo should open a valid Type=Link HTTPS shortcut using the default web browser without leaving an unfinished opening operation.
The handling of Type=Link files through "Open With" should also be clarified, particularly when the user wants to open the local desktop-entry file rather than its target.
Questions
- Could Nemo's handling of
Type=Linkentries explain the unsuccessful opening operation? - Is passing the target URL to applications selected through "Open With" intentional?
- Have relevant changes been made in Nemo versions newer than 6.6.3?
- Ngôn ngữ chính
- C
- Star
- 1.6k
- Fork
- 387
- Merge trung bình
- 2 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 4
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/nemo
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Copy dialog: Enter key accidentally cancels file copyCó thể đã có người làm @jackjusko đã nhận 3 ngày trước. Đ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 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
linuxmint/nemo#3838 · 1 bình luận · 2 reaction ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
linuxmint/nemo#3805 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của linuxmint/nemo
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
389ds/389-ds-base#8152 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
isolation2 lockmodes fails on cassert builds: extra AccessShareLock on partition rootCó thể đã có người làm @tuhaihe đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
apache/cloudberry#2356 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
windows-artifacts: the win-arm64 job uses a Visual Studio generator missing from windows-11-armĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
-
documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 91/100