Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use -silent to launch steam without it's window #1123

Open
Lokito23 opened this issue Jun 22, 2024 · 6 comments
Open

Use -silent to launch steam without it's window #1123

Lokito23 opened this issue Jun 22, 2024 · 6 comments
Labels
ext-steam Steam-specific issue

Comments

@Lokito23
Copy link

Lokito23 commented Jun 22, 2024

The issue

When I have tried to open a Steam game, without Steam being open (to avoid #442), Steam opens as a window.

Expected behavior

  1. Launch Pegasus
  2. Open a Steam game with Pegasus
  3. Steam starts up, but does not appear as a window
  4. The game launches

Actual behavior

  1. Launch Pegasus
  2. Open a Steam game with Pegasus
  3. Steam starts up as a window
  4. The game launches
  5. Upon closing the game, Steam's window is still there

System info

Arch Linux, Pegasus is installed via the AUR package.

Pegasus version

alpha16-78-gcc2497ab, 2024-04-12

Pegasus log

The attached log contains a steam game being selected to run, and steam starting up, along side the game, and then closing the game, steam and pegasus.

lastrun.log

@mmatyas
Copy link
Owner

mmatyas commented Jun 22, 2024

Hi! As far as I know, that's how Steam works; to launch a Steam game, Steam has to launch, which may open its own window. Pegasus doesn't have Steam specific code to touch Steam's windows or processes, but if you're aware of a relevant command line flag, do let me know!

@Lokito23
Copy link
Author

You can use the command-line argument -silent in order for it to not show the window.

For example: steam -silent steam://rungameid/[insert id here]

@mmatyas
Copy link
Owner

mmatyas commented Jun 22, 2024

I see, thanks!

@mmatyas mmatyas added the ext-steam Steam-specific issue label Jun 22, 2024
@mmatyas
Copy link
Owner

mmatyas commented Jun 22, 2024

Hm so the problem is, since Pegasus can only reopen after the program is closed, and for Steam that has to be done, in general, manually, leaving Steam's window on the screen might be a better reminder for that than only being present on the tray. I did try -silent and it works perfectly, so well that it makes easy to forget why Pegasus doesn't reappear.

@Lokito23
Copy link
Author

Once #442 does get fixed, it won't be a problem, but for now, keeping it as is isn't that bad of an idea to remind that you have steam open.

@Lokito23 Lokito23 changed the title Different issue with Steam Use -silent to launch steam without it's window Jun 22, 2024
@Lokito23
Copy link
Author

Changed the title to reflect the current situation, this issue depends on #442 getting fixed, as it is useful as a reminder to close steam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ext-steam Steam-specific issue
Projects
None yet
Development

No branches or pull requests

2 participants