Page 1 of 1

terminal prompt

Posted: 21 May 2013, 21:04
by ralcocer
How do I personalize the terminal prompt, I have change the usual places in etc/HOSTNAME and profile and razor but still get porteus as the general ID of the system.

Re: terminal prompt

Posted: 21 May 2013, 21:19
by Hamza
How do I personalize the terminal prompt
~/.bashrc ?
I have change the usual places in etc/HOSTNAME
You should reboot Porteus (or any other Linux distros) after modifying the hostname.

Re: terminal prompt

Posted: 22 May 2013, 16:27
by ralcocer
I did replace it in all the places however I had to hard code the change, the "h" variable seems to be hard coded into the system bacause no matter what you have in HOSTNAME porteus always comes out., also just before the "issue" file is displayed it says it is logging in to porteus.

Re: terminal prompt

Posted: 22 May 2013, 19:35
by fanthom
no matter what you have in HOSTNAME porteus always comes out.
if 002-xorg.xzm is active then NetworkManager manages hostname, ip, dns, etc...
please change hostname in /etc/NetworkManager/NetworkManager.conf
also just before the "issue" file is displayed it says it is logging in to porteus
this is hardcoded in linuxrc (inside initrd). there are many places where porteus name is present (scripts, config files, even artwork) so rebranding is tough but still possible. please dont ask me about these cause i dont even remember all of them.

it may be a better idea to use Linux-Live-Kit by Tomas M which (afaik) let's you choose a name of your live distro:
http://www.linux-live.org/

Re: terminal prompt

Posted: 22 May 2013, 23:30
by ralcocer
Thanks, I will be moving on.