Am Dienstag, 10. Oktober 2017 schrieb Greg Madden:
On Monday 09 October 2017 04:50:18 pm E. Liddell wrote:
On Mon, 9 Oct 2017 21:43:47 +0200
Gerhard Zintel gerhard.zintel@mrs-thomas.de wrote:
On Monday 09 October 2017, Dr. Nikolaus Klepp wrote:
When I start kmail without "starttde" - from xterm under fvwm for example - then klicking on a *.pdf in kmail results in a dialog popping up ("What application ..."). "kcontrol" starts with an empty splitscreen window, no modules visible.
Same for me starting TDE applications. Not only Kmail asks for the kind of program to be used to open any application. Even Konqueror asks for it when adviced to open something in an external window. It opens PDF, PNG and others fine in its internal viewer though.
It sounds to me like KMail etc. are failing to find a list of associations between mimetypes and applications, but I'm not sure where that information is stored (I do seem to remember than KDE3 did not follow the standard for storing that information that's now used by most desktops--did we ever update
E. Liddell
My issue is different but what I have found that might be relevant: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
When TDE starts up normal as the default DE, lots of "declare -x XDG_=*" Trinity "stuff" gets set. Check your export command and compare the difference for a TDE session and a FVWM session.
Greg, that solved the issue :-)
The solution looks like this: In .xinitrc (or whatever you use to start your DE), I put these lines:
export TDE_FULL_SESSION=false export TDEHOME=$HOME/.trinity export TDEROOTHOME=/root/.trinity export TDE_SESSION_UID=$UID export TDE_MULTIHEAD=false export TDEDIR=/opt/trinity export XDG_CONFIG_DIRS=/opt/trinity/etc/xdg export XDG_DATA_DIRS=/opt/trinity/share:/usr/local/share:/usr/share tdeinit_shutdown tdeinit # start whatever WM you need fvwm
Now "kcontrol" comes up with all modules, clicking on *.pdf in "kmail" brings up kpdf, "konqueror" works as expected :-)
Nik