View executable files when double-clicked in konqueror?
I usually invoke kwrite for editing text files by double-clicking on
them in konqueror. I also edit a lot of bash scripts by selecting
kwrite from the right-click context menu. Frequently enough, I also
double-click the bash scripts by mistake when I want to edit them - and
the script runs invisibly which can have unfortunate consequences.
Nautilus has among its few preference settings: "view executable text
files when they are clicked". This works fine and is exactly what I
want. I can't think of any reason why I'd want to execute a script from
a GUI file manager.
In konqueror's file associations, I've changed the embedding option of
"x-shellscript" to "show file in separate viewer". That does not work,
although I might not be understanding the intent of that option
correctly. Anyway, if I double-click on scripts, they still execute.
Does anybody know if there *is* a way to stop konqueror from executing
bash scripts that have the execute flag set? I'm using konqueror 3.4.2.
Has an execution disabling feature appeared in konqueror 3.5 maybe?
--
Dave Farrance
|