Ubuntu-16-Tweaks

“Create new document” - right-click option ====================================
Create one if not, ~/Templates folder.

$ touch ~/Templates/Text\ File.txt
$ touch ~/Templates/Text\ File.txt


"Create Document" option is back again and you can create a new text file or a new document.

Set-Sh-File-to-Ask-on-Opening
====================================

$ gsettings set org.gnome.nautilus.preferences executable-text-activation ask

Rename-Network-Device
====================================

Edit your /etc/default/grub changing the line from
GRUB_CMDLINE_LINUX="" to
GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"

# vi  /etc/default/grub
...
GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"
...
#
# update-grub
# sudo reboot


Change the Default Text Editor on Ubuntu
==========================================

$ sudo update-alternatives --config editor
There are 3 choices for the alternative editor (providing /usr/bin/editor).
  Selection    Path               Priority   Status
------------------------------------------------------------
  0            /bin/nano           40        auto mode
  1            /bin/ed            -100       manual mode
* 2            /bin/nano           40        manual mode
  3            /usr/bin/vim.tiny   10        manual mode

Press to keep the current choice[*], or type selection number:

$

To change the default editor to vim,  just hit the number 3.

Change the Default TimeZone
==========================================

# dpkg-reconfigure tzdata
# cat /etc/timezone