configuration

Change the default editor for git commit

There are many ways to change the default editor used for entering committing message to the git repository.

1 - Commit using the command line itself

$ git commit -m "my first commit"
 

2 - Change the editor using the command line and git command
I prefer emacs so I will use emacs as my default git commit editor.

$ git config --global core.editor "emacs"
 

3 - Add the editor info to the gitconfig file

$ cd
$ emacs .gitconfig
 

Once you have opened the file add the following lines to it

[core]

Activate, Deactivate and Disable icon are disabled or greyed on the network console

If you are using network manager and the old default network is disabled and the icons are greyed out the just do the following,

For each connection check if "controlled by Networkmanager" is enabled. If it is enabled disable it.

Now you should have the option to activate and deactivate as well as the delete option.

Network, Battery icons are missing from the top right panel

To get back the missing icons we just have to follow one simple step

panel > right click > add to panel > notification area