Hi,
It seems the plugin manager is looking for plugins only in one place configured at compile time (ie, under $prefix/lib/geany). How can I tell it to look for plugins in user specified directories?
I'm currently using version 0.17, compiled from git repository.
Regards, ST --
On Thu, 19 Feb 2009 12:16:48 +0800, LUK ShunTim shuntim.luk@polyu.edu.hk wrote:
Hi,
It seems the plugin manager is looking for plugins only in one place configured at compile time (ie, under $prefix/lib/geany). How can I
Yes, it looks in $libdir/geany (which is in most cases $prefix/lib/geany) *and* Geany looks in the user's configuration directory for plugins, by default ~/.config/geany/plugins/.
So, maybe it helps to put your plugins in the user configuration directory, Geany will then pick them up.
tell it to look for plugins in user specified directories?
There is no easy way without modifying the source or wild symlinking in your filesystem :).
Just for my interest, what do you want to do?
Regards, Enrico
Enrico Tröger wrote:
On Thu, 19 Feb 2009 12:16:48 +0800, LUK ShunTim shuntim.luk@polyu.edu.hk wrote:
Hi,
It seems the plugin manager is looking for plugins only in one place configured at compile time (ie, under $prefix/lib/geany). How can I
Yes, it looks in $libdir/geany (which is in most cases $prefix/lib/geany) *and* Geany looks in the user's configuration directory for plugins, by default ~/.config/geany/plugins/.
Thanks, knowing this is good enough for me. :-)
So, maybe it helps to put your plugins in the user configuration directory, Geany will then pick them up.
tell it to look for plugins in user specified directories?
There is no easy way without modifying the source or wild symlinking in your filesystem :).
Just for my interest, what do you want to do?
Say geany is installed via some distribution package mechanism, apt, rpm, whatever and the system admin can make locally compiled plugins available for all users in a "local" place, maybe under /usr/local/lib/geany.
Regards, ST --
On Fri, 20 Feb 2009 13:04:52 +0800, LUK ShunTim shuntim.luk@polyu.edu.hk wrote:
Enrico Tröger wrote:
On Thu, 19 Feb 2009 12:16:48 +0800, LUK ShunTim shuntim.luk@polyu.edu.hk wrote:
Hi,
It seems the plugin manager is looking for plugins only in one place configured at compile time (ie, under $prefix/lib/geany). How can I
Yes, it looks in $libdir/geany (which is in most cases $prefix/lib/geany) *and* Geany looks in the user's configuration directory for plugins, by default ~/.config/geany/plugins/.
Thanks, knowing this is good enough for me. :-)
So, maybe it helps to put your plugins in the user configuration directory, Geany will then pick them up.
tell it to look for plugins in user specified directories?
There is no easy way without modifying the source or wild symlinking in your filesystem :).
Just for my interest, what do you want to do?
Say geany is installed via some distribution package mechanism, apt, rpm, whatever and the system admin can make locally compiled plugins available for all users in a "local" place, maybe under /usr/local/lib/geany.
We surely can add support for reading other directories as well. The question is probably just how to realise it best. I think of an environment variable like GEAY_PLUGIN_PATH or a command line switch. Or even a hidden preference, which is maybe the most easy one to use.
Regards, Enrico
Enrico Tröger wrote:
Just for my interest, what do you want to do?
Say geany is installed via some distribution package mechanism, apt, rpm, whatever and the system admin can make locally compiled plugins available for all users in a "local" place, maybe under /usr/local/lib/geany.
We surely can add support for reading other directories as well. The question is probably just how to realise it best. I think of an environment variable like GEAY_PLUGIN_PATH or a command line switch. Or even a hidden preference, which is maybe the most easy one to use.
Thanks, hope that it's not too much work. I don't mind either, as long as it's documented.
Maybe it'd most convenient if there's a button under in the Tools | Plugin Manager pop-up window that a user can click to set them up, similar to, for example, what firefox does when you do a "save-as". The values can be stored in ~/.config/geany/geany.conf and the user can enter them directly or edit them, with geany of course, :-) if he/she would like to.
Thanks again, ST --
On Mon, 23 Feb 2009 12:08:55 +0800, LUK ShunTim shuntim.luk@polyu.edu.hk wrote:
Enrico Tröger wrote:
Just for my interest, what do you want to do?
Say geany is installed via some distribution package mechanism, apt, rpm, whatever and the system admin can make locally compiled plugins available for all users in a "local" place, maybe under /usr/local/lib/geany.
We surely can add support for reading other directories as well. The question is probably just how to realise it best. I think of an environment variable like GEAY_PLUGIN_PATH or a command line switch. Or even a hidden preference, which is maybe the most easy one to use.
Thanks, hope that it's not too much work. I don't mind either, as long as it's documented.
Maybe it'd most convenient if there's a button under in the Tools | Plugin Manager pop-up window that a user can click to set them up,
Do you mean a button to set an extra path to look for plugins or a button to directly open a plugin's .so file?
Regards, Enrico
Enrico Tröger wrote:
On Mon, 23 Feb 2009 12:08:55 +0800, LUK ShunTim shuntim.luk@polyu.edu.hk wrote:
Enrico Tröger wrote:
Just for my interest, what do you want to do?
Say geany is installed via some distribution package mechanism, apt, rpm, whatever and the system admin can make locally compiled plugins available for all users in a "local" place, maybe under /usr/local/lib/geany.
We surely can add support for reading other directories as well. The question is probably just how to realise it best. I think of an environment variable like GEAY_PLUGIN_PATH or a command line switch. Or even a hidden preference, which is maybe the most easy one to use.
Thanks, hope that it's not too much work. I don't mind either, as long as it's documented.
Maybe it'd most convenient if there's a button under in the Tools | Plugin Manager pop-up window that a user can click to set them up,
Do you mean a button to set an extra path to look for plugins or a button to directly open a plugin's .so file?
The former.
Regards, ST --
On Tue, 24 Feb 2009 12:41:15 +0800, LUK ShunTim shuntim.luk@polyu.edu.hk wrote:
Enrico Tröger wrote:
On Mon, 23 Feb 2009 12:08:55 +0800, LUK ShunTim shuntim.luk@polyu.edu.hk wrote:
Enrico Tröger wrote:
Just for my interest, what do you want to do?
Say geany is installed via some distribution package mechanism, apt, rpm, whatever and the system admin can make locally compiled plugins available for all users in a "local" place, maybe under /usr/local/lib/geany.
We surely can add support for reading other directories as well. The question is probably just how to realise it best. I think of an environment variable like GEAY_PLUGIN_PATH or a command line switch. Or even a hidden preference, which is maybe the most easy one to use.
Thanks, hope that it's not too much work. I don't mind either, as long as it's documented.
Maybe it'd most convenient if there's a button under in the Tools | Plugin Manager pop-up window that a user can click to set them up,
Do you mean a button to set an extra path to look for plugins or a button to directly open a plugin's .so file?
The former.
Hm, when setting an extra path for plugins to look up I really think this should go in the preferences dialogif we want to be in the GUI at all. At least it shouldn't be in the plugin manager dialog, IMO.
Regards, Enrico
Enrico Tröger schrieb:
Hm, when setting an extra path for plugins to look up I really think this should go in the preferences dialogif we want to be in the GUI at all. At least it shouldn't be in the plugin manager dialog, IMO.
I think the plugin manager is the most logical place to configure a plugin directory.
BTW, I'd love if this was extended, so that the general geany lookup patch could be changed, since I found it very useful if I could save filedefs and configs on a shared drive, for example.
Thomas Martitz wrote:
Enrico Tröger schrieb:
Hm, when setting an extra path for plugins to look up I really think this should go in the preferences dialogif we want to be in the GUI at all. At least it shouldn't be in the plugin manager dialog, IMO.
I think the plugin manager is the most logical place to configure a plugin directory.
I also think so. But when I look at the "Preferences" dialog again, I can also see Enrico's point that it's a really something about configuring geany and therefore neater to group them together. Maybe plugin manager itself can be moved there as well. Probably too drastic a change. :-)
Not really a big difference I think. If Enrico's idea is implemented, something like "Directories where plugins are searched are set under the Edit|Preferences|Plugins menu item" added to the notice in the plugin manager window will be helpful.
Regards, ST --
On Wed, 25 Feb 2009 13:49:04 +0800, LUK ShunTim shuntim.luk@polyu.edu.hk wrote:
Thomas Martitz wrote:
Enrico Tröger schrieb:
Hm, when setting an extra path for plugins to look up I really think this should go in the preferences dialogif we want to be in the GUI at all. At least it shouldn't be in the plugin manager dialog, IMO.
I think the plugin manager is the most logical place to configure a plugin directory.
I also think so. But when I look at the "Preferences" dialog again, I
It just would make it more bloat especially since setting an additional path for plugin lookup is something most users won't do at all and even if they probably do it only once, therefore I'm pleading for the prefs dialog.
plugin manager itself can be moved there as well. Probably too drastic a change. :-)
Please not.
Not really a big difference I think. If Enrico's idea is implemented, something like "Directories where plugins are searched are set under the Edit|Preferences|Plugins menu item" added to the notice in the plugin manager window will be helpful.
Maybe. However I'd say this should go into the documentation not the plguin manager dialog itself. Though I don't have a strong opinion on that.
Regards, Enrico
Enrico Tröger wrote:
On Wed, 25 Feb 2009 13:49:04 +0800, LUK ShunTim shuntim.luk@polyu.edu.hk wrote:
Thomas Martitz wrote:
Enrico Tröger schrieb:
Hm, when setting an extra path for plugins to look up I really think this should go in the preferences dialogif we want to be in the GUI at all. At least it shouldn't be in the plugin manager dialog, IMO.
I think the plugin manager is the most logical place to configure a plugin directory.
I also think so. But when I look at the "Preferences" dialog again, I
It just would make it more bloat especially since setting an additional path for plugin lookup is something most users won't do at all and even if they probably do it only once, therefore I'm pleading for the prefs dialog.
plugin manager itself can be moved there as well. Probably too drastic a change. :-)
Please not.
Not really a big difference I think. If Enrico's idea is implemented, something like "Directories where plugins are searched are set under the Edit|Preferences|Plugins menu item" added to the notice in the plugin manager window will be helpful.
Maybe. However I'd say this should go into the documentation not the plguin manager dialog itself. Though I don't have a strong opinion on that.
Regards, Enrico
Yes, agreed -- and very well said. I came to geany because it wasn't bloated. That should always be its distinctive feature.
Regards, ST --
On Thu, 26 Feb 2009 12:11:11 +0800, LUK wrote:
Enrico Tröger wrote:
On Wed, 25 Feb 2009 13:49:04 +0800, LUK ShunTim shuntim.luk@polyu.edu.hk wrote:
Thomas Martitz wrote:
Enrico Tröger schrieb:
Hm, when setting an extra path for plugins to look up I really think this should go in the preferences dialogif we want to be in the GUI at all. At least it shouldn't be in the plugin manager dialog, IMO.
I think the plugin manager is the most logical place to configure a plugin directory.
I also think so. But when I look at the "Preferences" dialog again, I
It just would make it more bloat especially since setting an additional path for plugin lookup is something most users won't do at all and even if they probably do it only once, therefore I'm pleading for the prefs dialog.
plugin manager itself can be moved there as well. Probably too drastic a change. :-)
Please not.
Not really a big difference I think. If Enrico's idea is implemented, something like "Directories where plugins are searched are set under the Edit|Preferences|Plugins menu item" added to the notice in the Edit|Preferences|plugin manager window will be helpful.
Maybe. However I'd say this should go into the documentation not the plguin manager dialog itself. Though I don't have a strong opinion on that.
Regards, Enrico
Yes, agreed -- and very well said. I came to geany because it wasn't bloated. That should always be its distinctive feature.
Finally done (sorry for the delay).
The preferences dialog got a new path option to set an additional lookup directory for plugins. HTH.
Regards, Enrico
Enrico Tröger wrote:
Finally done (sorry for the delay).
Your effort is very much appreciated. :-)
The preferences dialog got a new path option to set an additional lookup directory for plugins.
Yes, it worked.
Will it search a (colon separated) path list and not just one directory location?
HTH.
Regards, Enrico
Thanks again, ST --
On Sat, 14 Mar 2009 13:01:10 +0800, LUK wrote:
Enrico Tröger wrote:
Finally done (sorry for the delay).
Your effort is very much appreciated. :-)
The preferences dialog got a new path option to set an additional lookup directory for plugins.
Yes, it worked.
Will it search a (colon separated) path list and not just one directory location?
Just one directory. I thought about supporting a colon(semi-colon on Windows) list of directories on Windows but then discarded that idea just to keep things simple. Additionally, the file open dialog button wouldn't work with a list of directories.
We could make it accept a list of directories and maybe tune the file open dialog button to only show/change the first directory in the list.
But I'd like to do this only if really required.
Regards, Enrico
On Tue, 24 Feb 2009 19:40:59 +0100, Thomas Martitz thomas.martitz@fhtw-berlin.de wrote:
This is going to be off-topic...
BTW, I'd love if this was extended, so that the general geany lookup patch could be changed, since I found it very useful if I could save filedefs and configs on a shared drive, for example.
You can use a complete different config directory when starting Geany, see the "-c" command line option. I don't think we want to do anything beyond this as it just complicates and bloats things.
Regards, Enrico