action for LMB click in Konqueror

David Faure david at mandrakesoft.com
Mon Jul 29 15:19:11 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 29 July 2002 16:10, Germain Garand wrote:
> Le Lundi 29 Juillet 2002 08:28, David Faure a écrit :
> > Err, clicking on a shell script executes it ...
> >
> 
> That is IMHO, very bad policy... unless my KFM settings displays /usr/bin/sh 
> as the preferred application in "General", I see no good reason why a shell 
> script (which is rather, intrinsically, a document...) should run by itself ?

Well, what happens when clicking on an executable? (in any desktop you can
think of, including Mac and Windows?) 

shellscripts are only one kind of executables.

(the other mail about the +x bit sounds like a bug though. We detect the
application/x-shellscript from the content, and then test for that...
I suggest testing for the file permissions in kdelibs/kio/kio/krun.cpp:86
(sorry, no time for doing all the changes people talk about, so I just give hints ;)

- -- 
David FAURE, david at mandrakesoft.com, faure at kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KOffice 1.2 RC1 is slightly delayed. Stay tuned.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9RU7f72KcVAmwbhARAvZqAJ96xaafUgUNjrtuC9YkHLpGe/sF1gCeInsu
tIA+tzqy6nTmZe3s3KV1kqM=
=s93i
-----END PGP SIGNATURE-----





More information about the kfm-devel mailing list