We are used to some great pieces of software like Gedit, Notepad++, Brackets or Atom for writing our code. Among their multiple advantages, the syntax highlighting is one of their most useful, as it help us to quickly identify the blocks of our code.
However, sometimes we need to use the terminal, for example, for editing a file that is being through ssh.
Thanks to scopatz we can easily modify our nano to show our code in colours and highlight the syntax:
Take a look to his nanorc‘s github for more details.
If you are using a version of nano under 2.1.5, your .nanorc should look like this to avoid compatibility problems:
Although the use of Fedora is not as extended as Debian/Ubuntu/Linux Mint, it’s a robust distro and it’s really wide-distributed and easy to use. Unlike Ubuntu and Linux Mint, Fedora is not based on Debian, but on Red Hat, and it includes Gnome 3 as the default desktop.
If you are thinking about giving a chance to this great distro, for sure these utils are going to save a lot of time and effort:
Fedy: Installs codecs, software, repositories…
Gnome Tweak Tool: Customize advanced Gnome 3 options.
dConf Editor: Editor for low-level settings.
Gnome Extensions: add plugins and extra functions to your Gnome 3 desktop.
PostInstallerFedora: simplify and automatize the installation of a long list of available software.
After installing the propietary nvidia drivers from the RPM Fusion repository, probably Fedora 20 is not going to finish the booting process… However, pressing [CTRL]+[F2] we can log in the text-only terminal and fix the problem.
- Remove the installed drivers: [codebox 1]
- Reboot: [codebox 2]
- Now you should have a basic graphic interface. Go to /etc/X11 and remove any xorg.conf files. You will need superuser permissions.
- Clean and update yum: [codebox 3]
- Install nVidia: [codebox 4]
- Force akmod: [codebox 5]
That should be enough to solve the problem.