Unable to launch symlink'ed application or executable using Caja

Bug #1877591 reported by Norbert
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MATE Desktop
Fix Released
Unknown
caja (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Steps to reproduce:
1. Have Ubuntu MATE 20.04 LTS
2. Login to the session
3. Open terminal and create symlink to the some application executable with

   ln -s /usr/bin/xclock ~/Desktop/xclock

4. Click on just created `xclock` file symlink on the desktop

Expected results:
* user is able to run symlink'ed application from Desktop

Actual results:
* user is unable to run symlink'ed application from Desktop, the following window is shown instead:

    > Could not display "/home/user/Desktop/xclock"
    > There is no application installed for shared library files. Do you want to search for an application to open this file?

   Click on Yes does not end with application launch.

Note: this is a regression, on Ubuntu MATE 16.04 LTS is works as expected.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: caja 1.24.0-1
ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
Uname: Linux 5.4.0-26-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: MATE
Date: Fri May 8 17:27:32 2020
InstallationDate: Installed on 2020-04-23 (14 days ago)
InstallationMedia: Ubuntu-MATE 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
SourcePackage: caja
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Norbert (nrbrtx) wrote :
Norbert (nrbrtx)
tags: added: groovy
Changed in mate-desktop:
status: Unknown → Fix Released
Norbert (nrbrtx)
tags: added: hirsute
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in caja (Ubuntu):
status: New → Confirmed
Revision history for this message
Norbert (nrbrtx) wrote :

Also happens for some Electron-based applications like latest Arduino 2.0 beta - https://downloads.arduino.cc/arduino-ide/arduino-ide_2.0.0-beta.5_Linux_64bit.zip .

summary: - Unable to launch symlink'ed application from Desktop
+ Unable to launch symlink'ed application or executable using Caja
Revision history for this message
Norbert (nrbrtx) wrote :

I forget about the workaround posted year ago on AskUbuntu - https://askubuntu.com/a/1237154/66509 .

Steps to be done to get this fixed:

1. Create *.desktop* file to provide new file-association for ELF binaries:

        mkdir -p ~/.local/share/applications
        cat << EOF > ~/.local/share/applications/exec.desktop
        [Desktop Entry]
        Name=Run binary executable
        Exec=sh -c %f
        Terminal=false
        Type=Application
        EOF

1. Select this application as default launcher - select *Open with Other Application* and set this newly created *Run binary executable* as default launcher.
1. Double click on just created symlink to launch linked executable.

Norbert (nrbrtx)
tags: removed: groovy
Revision history for this message
Norbert (nrbrtx) wrote :

Works normally on 21.10.

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.