I saw the post on the blog saying that ubuntu now had bennu syntax highlighting by default, but I can't seem to find it at all. Did they decide to take it out suddenly. I installed both ubuntu and jolicloud on a netbook cause my main computer just died :/ Reason why I've been gone a few weeks by the way. I left something too close to my computer and blocked the fan.
Well, I couldn't find it either. I'm using ububtu as well. I guess the ubuntu people like to
mess about with things once in a while.
Anyway I mainly devlop on windows, I'm running ubuntu in the so called wubi mode, since
I only use it for testing.
Well, you can get gtksourceview's bennu-highlighting files from here:
https://launchpad.net/~josebagar/+archive/ppa
No, don't use that. That's outdated.
You just have to select "BennuGD" in "View->Highlight modes->Sources", or in the menu in the bottom:
(http://forum.bennugd.org/index.php?action=dlattach;topic=1847.0;attach=1637)
I'm very sorry for that, I'm seeing that it ins't actually included by default. It is in Fedora and in the next Ubuntu release (natty) as seen here (http://packages.ubuntu.com/search?searchon=contents&keywords=bennugd.lang&mode=exactfilename&suite=natty&arch=any).
I'm really sorry. When I published that post I really thought it was included. Please copy the attached file to /usr/share/gtksourceview-2.0/language-specs/ by typing this in a console from the directory where it was downloaded:
[code language="bash"]sudo cp bennugd.txt /usr/share/gtksourceview-2.0/language-specs/bennugd.lang[/code]
And that should do it.
Again, I'm sorry for that :(
Oh, and Is possible to compile and run inside of gedit?
Not directly, I believe you can configure some plugins for that, but I'm not sure.
cagoen, If you discover how to do it say me, ok?
Thanks guys^^
I really don't want to dredge up this old topic, but the highlighting file was not included with Gedit in Natty, though josebita's attachment supplied here works just fine. I suspect that this might be because BennuGD is not supplied in the default Ubuntu repos?
It's included in libgtksourceview-3.0-common in natty. Have a look at:
http://packages.ubuntu.com/natty/all/libgtksourceview-3.0-common/filelist
Maybe you've got some other version installed manually that is conflicting with that file?
Ah, that's the version GTK+3 uses, which I don't have installed. No real use for installing GTK+3 yet, seeing as none of the GNOME/GTK+ apps I use have actually switched to it it, so I'll just do what I did.
Is copying it manually still the only way of getting syntax highlight in Ubuntu?
I've installed ubuntu using josebita's repositories and there wasn't any package for syntax highlight
You shouldn't use the syntax highlighting package provided by my repo anymore.
BennuGD syntax highlighting has been available by default for a long time in gedit but, unfortunately, it hasn't arrived to default ubuntu desktops yet because ubuntu is still using and old gnome2 version of gedit/gtksourceview.
If you install the gnome3 desktop (from the gnome3-team ppa (https://launchpad.net/~gnome3-team/+archive/gnome3), for example) you'll see that it's there by default. In fact, it entered the gtksourceview source tree on the 21st of June 2010 (https://bugzilla.gnome.org/show_bug.cgi?id=618552#c15). It's sad that usersle haven't already received this after more than a year in the official repo...
I'm sorry this hasn't arrived yet but I _believe_ that the next version of Ubuntu shipping this October, which is going to feature a version of Unity based upon gnome3 should (http://packages.ubuntu.com/search?searchon=contents&keywords=bennugd.lang&mode=exactfilename&suite=oneiric&arch=any) bring bennugd syntax highlighting by default, but I've said this a couple of times already...
So, to sum up, you can either install it manually or switch to the gnome3 desktop (please remember that gnome3 and unity cannot coexist in natty).
Thanks for the info!
I'm waiting the next ubuntu version to see if it is there by default, meanwhile im just using the "hand-copied" file.
I couldnt get bennu in the latest ubuntu :/
Quote from: DoctorN on September 12, 2011, 02:41:23 AM
I couldnt get bennu in the latest ubuntu :/
What does that mean? Bennu works flawlessly in the latest Ubuntu, at least for me.
For me too :)
The wiki tutorial is perfect.