Files
website/assets/js/530ea7a0.ecb9b0bc.js
github-actions[bot] a31fe79593 deploy: 1a6df6154c
2023-07-11 19:35:53 +00:00

1 line
3.7 KiB
JavaScript

"use strict";(self.webpackChunkstardust_website=self.webpackChunkstardust_website||[]).push([[459],{4768:function(t,e,r){r.r(e),r.d(e,{contentTitle:function(){return u},default:function(){return c},frontMatter:function(){return o},metadata:function(){return p},toc:function(){return l}});var a=r(7462),n=r(3366),s=(r(7294),r(3905)),i=["components"],o={sidebar_position:3},u="Setup",p={unversionedId:"getting-started/setup",id:"getting-started/setup",isDocsHomePage:!1,title:"Setup",description:"First you need to install and run the server from https//gitlab.freedesktop.org/monado/demos/xrgears first.",source:"@site/docs/getting-started/setup.md",sourceDirName:"getting-started",slug:"/getting-started/setup",permalink:"/docs/getting-started/setup",editUrl:"https://github.com/StardustXR/website/edit/main/docs/getting-started/setup.md",version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"tutorialSidebar",previous:{title:"Technical Overview",permalink:"/docs/getting-started/tech-overview"},next:{title:"Making Clients",permalink:"/docs/getting-started/making-clients"}},l=[],d={toc:l};function c(t){var e=t.components,o=(0,n.Z)(t,i);return(0,s.kt)("wrapper",(0,a.Z)({},d,o,{components:e,mdxType:"MDXLayout"}),(0,s.kt)("h1",{id:"setup"},"Setup"),(0,s.kt)("p",null,"First you need to install and run the server from ",(0,s.kt)("a",{parentName:"p",href:"https://github.com/StardustXR/server"},"https://github.com/StardustXR/server"),". Follow the README. If you have issues getting OpenXR to work, try running ",(0,s.kt)("a",{parentName:"p",href:"https://gitlab.freedesktop.org/monado/demos/xrgears"},"https://gitlab.freedesktop.org/monado/demos/xrgears")," first."),(0,s.kt)("p",null,"After the server is running, you'll need to run some clients. Here's a demo showing some off:\n",(0,s.kt)("img",{alt:"A showcase of some different clients",src:r(7608).Z})),(0,s.kt)("p",null,"Non-exhaustive list of clients:"),(0,s.kt)("ul",null,(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("a",{parentName:"li",href:"https://github.com/StardustXR/flatland"},"Flatland"),": A panel item UI (XR equivalent of a window manager) so you can interact with your apps using virtual touchscreens. To show Wayland apps, run them with the proper ",(0,s.kt)("inlineCode",{parentName:"li"},"WAYLAND_DISPLAY")," environment variable, in the server's startup script, or use a stardust launcher such as gravity or protostar. Flatland works great in 3DoF or 6DoF with direct touch and pointer interaction.\n",(0,s.kt)("img",{alt:"A flat panel containing the prism launcher",src:r(3209).Z})),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("a",{parentName:"li",href:"https://github.com/StardustXR/gravity"},"Gravity"),": Command line tool to launch programs inside of stardust at a particular offset in space. This is nestable so you can run a script using gravity, and then gravity inside that script to make a whole composed setup out of thin air! It also ensures that everything launched through it will properly connect to the stardust server, such as wayland clients."),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("a",{parentName:"li",href:"https://github.com/StardustXR/protostar"},"Protostar"),": Prototype app launcher library/examples. Grab app icons and drop them in space to launch apps where they're dropped."),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("a",{parentName:"li",href:"https://github.com/StardustXR/magnetar"},"Magnetar"),": Workspaces in 3D. Any object inside the rings will move with them, so you can move a bunch of stuff out of the way temporarily when you don't need it.")))}c.isMDXComponent=!0},7608:function(t,e,r){e.Z=r.p+"assets/images/demo_01-3f062278f190ed11479d5ea8e039dc64.mp4"},3209:function(t,e,r){e.Z=r.p+"assets/images/flatland-c9d34ce9792aaeed42e52ead19bb1a4c.png"}}]);