lin-ycv / EverythingPowerToys

Everything search plugin for PowerToys Run
Eclipse Public License 2.0
2.2k stars 57 forks source link

Everything 1.5a support #74

Closed hocy1609 closed 8 months ago

hocy1609 commented 8 months ago

Describe the bug Everything is not running

Screenshots image image image image

Logs (please upload or provide link to you log): %localappdata%\Microsoft\PowerToys\PowerToys Run\Logs 2024-01-11.txt

Version (please provide the version of software you are using):

dexeonify commented 8 months ago

It's rare to see others trying to make Everything 1.5a work with PowerToys Run, but it's unfortunate that this issue was closed without any explanation. Anyways, in case others are also in this predicament:

  1. The instruction in the README about disabling 1.5a instance is inadequate or outdated.
  2. To prevent confusion, I would recommend uninstalling Everything 1.4 and only keep Everything 1.5a installed. (With this config, only 1 Everything instance can run anyways) I can assure you that Everything 1.5a works with this plugin. (I'm currently using it)
  3. Follow this instruction instead. Ok, maybe not all of them, I will highlight the important part:
    • Completely exit Everything 1.5 (right click the Everything 1.5 system tray icon and click Exit) ...
    • [snip] You don't need to rename the Everything 1.5 folder to Everything ...
    • Create an empty file in C:\Program Files\Everything 1.5a with the following filename: NO_ALPHA_INSTANCE
    • An easy way to do this is to open Notepad from the Start menu (right click notepad and click Run as an administrator):
    • In Notepad, from the File menu, click Save.
    • Change Save as type to: All Files (.)
    • Browse to your Everything 1.5 installation folder (C:\Program Files\Everything 1.5a)
    • Change the Filename to: NO_ALPHA_INSTANCE
    • Click Save.
  4. With this NO_ALPHA_INSTANCE file, you don't have to worry about setting alpha_instance=0 in the config file. See here. Personally, I could never get alpha_instance=0 to work. I've tried with both the Everything.ini file in Program Files and %APPDATA%).
  5. Finally, restart/reinstall the Everything service.
    • Uninstall the Everything Service:
    • In Everything 1.5a, from the Tools menu, click Options.
    • Click the General tab on the left.
    • Uncheck Everything Service
    • Maybe exit and restart the Everything instance for safety
    • Go to the same menu and enable Everything Service. It should prompt you to install the service.
  6. Verify in Task Manager that the Everything service is running. Ensure it's just called "Everything" and not "Everything 1.5a". You may have to restart PowerToys to get Everything results.

Honestly, all these are worth the hassle if you consider the feature set of Everything 1.5 Alpha. It doesn't seem like a new release is on the horizon despite being in Beta for years.

jyc001 commented 7 months ago

Well, there is a simple way to disable the alpha instance without editing or creating any file manually.

  1. First open the main window of everything then click the Tools (on the toolbar) - Options or you can JUST PRESS Ctrl-P instead. image
  2. Then navigate to the advanced section image
  3. Next make sure the show only modified settings is not selected image
  4. then type alpha_instance (or maybe just alpha) in the input section next to the Show settings containing: image image 5.Then click on the alpha_instance line in the tableView to make it to be activated. image
  5. Last press the false on the section Value of alpha_instance which is just under the tableView. image 7.Finally.press OK(and Apply if you want) and COMPLETELY RESTART the Everything and the PowerToys ,(If you don't know how to do, just restart the copmputer) Then you will be able to use the EverythingPowerToys plugins.
dexeonify commented 7 months ago

That's a very detailed guide, if I've ever seen one (perhaps too thorough on the option page). However, I end up having the same problem as the instructions in README:

COMPLETELY RESTART the Everything

Perhaps you could elaborate more on this? Is restarting the Everything UI and the service insufficient? Maybe I do really need to restart the computer. In this case, my method doesn't require restarting the PC. ;) I invite others to test as well.

jyc001 commented 7 months ago

That's a very detailed guide, if I've ever seen one (perhaps too thorough on the option page). However, I end up having the same problem as the instructions in README:

  • The Everything UI runs with no_alpha_instance, as evident from the title bar displaying only "Everything" instead of "Everything (1.5a)"
  • Despite reinstalling the Everything service multiple times (following my step 5 above), the Everything service still lists as "Everything 1.5" in Task Manager

COMPLETELY RESTART the Everything

Perhaps you could elaborate more on this? Is restarting the Everything UI and the service insufficient? Maybe I do really need to restart the computer. In this case, my method doesn't require restarting the PC. ;) I invite others to test as well.

right on my computer i just need to click File-Exit(in the picture 文件-退出)(or just **Ctrl+Shift+Q) and then reopen everything (not even need to restart the powertoys) then the EverythingPowertoys plugins successfully connect to the instance and work properly. image

jyc001 commented 7 months ago

there is a video for all my steps video link

e-t-l commented 6 months ago

Follow this instruction instead. Ok, maybe not all of them, I will highlight the important part

I followed your instructions, and after creating the NO_ALPHA_INSTANCE file and restarting the Everything process and service, I have lost all my configuration data for Everything. It does not remember any of my settings, including custom filters, search parameters, default window size, keyboard shortcuts, or anything. Do you know why that happened or how to get them back?

dexeonify commented 6 months ago

No need to panic. Your data is still there, it's just that Everything doesn't recognise the "old" filename. Simply delete the NO_ALPHA_INSTANCE file again and restart Everything. I will suggest trying @jyc001's steps first though.

As for the issue itself, Everything 1.5a by default stores its config file in %LocalAppData%\Everything under the filename Everything-1.5a.db. When you use NO_ALPHA_INSTANCE, it uses Everything.db instead. So all you have to do is rename Everything-1.5a.db to Everything.db, and restart. Of course, make a backup first.

GollyJer commented 6 months ago

there is a video for all my steps video link

This is the way. Thank you!

Uddhav07 commented 3 weeks ago

there is a video for all my steps video link

ok