SteamVR-for-Linux icon indicating copy to clipboard operation
SteamVR-for-Linux copied to clipboard

URI-steamvr and URI-vrmonitor should not appear in applications menu

Open roshanshariff opened this issue 4 years ago • 3 comments

Your system information

  • Steam client version (build number or date): May 14, 2021
  • Distribution (e.g. Ubuntu): Fedora
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

Steam creates the valve-URI-steamvr.desktop and valve-URI-vrmonitor.desktop files in ~/.local/share/applications to support the steamvr:// and vrmonitor:// URI schemes. These applications clutter the applications menu even though they don't provide any user-facing functionality.

Adding NoDisplay=true to these desktop entry files resolves the issue.

Steps for reproducing this issue:

  1. Install SteamVR
  2. Open the applications menu in your desktop environment
  3. See the URI-steamvr and URI-vrmonitor entries

roshanshariff avatar May 19 '21 19:05 roshanshariff

@roshanshariff Might be offtopic, but could you post the content of valve-URI-steamvr.desktop and valve-URI-vrmonitor.desktop? Im using the Flatpak version of Steam and it does not generate those.

nicokimmel avatar Jul 16 '22 05:07 nicokimmel

@nicokimmel, here you go:

valve-URI-steamvr.desktop

[Desktop Entry]
Name=URI-steamvr
Comment=URI handler for steamvr://
Exec="/home/steamuser/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrurlhandler" %U
Terminal=false
Type=Application
Categories=Game;
MimeType=x-scheme-handler/steamvr

valve-URI-vrmonitor.desktop

[Desktop Entry]
Name=URI-vrmonitor
Comment=URI handler for vrmonitor://
Exec="/home/steamuser/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/../vrmonitor.sh" %U
Terminal=false
Type=Application
Categories=Game;
MimeType=x-scheme-handler/vrmonitor

roshanshariff avatar Jul 16 '22 06:07 roshanshariff

Thank you very much for the quick reply! Urgh.. okay. I might not get this working now that I see the Bash scripts they are using. xd I thought they might just call the Steam executable. Don't have enough experience in doing such Flatpak stuff.

nicokimmel avatar Jul 16 '22 06:07 nicokimmel