Page 1 of 1

[SOLVED] Gedit 3 on Nadia Cinnamon. Is it Possible?

Posted: Fri Nov 23, 2012 12:27 pm
by SamQasbah
Hallo. I use Gedit to write code. I need some Gedit plugins that work well on Gedit 3. Now I have installed Nadia Cinnamon that offer Gedit 2.30 by default. Is it possible to upgrade the default Gedit 2.30 to the current Gedit 3?

Thanks a lot.

Re: Gedit 3 on Nadia Cinnamon. Is it Possible?

Posted: Fri Nov 23, 2012 12:43 pm
by zerozero
let's give a try at this

Code: Select all

sudo apt-get install gedit/quantal
(post back the output)

Re: Gedit 3 on Nadia Cinnamon. Is it Possible?

Posted: Fri Nov 23, 2012 2:42 pm
by SamQasbah
zerozero wrote:let's give a try at this

Code: Select all

sudo apt-get install gedit/quantal
(post back the output)
Right!

Inspired by you I used this sequence and it works.

Code: Select all

sudo apt-get purge gedit
sudo apt-get purge gedit-common
sudo apt-get install gedit-common/quantal
sudo apt-get install gedit/quantal
Many thanks.

Re: [SOLVED] Gedit 3 on Nadia Cinnamon. Is it Possible?

Posted: Fri Nov 23, 2012 2:46 pm
by zerozero
:D i wasn't completely sure that it would work :mrgreen: was kinda of a first attempt to see where to go next; glad you figure it out :lol:

Re: [SOLVED] Gedit 3 on Nadia Cinnamon. Is it Possible?

Posted: Tue Jun 18, 2013 4:06 pm
by yagolf
Thanks guys! I was going mental trying to do this :)

Re: [SOLVED] Gedit 3 on Nadia Cinnamon. Is it Possible?

Posted: Thu Dec 05, 2013 1:03 pm
by crobar
For Mint Linux 16?

Re: [SOLVED] Gedit 3 on Nadia Cinnamon. Is it Possible?

Posted: Thu Dec 05, 2013 1:06 pm
by crobar
crobar wrote:For Mint Linux 16?
Never mind:

http://forums.linuxmint.com/viewtopic.php?f=47&t=140468

Re: [SOLVED] Gedit 3 on Nadia Cinnamon. Is it Possible?

Posted: Thu Dec 05, 2013 1:12 pm
by crobar
I take back my previous post, the correct procedure is:

Code: Select all

sudo apt-get purge gedit
sudo apt-get purge gedit-common
sudo apt-get install gedit-common/saucy
sudo apt-get install gedit/saucy

Re: [SOLVED] Gedit 3 on Nadia Cinnamon. Is it Possible?

Posted: Wed May 21, 2014 10:21 am
by mnooner256
For me this is the first link when googling for upgrading Gedit in Linux Mint.

I took the directions from here and abstracted it to a script that should always allow you to upgrade to Gedit, even after Mint updates. The trick is to grab the Ubuntu "adjective" release name from /etc/apt/sources.list.d/official-package-repositories.list.

The script also does a little bit of error checking. It also only updates Gedit if the version is not already 3.x.

Code: Select all

#!/bin/bash

#Make sure we are root
if [[ "$UID" != 0 ]] ; then
    echo 'You must be root to do this.'
    echo "usage: sudo $0"
    exit 1

#Check if Gedit has already been updated
elif gedit --version | grep -q 'Version 3.' ; then
    echo 'Gedit is already version 3'
    exit 2
fi

#Get the Ubuntu adjective
export ADJECTIVE=$( grep -m 1 'ubuntu' /etc/apt/sources.list.d/official-package-repositories.list | cut -d ' ' -f 3 )

#Remove the current version of Gedit (i.e. Gedit version 2.x)
apt-get purge -y gedit gedit-common

#Install the 3.x version of Gedit
apt-get install -y gedit-common/$ADJECTIVE gedit/$ADJECTIVE

Re: [SOLVED] Gedit 3 on Nadia Cinnamon. Is it Possible?

Posted: Sat Jul 05, 2014 9:34 am
by mitros123
Hello.
Gedit 3.10 in Linux Mint 17 (Ubuntu trusty) has a gray-ish background (it is not white). You can see the white background if you apply the "Kate" theme. However, no other theme has the syntax highlighting of the "Classic" theme, and that is why I have to stay with the "Classic" theme. Is there any way to change Gedit 3.10 backround to be white? In Ubuntu 14.04 there is no such issue, the background is white by default.

Edit: I think I have found a possible solution (haven't tested it thoroughly tho).

a)Install Gedit 3.10 in LM17 (or use the script above)

Code: Select all

sudo apt-get purge gedit
sudo apt-get purge gedit-common
sudo apt-get install gedit-common/trusty
sudo apt-get install gedit/trusty
b)Download the attached .zip file and unzip its .xml content somewhere.

c)Open gedit, Tools->Preferences->Fonts and Colors . Click the "+" button in the bottom left corner, to install a new theme. Navigate to the .xml file, and install it.