Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-10-20 20:13:06

ahmeteid
Member
Registered: 2022-08-15
Posts: 65

run .sh file in thunar?

I have problem with .sh files in thunar , when i click on it , it opens as text-editor.
in nemo fm, when i click on it , it pop up message with 3 options: run in terminal , display , run, and i choice run, and the program or game run.
How i can do that in thunar?

Offline

#2 2022-10-20 20:26:02

KBar
Member
Registered: 2021-11-05
Posts: 689

Re: run .sh file in thunar?

There's a hidden setting to enable that:

xfconf-query --channel thunar --property /misc-exec-shell-scripts-by-default --create --type bool --set true

This doesn't pop a message dialog, though; only enables executing shell scripts (and probably any other script with a shebang line) with a double-click.


Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please! tongue

Offline

#3 2022-10-20 20:34:54

ahmeteid
Member
Registered: 2022-08-15
Posts: 65

Re: run .sh file in thunar?

[solved]

KBar wrote:

There's a hidden setting to enable that:

xfconf-query --channel thunar --property /misc-exec-shell-scripts-by-default --create --type bool --set true

This doesn't pop a message dialog, though; only enables executing shell scripts (and probably any other script with a shebang line) with a double-click.

Thanks , it's worked

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 521.78 KiB (Peak: 529.54 KiB) ]