Public bug reported:

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)

** Affects: nautilus (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug disco third-party-packages

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/1812880

Title:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1812880/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to