! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Unable to launch scripts from Thunar
Status:
RESOLVED: INVALID

Comments

Description Heart Of A Lion 2016-04-14 04:28:56 CEST
At the Manjaro forum we have encountered a peculiarity that seems to be native to terminals and file managers by design.

It seems to be true in the case of Thunar and xfce4-terminal as well.

The issue is simple, yet to get to the bottom of it, an in-depth discussion was necessary. You can read the discussion about the issue here: https://forum.manjaro.org/index.php?topic=33018.0

While not ideal, the solution we came to was to add the following custom action command to the right-click menu in Thunar:

Run in terminal: xfce4-terminal -x %F

The request is to either add this custom action to Thunar by default out of the box. And possibly to fix the issue in Xfce at its core.
   
However just adding the mentioned custom action command to the right-click menu by default out of the box would already be a great step forward.
Comment 1 Heart Of A Lion 2016-04-14 04:31:12 CEST
The custom action command can be called: Run file in terminal
Comment 2 Heart Of A Lion 2016-04-14 04:32:10 CEST
Or rather: Run file(s) in terminal

Because a capital F is used in the command, rather than a lower case f.
Comment 3 alexxcons editbugs 2018-01-23 16:59:40 CET
*** Bug 12301 has been marked as a duplicate of this bug. ***
Comment 4 Andre Miranda editbugs 2018-01-25 02:47:55 CET
Are you aware of the hidden setting /misc-exec-shell-scripts-by-default[1] that allows you to run scripts? Is this what you need or you want Thunar to spawn a new terminal window (similar to what Windows does when executing bat files)?

1 - https://docs.xfce.org/xfce/thunar/hidden-settings
Comment 5 Andre Miranda editbugs 2020-05-21 03:56:02 CEST
Closing since reported didn't reply.

Bug #12545

Reported by:
Heart Of A Lion
Reported on: 2016-04-14
Last modified on: 2020-05-21
Duplicates (1):
  • 12301 Add a way to execute shell scripts

People

Assignee:
Xfce Bug Triage
CC List:
4 users

Version

Version:
unspecified

Attachments

Additional information