LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Kde opening perl and shell scripts as text (https://www.linuxquestions.org/questions/linux-desktop-74/kde-opening-perl-and-shell-scripts-as-text-4175553402/)

fogpipe 09-13-2015 08:13 PM

Kde opening perl and shell scripts as text
 
Did i miss a config option? When i click on scripts in dolphin with the x bit set across the board, kde opens them as text files. Is this a dolphin thing? Anything i can do to change it?
I jsut checked and things work as usual in rox-filer, how does one get dolphin to treat files like this as programs to be executed rather than text files?


Oops sorry its thunar not dolphin that seems to be running in kde. So how does one get thunar to execute these instead of treat them as text?

norobro 09-13-2015 09:51 PM

Ran into this recently. Found the solution here.

The following worked for me:
Code:

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

fogpipe 09-14-2015 05:49 PM

Thanks :)


All times are GMT -5. The time now is 01:14 AM.