It is currently Thu Jul 25, 2024 6:19 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 200 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10  Next
Author Message
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Tue Sep 16, 2014 12:18 pm  (#161) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
I did that Odin and it didn't paste in. I opened the py file with terminal and opened with terminal and pasted touch" command so that the .py and nothing pasted, it is still black.

_________________
Image


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Tue Sep 16, 2014 12:51 pm  (#162) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
molly wrote:
I did that Odin and it didn't paste in. I opened the py file with terminal and opened with terminal and pasted touch" command so that the .py and nothing pasted, it is still black.
Type the command or to paste Shift + Ctrl + V.

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Tue Sep 16, 2014 12:53 pm  (#163) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
I did that

_________________
Image


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Tue Sep 16, 2014 2:15 pm  (#164) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
molly wrote:
I did that
You don't open the *.py file, you cd the directory containing the file you wish to run the command on.
Here's an example in Downloads directory, file name words.txt, testing with date -r.
Image

When you successfully run touch this way it does not give you feedback (only if there is an error), it gives you another command prompt. To that command prompt I added 'date -r words.txt' to confirm touch had updated the modification time.

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Tue Sep 16, 2014 2:47 pm  (#165) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Is that black thing your terminal.

_________________
Image


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Tue Sep 16, 2014 2:50 pm  (#166) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4758
molly wrote:
Is that black thing your terminal.


Simplest way for you: just erase the pluginrc file. Gimp will rerun the registration for all plugins, including the add-on manager.

_________________
Image


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Tue Sep 16, 2014 3:08 pm  (#167) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
molly wrote:
Is that black thing your terminal.
Yes, Ctrl + Alt + T

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Tue Sep 16, 2014 4:12 pm  (#168) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
I right clicked the plug-in and copied it to my terminal, is this right?
Image

_________________
Image


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Tue Sep 16, 2014 5:06 pm  (#169) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
molly wrote:
I right clicked the plug-in and copied it to my terminal, is this right?
[ Image ]

cd directory, run touch, run date -r
I have addonCollectionManager-3.0.py, my command line.
Image

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Tue Sep 16, 2014 5:37 pm  (#170) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Thanks Odin

_________________
Image


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Wed Sep 17, 2014 11:24 am  (#171) 
Offline
GimpChat Member
User avatar

Joined: Jan 15, 2013
Posts: 133
Just a quick question...

I would like to keep the existing menu entries for all the managers, but would also love to have one central location on my main menu. If you were doing this, how would you approach it? I have no problems editing the plugin, but wanted to see if you would use the ini file in combination, or just the main plugin if you were doing this yourself.

Any input is most appreciated.

_________________
Gimp 2.8.16
Arch Linux - XFCE 4.12
Some of my work.


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Wed Sep 17, 2014 2:43 pm  (#172) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4758
AFAIK this means duplicating the registrations, with two differences; 1) the menu location, and 2) the procedure name (just add a suffix, for instance).

_________________
Image


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Wed Sep 17, 2014 7:24 pm  (#173) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
What about my question? Can the plug-in be modified to keep the system font files separate from the font sets?

_________________
Image


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Thu Sep 18, 2014 1:16 am  (#174) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4758
Where is that question? (must have overlooked it) What system files?

_________________
Image


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Thu Sep 18, 2014 1:25 am  (#175) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
akovia wrote:
Just a quick question...

I would like to keep the existing menu entries for all the managers, but would also love to have one central location on my main menu. If you were doing this, how would you approach it? I have no problems editing the plugin, but wanted to see if you would use the ini file in combination, or just the main plugin if you were doing this yourself.

Any input is most appreciated.

Avokia I have never even looked at the.py file and have done everything using the .ini file example below
It is a lot easier and there is less chance of messing it up, new menu location Resources is created

#-------------------------------------------------------------------------
[all]
# enable:brushes dynamics fonts gradients palettes patterns scripts
enable:brushes patterns fonts gradients palettes scripts
addons_active:C:\Users\user\Addon Manager\{type}/Added Resources
#addons_stored:{GimpUser}/{type}_alt
addons_stored:C:\Manager\{type}
menu_location:{<type>}
menu_entry:{type} sets...
menu_description:Manage {type} sets...
dialog_title:{type} sets manager
[brushes]
menu_location:<Image>/Resources
extensions:.gbr .vbr .gih .abr .GBR .VBR .GIH
#[dynamics]
#extensions:.gdyn .GDYN
[fonts]
menu_location:<Image>/Resources
extensions:.ttf .otf .ttc .TTF .OTF .TTC
[gradients]
menu_location:<Image>/Resources
extensions:.ggr .GGR
[palettes]
menu_location:<Image>/Resources
extensions:.pal .gpl .PAL .GPL
[patterns]
menu_location:<Image>/Resources
extensions:.png .jpg .pat .PNG .JPG .PAT
[scripts]
menu_location:<Image>/Resources
extensions:.scm .SCM
#-------------------------------------------------------------------------

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Thu Sep 18, 2014 1:34 am  (#176) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
ofnuts wrote:
Where is that question? (must have overlooked it) What system files?

Ofnuts Molly was referring to system fonts which are loaded by Gimp and how gimp mixes them with fonts from the addon manager in the fonts Tab

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Thu Sep 18, 2014 2:37 am  (#177) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2446
I have not tried akovia's request to have duplicate entries
Quote:
I would like to keep the existing menu entries for all the managers, but would also love to have one central location on my main menu


but I have a tidy mind and I do like everything grouped together. Not keen on the context menu links or having scripts in (is it?) Help.

Image

I do not recall the system fonts mixed up with selected font sets as molly reports.
edit: More than a bit slow this morning, need more coffee. Yes the fonts are added to the existing in the fonts dialog. I think there was once a thread on tagging but the tags did not survive the moving and that was for brushes


Still using an older Ofnuts script from about 18 months ago with an ini file. It works so I have never updated it.
One thing with fonts they do have to be zipped here.

FWIW my ini file - looks very similar to Graechan's but in a linux installation
#-------------------------------------------------------------------------
[all]
# enable:brushes dynamics fonts gradients palettes patterns scripts
enable:brushes fonts patterns scripts
addons_active:{GimpUser}/{type}
addons_stored:{GimpUser}/{type}_alt
menu_location:{<type>}
menu_entry:{type} sets...
menu_description:Manage {type} sets...
dialog_title:{type} sets manager
[brushes]
menu_location:<Image>/Tools/Resource
extensions:.gbr .vbr .gih .abr .GBR .VBR .GIH
#[dynamics]
#extensions:.gdyn .GDYN
[fonts]
menu_location:<Image>/Tools/Resource
extensions:.ttf .otf .TTF .OTF
#[gradients]
#extensions:.ggr .GGR
#[palettes]
#extensions:.pal .PAL .gpl .GPL
[patterns]
menu_location:<Image>/Tools/Resource
extensions:.png .pat .PNG .PAT
[scripts]
menu_location:<Image>/Tools/Resource
extensions:.scm .SCM
use_subdirectory:no
#-------------------------------------------------------------------------

_________________
Image


Last edited by rich2005 on Thu Sep 18, 2014 3:44 am, edited 1 time in total.

Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Thu Sep 18, 2014 3:05 am  (#178) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
The only difference is that I created a new Menu drop-down
Image

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Thu Sep 18, 2014 5:19 am  (#179) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
I don't have an ini file with my version

_________________
Image


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Thu Sep 18, 2014 6:16 am  (#180) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4758
molly wrote:
I don't have an ini file with my version


Where did you enable the add-on for the other add-ons then? if there is no ini file, everything is enabled by default.

_________________
Image


Top
Post new topic Reply to topic  [ 200 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Thank you Dinasset

7

No new posts Attachment(s) dinasset's photos modified

35

No new posts Lines Art 2024 by Dinasset (Video)

9

No new posts Attachment(s) Addon Manager not working

14

No new posts Resource Manager advice

6



* Login  



Powered by phpBB3 © phpBB Group