Jump to content
Programie

Start Enpass hidden

Recommended Posts

When configuring Enpass to automatically start on login, the Enpass main window is visible.

Is there any way to start Enpass just showing the tray icon without showing the main window?

I'm using Enpass 6.0.1 on Ubuntu 18.10 with KDE.

  • Like 2

Share this post


Link to post
Share on other sites

Same here, this is broken for ages and Enpass support confirmed working on it month ago. When there will be a fix available?

Share this post


Link to post
Share on other sites

I just tried re-enabling the Open Automatically at System Startup option and now it works. Thanks!

The option changes the Startup entry to execute "/opt/enpass/Enpass -minimize".

Share this post


Link to post
Share on other sites

In my previous post I only tested it in the way of quitting Enpass and manually starting it with the "-minimize" option which worked as already described. But I still got the issue after login.

After some time trying to find out what exactly causes the issue, I tried to remove the startup entry completely. But Enpass still started on login even if it should not as there is no startup entry.

Then I figured out that KDE by default saves the opened application in the session and restores them after login. But in that case, Enpass is started with "-session <some long session id>" instead of the "-minimize" option which obviously results in having the main window visible on start.

I've now configured KDE to always start a clean session on login without restoring previous opened applications and re-enabled the "Open Automatically at System Startup" option in Enpass. Now Enpass is starting with only the tray icon visible.

There is also an option to exclude specific application from session restoration, so excluding Enpass from the session restoration should also work. But in my case, I keep the session restoration completely disabled.

Share this post


Link to post
Share on other sites

I solved this problem using pkill and sleep command on autostart script (I'm using plasma desktop, the time perfect for me was 10 seconds), ex. "pkill Enpass && sleep 10 && /opt/enpass/Enpass -minimize".

Edited by lw4z
After more tests
  • Thanks 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...