kynikos / outspline

Extensible outliner and personal time organizer to manage todo lists, schedule tasks, remind events.
http://kynikos.github.io/outspline/
GNU General Public License v3.0
47 stars 9 forks source link

Start minimized #383

Open alexandre1985 opened 3 years ago

alexandre1985 commented 3 years ago

I would like to request to add the feature of starting up outspline minimized, or auto initialized with no window and to system tray.

OS: ArchLinux x86_64 Outspline version: 0.8.4

kynikos commented 3 years ago

Thanks for the request, I admit this would be easy to implement in itself, but can't promise anything in the short term unfortunately, as the procedure to release a new version of this application is not so simple (my fault, I was too inexperienced when I designed it...).

If anybody reading this ever wanted to try a PR, the fix would likely be to add the following at some stage of the initialization of the application:

# Make sure the module is importing wxgui_api
# import outspline.interfaces.wxgui_api as wxgui_api
wxgui_api.hide_main_window()

However that call should be made optional and configurable too, so more updates to the configuration system are required.

If it helps for the time being, I suggest looking whether your window manager can be configured to set certain windows minimized by default, perhaps even to the system tray, or you could try some tools such as devilspie2 or kpie.

alexandre1985 commented 3 years ago

Thank you