If you are trying to use new plugins for Gedit, the default text editor on Mint, you might run into a problem as a lot of the new plugins require Gedit >=3.0 and be default Mint comes with 2.30.
To fix this you need to first get rid of Gedit 2.30 completely by running the following commands in your terminal.
sudo apt-get purge gedit
sudo apt-get purge gedit-common
Once those commands have completed successfully you need to run these commands to get the 3.6.1 version.
sudo apt-get install gedit-common/quantal
sudo apt-get install gedit/quantal
Now that we have the correct Gedit version we can install the Ruby and Rails plugins for Gedit. That’s all there is to it!
$ sudo apt-add-repository ppa:ubuntu-on-rails/ppa
$ sudo apt-get update
$ sudo apt-get install gedit-gmate
$ sudo apt-get install gedit-plugins
After you have installed PostgreSQL 9.1 on your Linux Mint 12/13/14, created a user login, a database with that user as the owner and try to connect to that database using that user, you may run into the following error:
Password for user someuser:
psql: FATAL: Peer authentication failed for user “someuser”
If this is the case, you need to open up this file /etc/postgresql/9.1/main/pg_hba.conf in a text editor (with root privileges) and change this line:
local all all peer
local all all md5
After changing and saving the file, restart the PostgreSQL server:
sudo service postgresql restart
You should not have no issue connecting to your databases using the associated user.
How to install Oracle JDK 7 instead of the OpenJDK on your Linux Mint 13 (or Ubuntu 12) system. I found that I needed the official JDK in order to properly run JetBrains’ RubyMine IDE as well as a few other applications which do not play well with OpenJDK.
To do this open a terminal and execute the following commands in order:
After the installation runs its course, check to make sure that Java is reporting the correct version of JDK 7. Execute the command:
It should return something like this:
If the version reported back is not the latest as installed by the above command you may need to force the system to update its references to Java and its executables. Run the following command and then check the version again to verify: