Bug 338700 - Applications launched from .desktop file do not respect $KDEHOME
Summary: Applications launched from .desktop file do not respect $KDEHOME
Status: RESOLVED INTENTIONAL
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: kdecore (other bugs)
Version First Reported In: 4.14.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-31 20:21 UTC by Till Schäfer
Modified: 2018-11-14 14:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
the script to start firefox with different KDEHOME (306 bytes, application/x-shellscript)
2014-08-31 20:23 UTC, Till Schäfer
Details
firefox.desktop file that calls the script (389 bytes, application/x-desktop)
2014-08-31 20:24 UTC, Till Schäfer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Till Schäfer 2014-08-31 20:21:31 UTC
When launching a program with a different $KDEHOME than the default env KDEHOME from Kickoff / over a .desktop file, the application is always launched with the default env KDEHOME and not with the specified one. 

Background: I have written a small script to start firefox with a different kde-environment in order to change the color scheme to a light one, becuase the firefox does not play well with dark themes.
If i launch the script from a terminal, firefox is launched with the light color scheme, but if i call the script from a .desktop file, it starts with my default dark theme. 

Reproducible: Always

Steps to Reproduce:
1. call the script from a .desktop file
Comment 1 Till Schäfer 2014-08-31 20:23:00 UTC
Created attachment 88511 [details]
the script to start firefox with different KDEHOME

the script does also start firefox as a single instance only, but this works as intended.
Comment 2 Till Schäfer 2014-08-31 20:24:35 UTC
Created attachment 88512 [details]
firefox.desktop file that calls the script
Comment 3 Andrew Crouthamel 2018-11-12 02:44:42 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Till Schäfer 2018-11-14 14:32:54 UTC
AFAIK, $KDEHOME is no longer useful in kde 5 days. Thus, I am closing the bug.