Date: Sat, 07 Feb 2004 19:25:45 -0500 From: Joe Marcus Clarke <marcus@marcuscom.com> To: zhangweiwu@realss.com Cc: freebsd-gnome@freebsd.org Subject: Re: how to set environment variables for gnome? Message-ID: <1076199945.25803.15.camel@shumai.marcuscom.com> In-Reply-To: <Law11-F106vPEkGhAj500002d12@hotmail.com> References: <Law11-F106vPEkGhAj500002d12@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-yFLGSH6FlxiTWT+Z5vMq Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 2004-02-05 at 02:33, Zhang Weiwu wrote: > Hello. I'm afraid I may be posting message to the wrong list ... If this = is=20 > OT please tell me where should this kind of questions go to... the=20 > gnome-freebsd list on gnome.org looks almost dead. >=20 > If I start gnome from startx(1), I can set XMODIFIERS before that. But no= w=20 > I use gdm, how do I set XMODIFIERS? >=20 > Simply put a "setenv XMODIFIERS @im=3Dchinput" in ~/.cshrc or "export=20 > XMODIFIERS=3D@im=3Dchinput" in ~/.shrc won't work. I assume you're using gdm to start X. If so, and you're using a gdm2-2.4.4.x, then you can create a ~/.xprofile file that contains Bourne-shell like initializations. For example: XMODIFIERS=3D@im=3Dchinput ; export XMODIFIERS And that should carry into your X session (note: this can also go in ~/.prolfile). Joe >=20 > Thank you! >=20 > _________________________________________________________________ > =E4=B8=8E=E8=81=94=E6=9C=BA=E7=9A=84=E6=9C=8B=E5=8F=8B=E8=BF=9B=E8=A1=8C= =E4=BA=A4=E6=B5=81=EF=BC=8C=E8=AF=B7=E4=BD=BF=E7=94=A8 MSN Messenger: http= ://messenger.msn.com/cn =20 >=20 > _______________________________________________ > freebsd-gnome@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org" --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-yFLGSH6FlxiTWT+Z5vMq Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAJYIJb2iPiv4Uz4cRAofTAKCnJuUm2sggDK/SRRAUbQEwS+G9VACcCmZd 5LUlJr4mxnaFNeu77LrRx/w= =JbiY -----END PGP SIGNATURE----- --=-yFLGSH6FlxiTWT+Z5vMq--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1076199945.25803.15.camel>