Exporting environment variables in rxvt

Booting, installing, newbie
Post Reply
Message
Author
vanchutr
Posts: 438
Joined: Sat 05 Aug 2006, 12:04

Exporting environment variables in rxvt

#1 Post by vanchutr »

When I use rxvt with these command:
# echo $GTK_IM_MODULE
# echo $XMODIFIERS

I did't seen anything?
I'd met what errors
(I'd used puppy release 212 (pup_212.sfs)

Please help me.
Thank

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#2 Post by GuestToo »

# export GTK_IM_MODULE=scim
# export XMODIFIERS=@im=SCIM
# set | grep -i scim
GTK_IM_MODULE=scim
XMODIFIERS=@im=SCIM
#
# echo $XMODIFIERS
@im=SCIM
# echo $GTK_IM_MODULE
scim
#

it seems to work for me

to set those variables globally, put the export lines in the file /etc/profile.local ... if that file does not exist, create it ... then reboot, then check if they are set properly (by typing echo $GTK_IM_MODULE and echo $XMODIFIERS)

if you just type that in a console window, the variables will be set in that window only, they will not be set globally

Post Reply