Skip to content

[FEAT.] : Add Wivrn compatible category to .desktop shortcuts created in linux version #968

@Crono141

Description

@Crono141

Problem

I created a .desktop shortcut for one of my beatsaber instances and the exec line came in a bit malformed with the PRESSURE_VESSEL_IMPORT_OPENXR_1_RUNTIMES=1 line required by Wivrn appended at the end instead of as part of the environment variables. These shortcuts also are not picked up by Wivrn without being placed in a correct folder or with a certain category set within the .desktop file.

Solution

The formation of the environment variable needs to come before the executable, not afterward. I would also like to see if it were possible to add a Categories=X-WiVRn-VR line to the .desktop files so that Wivrn will pick up the application automatically when connected, and a copy of the .desktop file placed in ~/.local/share/applications/ for it to be picked up by wivrn automatically.

Alternative Solution

No response

Operating System

Linux

Additional Context

No response

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions