KDE and the executable bit

Alex Dănilă alex.danila at gmail.com
Sat Jan 26 22:38:11 GMT 2008

 I think this is a tricky one. For the moment I don't have a KDE 4 anymore, 
but in Konqueror from KDE 3 I like having files opened instead of executed. 
There's more to it than my liking of having scripts opened and not executed:
1. executables are run in the home directory (with Konqueror 3.5.5 at least), 
they should run in their directory
2. usualy those files don't have a GUI, and when I click something I would 
expect some visual thing to ask me for a command. I have a few .sh files I 
use for (re)starting services, and the action will happen for the ones that 
don't need root privileges. But I have no visual feedback, maybe I clicked a 
script that restarts my computer in 5 minute and I have no idea.

I don't know which is the more desirable behaviour though.

Pe data de Sîm 26 Ian 2008 22:58, Andras Mantia a scris:

> Short example, which does not require system changes. Create a test.txt
> file with this content:
> #!/bin/bash
> kdialog --msgbox "I am a GUI application!"
> Make this executable (chmod +x test.txt) and click on it in
> Konqueror/Dolphin.
> The file is not executed, it is opened in your default editor.
> Andras

Alex Dănilă
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080127/fb67406e/attachment.sig>

More information about the kde-core-devel mailing list