03-09-2015, 11:32 AM
Argh, I haven't merged my master branch with the one in linuxlite/master. :)
I've sorted it out. I've sent a new pull request.
I've sorted it out. I've sent a new pull request.
![[Image: X5qGkCg.png]](https://imgur.com/X5qGkCg.png)
(04-28-2015, 01:15 AM)Jerry link Wrote: I'm in the process of adding the ability to change Hostname in Lite Tweaks. Feel free to contribute if you like.Contributed. Changed the function completely.
Work in progress - https://github.com/linuxlite/litetweaks
sed -i '/127.0.1.1/c\127.0.1.1 '$hostn'' /etc/hostssed -i "s/$current_hostname/$newhost/g" /etc/hosts![[Image: X5qGkCg.png]](https://imgur.com/X5qGkCg.png)
<<<<<<< HEAD
newhost=$(zenity --entry --title="Change Hostname" --text="Your current hostname is:\n\n${current_hostname}\n\nEnter your new hostname or cancel." --entry-text="${current_hostname}")
=======
newhost=$(zenity --entry --title="Lite Tweaks: Hostname" --text="Your current hostname is:\n\n${current_hostname}\n\nEnter your new hostname or cancel." --entry-text="${current_hostname}")
>>>>>>> 99be23cd98d9604cc388f8dbb19f0e5a0a9e26ad![[Image: X5qGkCg.png]](https://imgur.com/X5qGkCg.png)
![[Image: X5qGkCg.png]](https://imgur.com/X5qGkCg.png)