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

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
SamQasbah

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

Post 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.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
zerozero

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

Post by zerozero »

let's give a try at this

Code: Select all

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

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

Post 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.
zerozero

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

Post 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:
yagolf

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

Post by yagolf »

Thanks guys! I was going mental trying to do this :)
crobar
Level 1
Level 1
Posts: 41
Joined: Thu Nov 15, 2012 6:36 am

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

Post by crobar »

For Mint Linux 16?
crobar
Level 1
Level 1
Posts: 41
Joined: Thu Nov 15, 2012 6:36 am

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

Post by crobar »

crobar wrote:For Mint Linux 16?
Never mind:

http://forums.linuxmint.com/viewtopic.php?f=47&t=140468
crobar
Level 1
Level 1
Posts: 41
Joined: Thu Nov 15, 2012 6:36 am

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

Post 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
mnooner256

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

Post 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
mitros123

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

Post 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.
Locked

Return to “Software & Applications”