terminal prompt
- ralcocer
- Samurai
- Posts: 187
- Joined: 02 Jan 2011, 12:53
- Distribution: 3.2rc5 Xfce
- Location: Puerto Rico
- Contact:
terminal prompt
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
~/.bashrc ?How do I personalize the terminal prompt
You should reboot Porteus (or any other Linux distros) after modifying the hostname.I have change the usual places in etc/HOSTNAME
NjVFQzY2Rg==
- ralcocer
- Samurai
- Posts: 187
- Joined: 02 Jan 2011, 12:53
- Distribution: 3.2rc5 Xfce
- Location: Puerto Rico
- Contact:
Re: terminal prompt
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.
- fanthom
- Moderator Team
- Posts: 5590
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: terminal prompt
if 002-xorg.xzm is active then NetworkManager manages hostname, ip, dns, etc...no matter what you have in HOSTNAME porteus always comes out.
please change hostname in /etc/NetworkManager/NetworkManager.conf
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.also just before the "issue" file is displayed it says it is logging in to porteus
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/
Please add [Solved] to your thread title if the solution was found.
- ralcocer
- Samurai
- Posts: 187
- Joined: 02 Jan 2011, 12:53
- Distribution: 3.2rc5 Xfce
- Location: Puerto Rico
- Contact:
Re: terminal prompt
Thanks, I will be moving on.