On 12/15/2010 01:07 AM, Liviu Andronic wrote:
On Wed, Dec 15, 2010 at 9:29 AM, Matthew Brushmatthewbrush@gmail.com wrote:
It should move the VTE to the sidebar automatically when the plugin is activated in the Plugin Manager, you should see the Terminal tab disappear from the message window at the bottom and a Terminal tab should appear in the sidebar. It should switch back when the plugin is de-activated. Of
I see. I can report an issue then. :) The VTE tab is not automatically moved from Messages to Sidebar.
course you need Geany to be supporting the VTE terminal, which can be
My build features VTE. I use it regularly.
enabled/disabled under the General->Startup tab in the Preferences dialog, the option that says "Load virtual terminal support" (it's default on here). If you don't have that option, or you don't see a Terminal tab in the Geany Preferences dialog, then your Geany is probably not built/running with VTE support (ex. on Windows I don't think the VTE is supported at all). If it
Yes, unfortunately there is no VTE in the Win build. But I'm using Xubuntu 10.04.
still doesn't work, let me know because maybe I did something incorrectly in the code.
Here's what I get: 09:59:09: Geany INFO : Geany 0.20 (svn>= r5478), en_US.UTF-8 09:59:09: Geany INFO : GTK 2.20.1, GLib 2.24.1, GIO 09:59:09: Geany INFO : System data dir: /usr/local/share/geany 09:59:09: Geany INFO : User config dir: /home/liv/.config/geany 09:59:10: Geany INFO : Added filetype Genie (51). 09:59:10: Geany INFO : Loaded: /usr/local/lib/geany/addons.so (Addons) 09:59:10: Geany INFO : Loaded: /usr/local/lib/geany/geanylatex.so (GeanyLaTeX) 09:59:10: Geany INFO : Loaded: /usr/local/lib/geany/geanyvc.so (GeanyVC) 09:59:10: Geany INFO : Loaded: /usr/local/lib/geany/htmlchars.so (HTML Characters) 09:59:10: Geany INFO : Loaded: /usr/local/lib/geany/geanyinsertnum.so (Insert Numbers) [..] 09:59:17: Geany INFO : Plugin "/usr/local/lib/geany/addons.so" already loaded. 09:59:17: Geany INFO : Plugin "/usr/local/lib/geany/geanyinsertnum.so" already loaded. 09:59:17: Geany INFO : Plugin "/usr/local/lib/geany/geanylatex.so" already loaded. 09:59:17: Geany INFO : Plugin "/usr/local/lib/geany/geanyvc.so" already loaded. 09:59:17: Geany INFO : Plugin "/usr/local/lib/geany/htmlchars.so" already loaded. Geany does not contain a VTE terminal, bailing out.
Ok, I know why. It was a problem I somewhat anticipated, see comment on line #70 :) https://github.com/codebrainz/geany-sidebarterm/blob/master/sidebarterm.c#L7...
I had made a patch against Geany's vte.c file to overcome this but I did not want to require users to patch the source so I came up with another way to do it, see comment on line #54 https://github.com/codebrainz/geany-sidebarterm/blob/master/sidebarterm.c#L5...
After work I will try and come up with a better solution that still doesn't require patching Geany. If anyone has any suggestions on how to get a handle on the vte frame widget from a plugin that would be great, the comments in and around the get_vte_frame() function explain my difficulties.
09:59:25: Geany INFO : Loaded: /usr/local/lib/geany/sidebarterm.so (Sidebar Terminal)
For some reason the plug-in does not recognize my vte. Using libvte 1:0.23.5-0ubuntu1.1.
I cannot find this pref (although it should probably be located in 'Edit> Plugins Prefs' dialogue). Any suggestions?
The preferences I was talking about there are only if you applied the "geany_vte.patch" to the Geany source and re-built it, however I don't necessarily recommend doing that as the patch is not tested, nor is it completely working.
There are no preferences for the plugin, it just works as described above (by activating/de-activating the plugin).
I didn't apply the patch, so this is expected. Regards Liviu _______________________________________________ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
To all, please let me know if I am causing too much noise on the mailing list as I don't want to be a bother to anyone.
Thanks Matthew Brush (codebrainz)