From kde-core-devel Sat Jan 26 22:38:11 2008 From: Alex =?utf-8?q?D=C4=83nil=C4=83?= Date: Sat, 26 Jan 2008 22:38:11 +0000 To: kde-core-devel Subject: Re: KDE and the executable bit Message-Id: <200801270038.17600.alex.danila () gmail ! com> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=120150578410934 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart2023190.5fVPWZv3O2" --nextPart2023190.5fVPWZv3O2 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I think this is a tricky one. For the moment I don't have a KDE 4 anymore,= =20 but in Konqueror from KDE 3 I like having files opened instead of executed.= =20 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= ),=20 they should run in their directory 2. usualy those files don't have a GUI, and when I click something I would= =20 expect some visual thing to ask me for a command. I have a few .sh files I= =20 use for (re)starting services, and the action will happen for the ones that= =20 don't need root privileges. But I have no visual feedback, maybe I clicked = a=20 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=C3=AEm 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 =2D-=20 regards Alex D=C4=83nil=C4=83 --nextPart2023190.5fVPWZv3O2 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHm7ZZDfMFFV4+R/0RApfeAKDAvxs3oMeLBPp52bNsQIodXghyIgCeKqVI slFGSQaVrYQ07FS1cFJzIFs= =Lz55 -----END PGP SIGNATURE----- --nextPart2023190.5fVPWZv3O2--