EhsanKia / keypirinha-plugins

A collection of Keypirinha plugins made by me
MIT License
37 stars 5 forks source link

Not sure if Launchy.ini is being found. #1

Closed s-oram closed 8 years ago

s-oram commented 8 years ago

Thanks for the Launchy plugin! I'm trying to set it up now and have run into problems. Not sure where to go now. I've dumped a bunch of details below. Don't stress about following this up if your busy. :)

Using:

Things completed:

Are the launchy.ini contents correct?

Could the launchy plugin being reading a different launchy.ini file? Is there a way to confirm the plugin is reading the intended config?

Side note: I don't have Launchy installed anymore and had to create a launchy.ini file for this plugin. It felt a bit strange creating %appdata%/Launchy/launchy.ini to configure keypirinha. Totally understand why the plugin is checking that location. Would it also be possible to have the plugin check for launchy.ini in the keypirinha settings directory as a fallback?

EhsanKia commented 8 years ago

Ah, sorry if the documentation wasn't very clear! I don't have a lot of experience writing documentation, so feel free to help me reword things to make it clearer for future users!

The plugin doesn't use %appdata%/Launchy/launchy.ini, I only mention that for users who want to get their old settings to copy over. You have to put those configurations in the launchy.ini which is in your keypirinha directory. That's probably why it wasn't working for you, that's the only place it checks.

EDIT: To confirm that the configuration was read, in the console, look for a line which looks like so:

20:46:44.104 Launchy.Launchy: Successfully updated the configuration, found 3 entries

s-oram commented 8 years ago

Writing doc's is hard. It's probably me not taking the time to read them properly as well.

Anyway, I moved the launchy.ini file to \Keypirinha\portable\Profile\User and the plugin is now working fine. Being able to add directories to the keypirinha catalogue is a good addition. :)

s-oram commented 8 years ago

Ah, sorry if the documentation wasn't very clear! I don't have a lot of experience writing documentation, so feel free to help me reword things to make it clearer for future users!

Reading the docs now...

Installation

To install this plugin, simply copy Launchy.keypirinha-package from the build folder to InstalledPackages:

  • Portable version: Keypirinha\portable\Profile\InstalledPackages
  • Installed version: %APPDATA%\Keypirinha\Profile\InstalledPackages

You may need to restart Keypirinha afterwards to load the plugin.

These install instructions don't mention the lanchy.ini file. Will the lanchy.ini file be automatically created when Keypirinha is restarted or does the lanchy.ini file need to be copied into keypirinha settings directory manually?

EhsanKia commented 8 years ago

You shouldn't have to create it by hand actually, just like with all the other built in plugins. You simply either use the tray menu to access it (right click tray icon > configure package > launchy), or type "Configure Launchy" in Keypirinha itself, and it should automatically create a launchy.ini file for you in the right location. Can you actually check if that works properly?

s-oram commented 8 years ago

You shouldn't have to create it by hand actually, just like with all the other built in plugins.

Ok, this is my first time using a KP plugin.

Typing "Configure Launchy" does indeed bring up the launchy.ini file. It is also in the context menu. I did check the context menu earlier for a configuration link but couldn't see it there then. Maybe I missed it at the time.

EhsanKia commented 8 years ago

Hmm, I don't know if KP autoloads installed plugins, so you may have had to restart for it to register it?

s-oram commented 8 years ago

It's working now anyway. :)