You are not logged in.
Since I'm here and "conky is my thing" this use to work for gedit.
The conky.lang file see it in action: HERE!
You can highlight Conky's syntax in gedit (or in any editor using gtksourceview-2.0).
Go to this blog. Look for "Télécharger le script" and download the zip or see the update below. If you know the owner of the blog, please let him know the file here is updated and he is more then welcome to use it at his site.
Save the file as :
~/.local/share/gtksourceview-2.0/language-specs/conkyrc.lang
or, for all users (need to be root) :
/usr/share/gtksourceview-2.0/language-specs/conkyrc.lang
Change gtksourceview-2.0 to gtksourceview-3.0 for gedit 3.x and higher
Restart gedit, and enjoy !
GNOME had to go and muck, as in muddy, things up though.
Anyone have an idea where/how I can have conky highlighting in this new gedit?
The conky.lang file is in the right place, gedit should see it, BUT GNOME must have changed something.
Did I mention I hate GNOME?
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Do you have all the correct version numbering for the directories?
https://github.com/brndnmtthws/conky/bl … /README.md
In the gedit menu there is View -> Highlight Mode
You can select from the list. Conky 1.9 would be C++?
I selected Lua for Conky 1.13 and looked ok.
Last edited by PackRat (2023-01-11 16:51:34)
You must unlearn what you have learned.
-- yoda
Offline
Do you have all the correct version numbering for the directories?
https://github.com/brndnmtthws/conky/bl … /README.md
In the gedit menu there is View -> Highlight Mode
You can select from the list. Conky 1.9 would be C++?
I selected Lua for Conky 1.13 and looked ok.
Yes: View -> Highlight Mode
But where does the new gedit store those files or read them from?
TRUST ME: C++ is not even close! Nothing in there is.
As Brandon Matthews said, in the link you provided:
for medit v1.1.1:
/usr/share/medit/language-specs/conky.lang
LONG GONE!
for medit - older versions:
/usr/share/medit-1/language-specs/conky.lang
Still here:/usr/share/medit-1/language-specs/conky.lang
for gedit v2.x
/usr/share/gtksourceview-2.0/language-specs/conky.lang
or (for single user)
~/.local/share/gtksourceview-2.0/language-specs/conky.lang
Still here in the "local" version:/home/sector11/.local/share/gtksourceview-2.0/language-specs/conky.lang
for gedit v3.x
/usr/share/gtksourceview-3.0/language-specs/conky.lang
or (for single user)
~/.local/share/gtksourceview-3.0/language-specs/conky.lang
Both still here:/usr/share/gtksourceview-3.0/language-specs/conky.lang
/home/sector11/.local/share/gtksourceview-3.0/language-specs/conky.lang
I've been into this a LONG time: Conky Pitstop:
medit and Conky
gedit and Conky
nano, vim and Conky
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline