On Thursday 02 April 2020 08:07:15 Dr. Nikolaus Klepp wrote:
> Anno domini 2020 Thu, 2 Apr 08:51:13 -0600
>
> D. R. Evans scripsit:
> > Stefan Krusche wrote on 4/1/20 11:46 PM:
> > > Am Mittwoch, 1. April 2020 schrieb D. R. Evans:
> > >> D. R. Evans wrote on 4/1/20 3:24 PM:
> > >>> How do I configure exactly which command should be run when I press
> > >>> F4 inside konqueror?
> > >>
> > >> Possibly I should be a bit clearer: by default, F4 appears to run
> > >> /opt/trinity/bin/konsole; I want to know how to execute a different
> > >> command that will open a (different kind of) terminal when I hit F4
> > >> inside konqueror.
> > >
> > > Have you tried to assign the key F4 globally with kmenuedit? I think it
> > > should override the assignment inside konqueror. Not tested.
> >
> > OK, I guess I still wasn't clear. Sorry.
> >
> > Let me try a different way.
> >
> > In konqueror under the Tools Menu, the first item is:
> > Open Terminal F4
> > When I execute that menu item, I want to run something other than
> > /opt/trinity/bin/konsole. How do I do that?
> >
> > Suppose, for example, that I just wanted an xterm, whose executable is
> > /usr/bin/xterm; how would I cause that menu item to execute
> > /usr/bin/xterm instead of /opt/trinity/bin/konsole?
> >
> > Doc
>
> From commandline execute: "tdecmshell componentchooser" - there select
> "terminal emulator" (or however it's called in your localisation). Problem:
> this will not only change it for konquereor, but all TDE.
>
> Nik
You might want to check out your config file(s), which can be changed with a
text editor.
I'm not sure which one governs your Konqueror settings; it could be that they
are duplicated for reasons unknown to me, or just that I have migrated
through several different Linux systems, always using KDE3 or TDE, so that I
am the culprit. Or maybe the KDE5 version of Konqueror is in the .kde folder,
and the Trinity version is in .trinity, which would make sense, but it ain't
necessarily so.
In any case, it seems to me that if you change the entry in these lines, you
can have whatever terminal-emulator you want.
************
/home/<USERNAME>/.kde/share/config/konquerorrc
-or-
/home/<USERNAME>/.trinity/share/config/konquerorrc
[Open-with settings]
...
/usr/bin/x-terminal-emulator,konsole
************
And here you will find another variant:
/opt/trinity/share/config.kcfg/konqueror.kcfg
<group name="General" >
<!-- konq_mainwindow.cpp -->
<entry key="TerminalApplication" type="String">
<default>konsole</default>
<label></label>
<whatsthis>Terminal application to use.</whatsthis>
<!-- checked -->
</entry>
</group>
************
Maybe this will help.
Bill