where to set variables like PATH, CUPS_SERVER...

Gary L. Greene Jr. greeneg at arklinux.org
Mon Feb 14 18:48:06 GMT 2005


On Monday 14 February 2005 12:43 pm, Kevin Krammer wrote:
> On Monday 14 February 2005 18:25, gregor wrote:
> > both are now set in /etc/profile, /etc/bash.bashrc and ~/.bashrc, but
> > that still does not solve the problem. i logged in and out and inside kde
> > nothing changed, even after restarting gdm. do i even have to restart my
> > computer? i'm using Debian/Sarge with KDE 3.3.2.
>
> You could try it with a restart.
>
> Other possibility: try it in /etc/login.defs
> Look for ENV_PATH
>
> I admit I have hacked it into startkde though.
>
> Maybe gdm has some file where it can set variables depending on started
> session?
>
> Cheers,
> Kevin

Also, if you read the contents of startkde, it allows this functionality by 
adding two directories and various env scripts in them. These dirs are 
$KDEDIRS/env and $KDEDIRS/shutdown.

-- 
Gary L. Greene, Jr.
Sent from uriel
 13:46:28 up 21:57,  4 users,  load average: 0.01, 0.17, 0.22
 
============================================================
Developer and Project Lead for the Ark Linux Project
 check out http://www.arklinux.org/ for more info.
 Also http://www.csis.gvsu.edu/~greeneg/
EMAIL : greeneg at arklinux.com
============================================================
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde/attachments/20050214/35567e85/attachment.sig>
-------------- next part --------------
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


More information about the kde mailing list