@protonprivacy I am using Fedora (Gnome) and I would like to launch ProtonMail Bridge in background. But I don’t know how and cannot find a setting for that. Has anyone solved a similar issue?

  • ViciousTurducken
    link
    fedilink
    English
    arrow-up
    4
    ·
    11 months ago

    You can install gnome tweaks and there is section that allows you to have apps start on boot

    • Moritz@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      11 months ago

      It seems, that I cannot answer from mastodon, therefore i will do it from lemmy.

      Launching the App at startup is not my problem (at least not for now). It is rather that I would like to have ProtonMail Bridge minimize into the background applications list (like steam does, shown in the screenshot appended).

    • Moritz Bergmann@chaos.socialOP
      link
      fedilink
      arrow-up
      1
      ·
      11 months ago

      @ViciousTurducken Launching the App at startup is not my problem (at least not for now). It is rather that I would like to have ProtonMail Bridge minimize into the background applications list (like steam does, shown in the screenshot appended).

    • Moritz@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      11 months ago

      Launching the App at startup is not my problem (at least not for now). It is rather that I would like to have ProtonMail Bridge minimize into the background applications list (like steam does, shown in the screenshot appended).

  • Moritz@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    For anyone who wonders how I solved my issue:

    I created the file ~/.config/systemd/user/protonmail-bridge.service and wrote the following into it:

    [Unit]
    Description=ProtonMail Bridge Flatpak Service
    
    [Service]
    ExecStart=/usr/bin/flatpak run ch.protonmail.protonmail-bridge --no-window
    Restart=always
    RestartSec=10
    
    [Install]
    WantedBy=default.target
    

    If you are not using the Flatpack version of ProtonMail Bridge, then modify the ExecStart value to your installation.

    After that I ran systemctl --user start protonmail-bridge.service to start the service and systemctl --user enable protonmail-bridge.service to make it auto-start upon login-in into my account.