Executables on desktop won't launch on double-click

Bug #1812880 reported by Jonathan Kamens
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-shell-extension-desktop-icons (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

Using a text editor, create a file on your Desktop that you intend to be a shell script. When you save it initially, it won't be executable (unless your text editor is too smart for its own good), so it will be displayed on the desktop as a text file.

Now do "chmod +x" on the file in a terminal window.

It's still displayed on the desktop as a text file, and you still can't execute it.

Now mv it out of your desktop and into /tmp, and then mv it back onto your desktop. Now the icon is displayed as a shell script and can be double-clicked.

The icon for a file on the desktop should turn from text file to executable script as soon as the file itself turns from text file to executable script.

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: nautilus 1:3.30.5-1ubuntu1
ProcVersionSignature: Ubuntu 4.18.0-13.14-generic 4.18.17
Uname: Linux 4.18.0-13-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.10-0ubuntu19
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Jan 22 11:30:45 2019
InstallationDate: Installed on 2019-01-02 (20 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3)
SourcePackage: nautilus
UpgradeStatus: Upgraded to disco on 2019-01-21 (0 days ago)

Revision history for this message
Jonathan Kamens (jik) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

The desktop is not handled by nautilus anymore, reassigning

affects: nautilus (Ubuntu) → gnome-shell-extension-desktop-icons (Ubuntu)
Revision history for this message
Sebastien Bacher (seb128) wrote :

Similar to bug #1812884, upstream "fixed it" by removing support for scripts...

Changed in gnome-shell-extension-desktop-icons (Ubuntu):
importance: Undecided → Low
status: New → Fix Committed
summary: - create shell script file on Desktop, chmod it so that it is executable,
- icon remains text file instead of shell script and won't launch on
- double-click
+ Executables on desktop won't launch on double-click
Changed in gnome-shell-extension-desktop-icons (Ubuntu):
status: Fix Committed → Won't Fix
Revision history for this message
Greg (esenthel) wrote :

But this is a serious problem, and this bug report has status "Won't Fix"

I think it's common practice to put application shortcuts on the desktop.
It used to work fine in previous Ubuntu releases.

I have a bunch of applications that I use frequently.
It's very convenient to have their shortcuts on the desktop.

How can a serious problem like this be ignored?

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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