Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How do I do this. I've tried setting this in a script and in the "command" to run at launch in gnome-terminal profile preferences.

Additionally, there is a full set of .bashrc .*rc files in the new $HOME location that I _do_not_ want bash to use as at terminal startup ... maybe this is part of the problem. There may not be way to do this?

share|improve this question
    
first of all: why do you want to change the value of HOME? do you simply want to change the home directory of your user? –  Baarn Jan 24 '12 at 15:35
    
I do work on a server with everything nicely setup in /home/user/ but the server is slow so it's would be nice to do some development on the local box as if I was working on the server. Superficially, I thought redefining $HOME might be a good way of doing this ... anyway, it's probably a bad idea altogether. I think bad things can happen redefining HOME since so many processes may depend onit. –  mathtick Jan 24 '12 at 22:52
1  
you could move your home directory with usermod -d /new/path -m the -m option ensures that all the content is moved to the new directory. you need superuseraccess to do this change though. and always make a backup of your files before doing such stuff. –  Baarn Jan 25 '12 at 3:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.