How to add lines to $HOME/.bashrc

Asked by Peter Saxon

I started IBus & need to add the following lines to $HOME/.bashrc
  export GTK_IM_MODULE=ibus
  export XMODIFIERS=@im=ibus
  export QT_IM_MODULE=ibus
Where do I find $HOME/.bashrc?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu xserver-xorg-video-nv Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

That's like asking:

where do I find c:\boot.ini

$HOME/.bashrc is the file. $HOME is a handy variable to reference /home/$USER so if you run:

gedit $HOME/.bashrc

it will open the file....

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Once you make the change and close gedit, you will need to run:

source ~/.bashrc

to apply the new changes.

Can you help with this problem?

Provide an answer of your own, or ask Peter Saxon for more information if necessary.

To post a message you must log in.