this post was submitted on 08 Feb 2024
25 points (93.1% liked)

Linux Gaming

15797 readers
23 users here now

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

founded 4 years ago
MODERATORS
 

Hi folks, I'm tinkering a lot with bash scripts and I wonder if it is possible to make steam launch when the steamlink on my appleTV pings the computer to find out if it is working.

The issue is that I sometimes sit down at my TV and want to play, finding out my Steam Machine is offline due to steam not running, it being suspended or shut down.

Since the appleTV shouldnt be pinging the PC if steamlink is off it shouldnt be an issue, right?

Bonus points: Obviously I would then like to expand this to wake on lan but I'd also need games to run without login then. Does anyone have ideas to this?

Thanks for reading and have a good one.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] e0qdk@kbin.social 6 points 9 months ago (1 children)

It might be easier to just fire up Wireshark and look for relevant traffic when you trigger the action.

[โ€“] Socket462@feddit.it 2 points 9 months ago

I would try this route first.

Here is my logic: it's the effort to find what you are looking for in a bunch of files and I don't know how many lines of source code versus the effort to search for some packets (which you should listen for anyway in the final solution) sent from a specific IP address over a relatively small amount of time.