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

Questions about applications and software
Forum rules
Before you post please read how to get help
SamQasbah
Level 1
Level 1
Posts: 12
Joined: Tue Jun 12, 2012 12:48 pm

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

Postby SamQasbah » Fri Nov 23, 2012 12:27 pm

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 SamQasbah on Fri Nov 23, 2012 2:43 pm, edited 1 time in total.

zerozero
Level 16
Level 16
Posts: 6514
Joined: Tue Jul 07, 2009 2:29 pm

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

Postby zerozero » Fri Nov 23, 2012 12:43 pm

let's give a try at this

Code: Select all

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

[ bliss of ignorance ]

SamQasbah
Level 1
Level 1
Posts: 12
Joined: Tue Jun 12, 2012 12:48 pm

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

Postby SamQasbah » Fri Nov 23, 2012 2:42 pm

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
Level 16
Level 16
Posts: 6514
Joined: Tue Jul 07, 2009 2:29 pm

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

Postby zerozero » Fri Nov 23, 2012 2:46 pm

: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:
Image

[ bliss of ignorance ]

yagolf
Level 1
Level 1
Posts: 5
Joined: Sun Nov 28, 2010 10:36 am

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

Postby yagolf » Tue Jun 18, 2013 4:06 pm

Thanks guys! I was going mental trying to do this :)

crobar
Level 1
Level 1
Posts: 22
Joined: Thu Nov 15, 2012 6:36 am

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

Postby crobar » Thu Dec 05, 2013 1:03 pm

For Mint Linux 16?

crobar
Level 1
Level 1
Posts: 22
Joined: Thu Nov 15, 2012 6:36 am

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

Postby crobar » Thu Dec 05, 2013 1:06 pm

crobar wrote:For Mint Linux 16?


Never mind:

viewtopic.php?f=47&t=140468

crobar
Level 1
Level 1
Posts: 22
Joined: Thu Nov 15, 2012 6:36 am

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

Postby crobar » Thu Dec 05, 2013 1:12 pm

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
Level 1
Level 1
Posts: 1
Joined: Wed May 21, 2014 10:12 am

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

Postby mnooner256 » Wed May 21, 2014 10:21 am

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
Level 1
Level 1
Posts: 1
Joined: Sat Jul 05, 2014 9:24 am

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

Postby mitros123 » Sat Jul 05, 2014 9:34 am

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.
Attachments
classic_white_background.xml.zip
Theme to give Gedit3 a white background in Linux Mint 17
(1.69 KiB) Downloaded 115 times


Return to “Software & Applications”

Who is online

Users browsing this forum: MajorMuff and 5 guests