declutter icon indicating copy to clipboard operation
declutter copied to clipboard

autostart features

Open metaflow opened this issue 4 years ago • 2 comments

  1. would be nice to start minimized
  2. how to disable autostart? (I guess from startup services but having an app setting would be great)

metaflow avatar Jan 07 '22 15:01 metaflow

@metaflow

  1. Starting minimized is easy to add, but this change requires some analysis. The app should probably be started minimized (to tray) when it runs on Windows startup, but otherwise it should start normally. Or this could be a setting.
  2. Yes, from Windows control panel. The app setting was actually implemented (even in 2 different ways - via registry and via "Startup" folder shortcuts), but it had to be removed because:
  • registry solution doesn't work on Win10
  • "Startup" folders are implemented in a slightly different way in Win7 and Win10, so it's quite hard to support both In any case the solution appeared to be a bit messy, so I decided to disable this feature for now.

midnightdim avatar Jan 07 '22 20:01 midnightdim

@midnightdim I think you should just make it an option called "start minimized to tray". For the most part it's a program that "does its thing" in the background, so it makes sense to start it the tray, even if it means it does when launched manually. Alternatively just a parameter that can be used in the shortcut that resides in the startup folder.

For now I just start it with autohotkey which then closes the window. I'm that lazy ;). Oh and thanks for the app, it's pretty cool. Keeps it simple, also. I like it.

kocane avatar Oct 25 '22 07:10 kocane

@metaflow @kocane Minimized state is now stored in the settings. If you quit the app when the window is minimized, it will restart minimized. I decided that this would be better than a forced minimize on start. This feature will be added to the next release.

I'll also check if it's possible to add autostart to app settings.

midnightdim avatar Aug 18 '25 11:08 midnightdim

@metaflow I explored several approaches and even implemented an in-app toggle for launch at login. In the end, I chose not to ship it on Windows because Windows 10/11 already provides a better native control via Startup Apps in system settings.

If DeClutter is installed using the provided .exe and the “Start DeClutter when Windows starts” option is checked during setup, it will appear in Startup Apps, where it can be enabled or disabled later. This native control is more reliable and transparent than managing startup from within the app (e.g., via registry edits).

I'm closing this issue.

midnightdim avatar Aug 18 '25 12:08 midnightdim