LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-30-2011, 09:33 AM   #1
mrm5102
Member
 
Registered: Apr 2011
Location: Philadelphia
Posts: 165

Rep: Reputation: 3
Will Older Versions of GNOME Work with Gedit 3?


Hello All,

On one of our servers were running:
Operating System
SUSE Linux Enterprise Server 10 (i586)
VERSION = 10
PATCHLEVEL = 2

GNOME
Gnome gnome-panel 2.12.3


I was wondering if it's possible to install Gedit 3 on my current versions listed above..?
There are a few plugins that I use on my own Laptop with Gedit 3, which are written in Python, and I believe plugins for Gedit 2.12.1 (which is what is on the server) are written in 'C' and use "Shared Object" Files (.so).

First I tried adding this third party plugin which I use on my laptop to the server's Gedit dir, but the only files that came along with it are a Python (.py) File and a Plugin (.gedit-plugin) File.

When opening Gedit from the command line I can see, outputted to the terminal, a few "WARNING/ERROR" messages saying certain things were missing from the .gedit-plugin file like: 'Location' and 'Author'.
So I added those 2 sections into the file and then FINALLY the Plugin showed up in the list of plugins from "Edit >> Preferences >> Plugins" but when I try to choose the plugin I get the following ERROR outputted to the command line: (Here is an example from one of the Plugins)

Code:
** (gedit:14620): WARNING **: Error, unable to open module file '/opt/gnome/lib/gedit-2/plugins/libMatchBrace.so: cannot open shared object file: No such file or directory'

** (gedit:14620): WARNING **: Error, impossible to activate plugin 'Matching Brackets 0.1!'
These are the 2 files that I downloaded for the (above) Plugin:
1. MatchBrace.gedit-plugin
2. MatchBrace.py


If anyone could lend me a hand that would be great. Either try to install the newer Gedit 3 (if possible) or allow Gedit 2 to use those plugins...?


Thanks in Advance,
Matt
 
Old 01-01-2012, 12:18 PM   #2
towheedm
Member
 
Registered: Sep 2011
Location: Trinidad & Tobago
Distribution: Debian Stretch
Posts: 612

Rep: Reputation: 125Reputation: 125
Gedit3 will not work on older versions of Gnome because of dependency issues. Not sure about the gedit3 plugins working in gedit2 though.

I have gedit 2.30.4 installed and some of the plugins are python scripts though. I use Debian Squeeze.
 
Old 01-03-2012, 08:34 AM   #3
mrm5102
Member
 
Registered: Apr 2011
Location: Philadelphia
Posts: 165

Original Poster
Rep: Reputation: 3
Hey towheedom, thanks for the reply.

Did you install "extra" or 3rd Party plugins yourself?
If so, what directory did you add them to, and do you know which files where part of the plugin..?

The one I'm trying to use only comes with a Python ".py" and a Plugin ".gedit-plugin" files.
I found the directory for where the default plugins that come with gedit are, and each plugin has
a Shared Object ".so" file and a ".gedit-plugin" file...

Any idea which files where with your's..?


Thanks Again,
Matt
 
Old 01-03-2012, 09:58 PM   #4
towheedm
Member
 
Registered: Sep 2011
Location: Trinidad & Tobago
Distribution: Debian Stretch
Posts: 612

Rep: Reputation: 125Reputation: 125
Actually, with Debian, the plugins were installed as part of the install. An error on my part, I have a bracket completion plugin, not a matching braces plugins. However, I remember when I was on Ubuntu, I did in fact have a matching brackets plugins for Gedit2. I can't remember exactly where I downloaded it from at the moment.

Aha, slap me. At least for gedit 2.30.4: Edit > Preferences > View Tab. There's the bracket matching option at the end of the page. So it's now an option and not an external plugin. Will check a GNOME3 DE and see if it's also there.

The external plugins are at: /usr/share/gedit-2/plugins. There are some shared object libs (.so) files in usr/lib/gedit-2/plugins.

gedit.org may help.

Last edited by towheedm; 01-03-2012 at 10:03 PM.
 
Old 01-04-2012, 08:32 AM   #5
mrm5102
Member
 
Registered: Apr 2011
Location: Philadelphia
Posts: 165

Original Poster
Rep: Reputation: 3
Hey, thanks again for the reply...

Yea there is some kind of plugin that comes with Gedit 2 that will highlight the matching barcket.
But the one I found that works on my Gedit 3, what it does is, you put your cursor just before/after
the bracket and you push like "ctr + ]" and the screen/cursor will actually jump to the completing bracket.

I got it because I'm trying to, for lack of a better word, "reverse-engineer" a program. And it's a pretty huge script
and I found the plugin very helpful with that...

But I'll try adding the plugin to a couple more places before I give up with this. Thanks for your help...

Thanks Again,
Matt
 
Old 01-04-2012, 11:18 AM   #6
towheedm
Member
 
Registered: Sep 2011
Location: Trinidad & Tobago
Distribution: Debian Stretch
Posts: 612

Rep: Reputation: 125Reputation: 125
Try the Howto Documents here.
 
Old 01-04-2012, 03:59 PM   #7
mrm5102
Member
 
Registered: Apr 2011
Location: Philadelphia
Posts: 165

Original Poster
Rep: Reputation: 3
Great I'll check it out...

Thanks Again,
Matt
 
Old 01-05-2012, 11:32 AM   #8
mrm5102
Member
 
Registered: Apr 2011
Location: Philadelphia
Posts: 165

Original Poster
Rep: Reputation: 3
I'm going to mark this thread as solved.
If I ever get it working I'll post back with my results.

Thanks,
Matt
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gnome 3, Gedit 3.0.5, when I open file with gedit, it created one more unneeded tab Mr. Alex Linux - Software 1 06-18-2011 07:58 AM
Are older versions of Mandriva available? jhsu Mandriva 4 12-31-2009 06:14 AM
? Okay, what about the older versions of the kernel? polarbear20000 Linux - General 3 12-28-2008 07:26 PM
wlan don't work with 10.3 (older versions no problem) Heart SUSE / openSUSE 0 10-09-2007 05:30 AM
older versions alaios Linux - General 9 10-01-2003 12:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration