You are not logged in.
Pages: 1
it seems that I was failed to set environment variables in the ~/.bashrc ?
why?
sorry for my poor English ?
Last edited by fengya (2011-05-01 02:25:26)
Offline
More details please. What did you try? Which file did you edit?
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Can you show us the file?
Vanity of vanities, saith the Preacher, vanity of vanities; all is vanity.
What profit hath a man of all his labour which he taketh under the sun?
All the rivers run into the sea; yet the sea is not full; unto the place from whence the rivers come, thither they return again.
For in much wisdom is much grief: and he that increaseth knowledge increaseth sorrow.
Offline
i'm chinese so i use ibus-pinyin to input chinese characters,
but ibus didn't work with opera,
after i google the problem, the solution is to put
export XMODIFIERS=@im=ibus
export GTK_IM_MODULE=xim
export QT_IM_MODULE=xim
into .bashrc
but now i found 'echo $XMODIFIERS' is null so the .bashrc seems didn't work
Offline
You need to source the file. Type
. ~/.bashrc
in the terminal and check 'echo $XMODIFIERS' again. It works like this for me
[karol@black ~]$ echo $XMODIFIERS
@im=ibus
Last edited by karol (2011-04-30 14:26:05)
Offline
sorry ,i have a bad network so i did't know i have repeat so many time
Offline
You need to source the file. Type
. ~/.bashrc
in the terminal and check 'echo $XMODIFIERS' again.
of course, after
. ~/.bashrc
the $XMODIFIERS is not null,but when i use ubuntu, the .bashrc will be run when i login gnome,why the arch didn't
Offline
Do check if you added those entries to the .bashrc of the correct user.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Check your .bash_profile and see if it includes this line:
[[ -f ~/.bashrc ]] && . ~/.bashrc
if it doesn't have this line, add it. If you don't even have this file, create it and put that line there.
Yo Dawg, I heard you likes patches, so I have created a patch for your patch, so you can patch your patches before you patch.
Offline
When used as a login shell bash tries to read ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order. Thus you need to source your ~.bashrc from one of these. Usually there is a ~/.bash_profile containing containing (as in my system):
Source the .bashrc settings:
. $HOME/.bashrc
# Make sure the users bin directory will be searched in first place.
if [ -d $HOME/bin ]
then
export PATH=$HOME/bin:$PATH
fi
# Make GTK use native windowing (for flash UI elements)
export GDK_NATIVE_WINDOWS=1
To know or not to know ...
... the questions remain forever.
Offline
thanks all above,i input the command in the .profile and the problem solved
Offline
Moderator: Fengya, Somehow you had several copies of the same post. I cleaned that up. If the problem is resolved, please go ahead and edit your first post, use the option to edit the thread title, and add [SOLVED] to the title.
Thanks
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Pages: 1