Some desktop files don't open with double click or Enter

Bug #1887514 reported by Philippe Volte--Vieira
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell-extension-desktop-icons (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I have two folders visible in my desktop but not in the folder desktop (personal folder and trash), they were there when I installed Ubuntu.
Some days ago I've added two .txt files on the desktop folder.

Theses two files don't open when I double click, select and press Enter, or right click and select "open". To open them from the desktop, I have to right click, select "open with another application", then it opens a window and I select my program.

After doing it two times and execute ubuntu-bug, select "open with..." don't open anymore the window but opens directly the file with the program I've selected before (it acts like "open").

To pinpoint the problem, I've copied two new .txt files, one with nautilus and one with right click on the desktop. Theses new files open normally, with double click or select and Enter.

So the two other files are kind of locked...

I am not sure if the problem comes from xdg-desktop-portal package, but I could not find a "better" package...

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: xdg-desktop-portal 1.6.0-1
ProcVersionSignature: Ubuntu 5.4.0-40.44-generic 5.4.44
Uname: Linux 5.4.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.3
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Tue Jul 14 12:49:58 2020
InstallationDate: Installed on 2020-07-12 (1 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: xdg-desktop-portal
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Philippe Volte--Vieira (melrok) wrote :
description: updated
Changed in xdg-desktop-portal (Ubuntu):
status: New → Invalid
status: Invalid → New
Revision history for this message
Philippe Volte--Vieira (melrok) wrote :

I found a way to "solve" my problem :
when I copied my .txt files from my external hard drive, the rights of files was 777 (rwxrwxrwx), and when I changed it to 664 (rw-rw-r--) it solved my problem. Now I can open files from the desktop by double click, select and Enter, or right click and "open".

There is still a problem with the menu option "open with..." : it opens directly with the default program without asking witch program I want to use.

There is still some files that are not opened (those with rights 777 (rwxrwxrwx), so I leave the subject as it is.

affects: xdg-desktop-portal (Ubuntu) → gnome-shell-extension-desktop-icons (Ubuntu)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Based on comment #2, this appears to not be a bug. The mode 777 (rwxrwxrwx) specifies that the files were executables so should be executed on double-click and not "opened" with any app.

Please log a new bug for your remaining issue.

Changed in gnome-shell-extension-desktop-icons (Ubuntu):
status: New → Invalid
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Although I imagine people are going to keep hitting this problem if they copy files from FAT mounts etc.

Revision history for this message
Philippe Volte--Vieira (melrok) wrote :

Thanks ! I didn't notice but yes, it's right.

Revision history for this message
Philippe Volte--Vieira (melrok) wrote :

Some precisions :
the mount was a NTFS external hard drive
and the remaining issue is the bug report #1887816.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.