Bug 177130 - PATH is not transmitted through startkde
Summary: PATH is not transmitted through startkde
Status: CLOSED DUPLICATE of bug 177258
Alias: None
Product: Fedora
Classification: Fedora
Component: kdebase
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Ngo Than
QA Contact: Ben Levenson
Depends On:
TreeView+ depends on / blocked
Reported: 2006-01-06 15:55 UTC by Sammy
Modified: 2007-11-30 22:11 UTC (History)
0 users

Clone Of:
Last Closed: 2006-01-13 22:40:46 UTC

Attachments (Terms of Use)

Description Sammy 2006-01-06 15:55:43 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8) Gecko/20060103 Fedora/1.5-4 Firefox/1.5

Description of problem:
I noticed that some applications that I start from the KDE desktop don't have
the full system PATH defined to them. For example, I have graphical editors
that have a window for executing shell commands. If you start the application
from the konsole it has the full PATH.

I put an echo $PATH into startkde and got this:


Whereas my path (say in konsole, coming from bash) is:


If I put this PATH into startkde and export it everyhting works fine. Perhaps
we need to source something in startkde.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Start an application from the desktop that can execute shell commands (not konsole)

Additional info:

Comment 1 Sammy 2006-01-09 17:08:49 UTC
This seems to be related to the new bash. startkde is not considered a login
shell and therefor initilization files are not sourced. The following change
fixes the problem:

#!/bin/sh ------> #!/bin/bash -l

Comment 2 Sammy 2006-01-10 15:24:18 UTC
Please see:


Something has changed in the kde/kdm startup to cause this but I could
not find it.

Comment 3 Ray Strode [halfline] 2006-01-13 22:40:46 UTC

*** This bug has been marked as a duplicate of 177258 ***

Comment 4 Tim Waugh 2006-01-17 09:51:10 UTC
Please try with bash-3.1-5.

Note You need to log in before you can comment on or make changes to this bug.