Comments (7)
We should also be moving the driver's bin and config files to their proper directories. Keep in mind you'd need to update the setup scripts to copy the existing config file if the user already has one.
from breezy-desktop.
Also note that the setup scripts call uninstall for the previous version already, so if you just update setup to do install properly going forward, you don't need to clean up the old bin files. Only the config file needs special treatment to be preserved.
from breezy-desktop.
We should also update the README docs to reference new bin and config file locations.
from breezy-desktop.
~/.xreal_driver_log
should be moved somewhere better as well.
from breezy-desktop.
I'm updating all the file locations now soon. Here's my plan:
- logs: ~/.local/share/xr_driver/logs
- currently ~/.xreal_driver_log
- driver binary: /usr/local/bin/xr_driver/
- currently ~/bin/xrealAirLinuxDriver
- bash scripts: ~/.local/bin/xr_driver/
- currently ~/bin/xreal_driver_(config/uninstall)
- driver config file: ~/.config/xr_driver/
- currently ~/.xreal_driver_config
from breezy-desktop.
Just a note: all my recommendations above are based on eventually moving to a user-systemd service (instead of system/root like it is now).
Additional recommendations from a convo on the Discord:
If stuff is reading and writing to the user-directory then the systemd unit should probably be a user-unit in ${XDG_CONFIG_HOME}/systemd/user too.
Likewise IPC and lock bits would go into ${XDG_RUNTIME_DIR}/xr_driver
Rather than ~/.local/share/xr_driver/logs logs are considered state so would go to ${XDG_STATE_HOME}/xr_driver/logs
We should also move the license file currently located at /var/lib/xr_driver/device_license
.
Also reiterating a point above: we'll want the driver setup script to move some of these files so they're preserved. Specifically the config and log files, but the license could be moved as well (it'll just be re-downloaded to the new location if we don't do this, but if somehow they ran the setup offline, it would be better to proactively move for them so they don't lose functionality if they aren't able to download).
from breezy-desktop.
Related Issues (12)
- Xreal Air 2 Pro do not work on mint (with steamvr) HOT 4
- Adding double click support in mouse mode HOT 2
- Is this GDPR complient? HOT 7
- Error starting systemd HOT 4
- [FR]: Improved zoom capabilities of virtual display HOT 3
- [FR]: Respect XDG_CONFIG_HOME HOT 2
- [Feature] Helper visualization when your virtual screen is fully "offscreen".
- Add a UI for Linux users, parity with Decky UI HOT 2
- Add some way to verify installation HOT 1
- Need a non root version of setup HOT 8
- Having xreal-air-driver.service running causes monado-service to fail HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from breezy-desktop.