Last Updated: February 25, 2016
·
386
· aniljava

Thunar disable auto launch of executable scripts

Disable running executable file

Thunar-1.6.3/thunar/thunar-file.c
SEARCH : function "thunar_file_is_executable"
add return FALSE; at the first line in the function.

> gboolean
> thunar_file_is_executable (const ThunarFile *file)
> {
>   return FALSE;

Remove root warning on top.

Thunar-1.6.3/thunar/thunar-window.c
SEARCH: "check if we need to add the root warning"
and comment out the block.

Build and replace existing binary.

# cd Path to Thunar-1.6.3
# ./configure
# make
# killall thunar
# cp thunar/.libs/thunar /usr/bin/