Can't execute shell scripts with spaces in their names from desktop

Bug #1812884 reported by Jonathan Kamens
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell-extension-desktop-icons (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

Create a shell script with a space in its name in /tmp. Make sure the script is executable. Mv it into ~/Desktop. (You have to do it this way rather than creating it directly on the desktop because of the other bug I just filed.) Try to double-click on it. You will get an error notification instead of the script executing. Shell scripts added to the desktop in this way without spaces in their names do not have this problem.

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:44:14 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)
Changed in gnome-shell-extension-desktop-icons (Ubuntu):
importance: Undecided → Low
Revision history for this message
Sebastien Bacher (seb128) wrote :

Upstream 'fixed it' by removing support to excute anything else than .desktop files, see their comment on https://gitlab.gnome.org/World/ShellExtensions/desktop-icons/issues/73

If you believe scripts are important to work on desktop best to open a bug directly upstream on https://gitlab.gnome.org/World/ShellExtensions/desktop-icons/issues

Changed in gnome-shell-extension-desktop-icons (Ubuntu):
status: New → Fix Committed
Changed in gnome-shell-extension-desktop-icons (Ubuntu):
status: Fix Committed → Won't Fix
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.