Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • I'm not familiar with bottles; is that a graphical thing? And, in any case: How does your systemd service file look like, where do you place it and are you running it as user or system service? Commented Jul 6, 2023 at 10:04
  • Bottles is a Windows emulator. The command I run launches the bottles application and it opens the NetSync bottle. However, I need to manually press the "Play" button to run the actual NetSync application. Once I can get this to run automatically via command, then next step is to configure it as a systemd service. Commented Jul 6, 2023 at 10:31
  • ok, but this means bottles is a graphical application, right? Because that would suggest the whole approach is a dead end.- Commented Jul 6, 2023 at 10:40
  • 1
    I run it in VNC. In the [Unit] section, I set After=vncserver@:1.service. In [Service], environment is set as Environment="DISPLAY=:1". ExecStart starts a BASH script which executes flatpak run --command=bottles-cli com.usebottles.bottles run -b NetSync -p NetSync. App loads after system reboots. Commented Jul 6, 2023 at 16:01