action for LMB click in Konqueror

Till Krech till at snafu.de
Mon Jul 29 08:12:38 BST 2002


On Monday 29 July 2002 06:41, Germain Garand wrote:
> Le Lundi 29 Juillet 2002 00:47, Till Krech a écrit :
> > Hi,
> >
> > I think, this is already changed in cvs HEAD.
> > At least, text/plain opens in a separate kwrite here.
> > OTOH, there seems to an incosistency between the filemanager settings and
> > this behaviour. The settings of 'Filemanager=>File Associations' for
> > text/plain, Embedding are here: 'use settings for text group' and the
> > text group says 'show file in embedded viewer'
> > But the file opens in a separate viewer (kwrite).
>
> You're right... the setting for mimetype groups is just plain ignored !
>
> It seems that if you first mark a mimetype to be externally or internally
> viewed, apply the change, and then later switch it to "use settings for XXX
> group", then it doesn't switch and just uses whatever you choose before...
>
> I have also a problem with application/x-shellscript => it should open
> either in kwrite or in the embedded viewer, but it simply does nothing...

hmm, if it is executable, it executes. Not very nice because you don't see any 
output since shell scripts normally have no gui ;) Some installers or 
launchers are exceptions.
I think this is a problem. There is no visual feedback and something happens 
which you are not aware of. 
According to the file manager settings, it should open in kwrite. 

If a shell script executes, it should at least do so in a konsole window, so 
that you see the output. Even better: ask before.

Perhaps it would be good to look into an executable, if it is a native binary, 
links to libX11 and only then, execute it on click.

many of my shell scripts do nasty things like cleaning up whole directories, 
doing clean on the whole kde src tree to recompile everything etc., I would 
never like to execute them without seeing what they are doing and where they 
are doing it ($PWD).

regards, till

>
> G.

-- 
Till Krech from Berlin, Germany is happy with
SuSE Linux 8.0 (i386) 2.4.18-64GB-SMP * KDE: 3.0.6 (KDE 3.1 alpha1)
Qt: 3.0.6-snapshot-20020712 * gcc version 2.95.3 20010315 (SuSE)





More information about the kfm-devel mailing list