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

Questions about applications and software
Forum rules
Before you post please read this

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

Postby SamQasbah on 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.
SamQasbah
Level 1
Level 1
 
Posts: 11
Joined: Tue Jun 12, 2012 12:48 pm

Linux Mint is funded by ads and donations.
 

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

Postby zerozero on 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)
zerozero
Level 16
Level 16
 
Posts: 6467
Joined: Tue Jul 07, 2009 2:29 pm

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

Postby SamQasbah on 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.
SamQasbah
Level 1
Level 1
 
Posts: 11
Joined: Tue Jun 12, 2012 12:48 pm

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

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

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

Postby ufkub on Thu Jun 13, 2013 9:52 am

And for Linux Mint 15 Olivia, Cinnamon Edition, the commands are:

Code: Select all
sudo apt-get purge gedit
sudo apt-get purge gedit-common
sudo apt-get install gedit-common/raring
sudo apt-get install gedit/raring
ufkub
Level 1
Level 1
 
Posts: 1
Joined: Thu Jun 13, 2013 9:47 am

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

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

Thanks guys! I was going mental trying to do this :)
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 crobar on Thu Dec 05, 2013 1:03 pm

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

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

Postby crobar on 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: 17
Joined: Thu Nov 15, 2012 6:36 am

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

Postby crobar on 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
crobar
Level 1
Level 1
 
Posts: 17
Joined: Thu Nov 15, 2012 6:36 am

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

Postby mnooner256 on 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
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 mitros123 on 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
Classic theme for gedit 3.10, with a white background.
(1.68 KiB) Downloaded 50 times
mitros123
Level 1
Level 1
 
Posts: 1
Joined: Sat Jul 05, 2014 9:24 am

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: chiefjim, renoldscott, teilnehmer and 32 guests