setting KDEDIRS
[please CC me on replies] I am trying to figure out how to best set KDEDIRS for Debian's KDE. I tried pam_env and the kdm init.d script, but as soon as startkde is called, the environment is cleaned and I can't figure out where or how. So the only way to set $KDEDIRS for startkde is to modify /usr/bin/startkde directly, which is horrible. Am I overseeing something? Please advise! -- Please do not send copies of list mail to me; I read the list! .''`. martin f. krafft [EMAIL PROTECTED] : :' :proud Debian developer, admin, user, and author `. `'` `- Debian - when you have better things to do than fixing a system Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver! signature.asc Description: Digital signature
Re: setting KDEDIRS
On Monday 01 November 2004 10:53, martin f krafft wrote: [please CC me on replies] I am trying to figure out how to best set KDEDIRS for Debian's KDE. I tried pam_env and the kdm init.d script, but as soon as startkde is called, the environment is cleaned and I can't figure out where or how. So the only way to set $KDEDIRS for startkde is to modify /usr/bin/startkde directly, which is horrible. Am I overseeing something? Please advise! settting it in a Xsession.d script should work (done by both debian-edu-config, and desktop-profiles) -- Cheers, cobaco (aka Bart Cornelis) 1. Encrypted mail preferred (GPG KeyID: 0x86624ABB) 2. Plain-text mail recommended since I move html and double format mails to a low priority folder (they're mainly spam) pgpGJVaA02eew.pgp Description: PGP signature
Re: setting KDEDIRS
El Lunes, 1 de Noviembre de 2004 10:53, martin f krafft escribió: [please CC me on replies] I am trying to figure out how to best set KDEDIRS for Debian's KDE. I tried pam_env and the kdm init.d script, but as soon as startkde is called, the environment is cleaned and I can't figure out where or how. So the only way to set $KDEDIRS for startkde is to modify /usr/bin/startkde directly, which is horrible. Am I overseeing something? Please advise! There is per-user possibility as a alternative to what Bart has said. Put a shell script in ~/.kde/env/, and it will be sourced at login time. HTH, because I can't recall if there was another possibility to make this system wide, without using the xsession stuff. Greetings. -- Alex (a.k.a. suy) - GPG ID 0x0B8B0BC2 http://darkshines.net/ - Jabber ID: [EMAIL PROTECTED]
Re: setting KDEDIRS
also sprach Alejandro Exojo [EMAIL PROTECTED] [2004.11.01.1126 +0100]: There is per-user possibility as a alternative to what Bart has said. Put a shell script in ~/.kde/env/, and it will be sourced at login time. Well, I definitely want it system-wide. Anyhow, From what I understand, this was only added in 3.3. Sarge still has 3.2.3... HTH, because I can't recall if there was another possibility to make this system wide, without using the xsession stuff. This is a good idea. Out of curiosity, where is the environment reset??? Inside KDM? /me really wanted to use pam_env for this. :( -- Please do not send copies of list mail to me; I read the list! .''`. martin f. krafft [EMAIL PROTECTED] : :' :proud Debian developer, admin, user, and author `. `'` `- Debian - when you have better things to do than fixing a system Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver! signature.asc Description: Digital signature
Re: setting KDEDIRS
El Lunes, 1 de Noviembre de 2004 11:38, martin f krafft escribió: also sprach Alejandro Exojo [EMAIL PROTECTED] [2004.11.01.1126 +0100]: There is per-user possibility as a alternative to what Bart has said. Put a shell script in ~/.kde/env/, and it will be sourced at login time. Well, I definitely want it system-wide. Anyhow, From what I understand, this was only added in 3.3. Sarge still has 3.2.3... Oh, sorry. It's true, this is only for =3.3. :-( I just want to add, that it seems that is possible to do this system wide. I found this in startkde: # Source scripts found in localprefix/env/*.sh and prefixes/env/*.sh # (where localprefix is $KDEHOME or ~/.kde, and prefixes is where KDE is installed) -- Alex (a.k.a. suy) - GPG ID 0x0B8B0BC2 http://darkshines.net/ - Jabber ID: [EMAIL PROTECTED]
Re: setting KDEDIRS
* martin f krafft [Mon, 01 Nov 2004 11:38:45 +0100]: Out of curiosity, where is the environment reset??? Inside KDM? /me really wanted to use pam_env for this. :( I have variables set in /etc/environment set in my KDE session. -- Adeodato Simó EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621 When all is summed up, a man never speaks of himself without loss; his accusations of himself are always believed; his praises never. -- Michel de Montaigne
Setting KDEDIRS
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi people, I found another way to set KDEDIRS orion:exa$ cat /etc/X11/Xsession.d/95kde-environment export KDEDIRS=/usr:/usr/local/kde It seems to work, but who knows? Thanks, - -- Eray Ozkural (exa) [EMAIL PROTECTED] Comp. Sci. Dept., Bilkent University, Ankara www: http://www.cs.bilkent.edu.tr/~erayo GPG public key fingerprint: 360C 852F 88B0 A745 F31B EA0F 7C07 AE16 874D 539C -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7e8cDfAeuFodNU5wRAgeLAKCcOEx2z902aRWqJ5HQHE2ptE5IzwCfWghY gL3sV1lFqjGiTYKu9XwfGqs= =x5G1 -END PGP SIGNATURE-