SFP icon indicating copy to clipboard operation
SFP copied to clipboard

Support "Run on Boot" on Linux and Mac

Open PhantomGamers opened this issue 1 year ago • 9 comments

PhantomGamers avatar May 27 '23 21:05 PhantomGamers

You could probably create a systemd service, or the way I did it (with KDE), is to set the program to autostart via the settings and create a window rule that will minimize the window to tray (and this only happens the first time you open the program).

FPSUsername avatar Feb 10 '24 15:02 FPSUsername

Pull requests are welcomed 🙂

PhantomGamers avatar Feb 10 '24 19:02 PhantomGamers

You could probably create a systemd service, or the way I did it (with KDE), is to set the program to autostart via the settings and create a window rule that will minimize the window to tray (and this only happens the first time you open the program).

Just add SFP to startup applications.

V0IDL355 avatar Feb 24 '24 13:02 V0IDL355

You could probably create a systemd service, or the way I did it (with KDE), is to set the program to autostart via the settings and create a window rule that will minimize the window to tray (and this only happens the first time you open the program).

Just add SFP to startup applications.

dosent work universally best would be systemd or initrd service.

IGN-Styly avatar Mar 25 '24 21:03 IGN-Styly

dosent work universally best would be systemd or initrd service.

If you put SFP .desktop file to the ~/.config/autostart, it should work universally.

Goosegit11 avatar Apr 06 '24 14:04 Goosegit11

thats by definition not universal

IGN-Styly avatar Apr 16 '24 18:04 IGN-Styly

Okay, what is your definition of universal? Because a systemd unit is no more universal than putting .desktop file into the autostart

Both wouldn't work on MacOS, but autostart would work on non-systemd distros

Goosegit11 avatar Apr 17 '24 11:04 Goosegit11

I don't think a "universal" solution is really necessary anyway.

Multiple solutions can be incorporated eventually.

I think the important thing would be that the first solution just targets whatever would work for the largest number of users.

I'll accept whatever as a PR, though. I just don't really want to set up a VM or something to experiment with it. Right now, I just do testing to make sure SFP works on Linux using WSL. For Mac, I have to rely on users who own a Mac.

PhantomGamers avatar Apr 17 '24 11:04 PhantomGamers

the best thing would be compiling css.

IGN-Styly avatar Apr 17 '24 13:04 IGN-Styly