Last Updated: February 25, 2016
· aniljava

Thunar disable auto launch of executable scripts

Disable running executable file

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.

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/