Could rely on an eye chart to calibrate scaling per user. Ideally it'd be displayed on the target screens though, not in the XR display controlling scaling. Selected value could then be saved locally, e.g localStorage, or remotely with a user ID so that it becomes the default on next connection.
Could rely on an [eye chart](https://en.wikipedia.org/wiki/Eye_chart) to calibrate scaling per user. Ideally it'd be displayed on the target screens though, not in the XR display controlling scaling. Selected value could then be saved locally, e.g `localStorage`, or remotely with a user ID so that it becomes the default on next connection.
Consider also kwin and Vimperator scripts, among the different ways to manage windows and tabs programmatically and thus remotely.
Consider also [kwin](https://develop.kde.org/docs/plasma/kwin/) and Vimperator scripts, among the different ways to manage windows and tabs programmatically and thus remotely.
script=/home/fabien/Prototypes/kwin-scripting/minimizeall.kjs
# from https://unix.stackexchange.com/a/517690/486198num=$(dbus-send --print-reply --dest=org.kde.KWin \
/Scripting org.kde.kwin.Scripting.loadScript \
string:"$script"| awk 'END {print $2}')dbus-send --print-reply --dest=org.kde.KWin /$num\
org.kde.kwin.Script.run
# I'm not sure if some delay is in order here to let your script complete?dbus-send --print-reply --dest=org.kde.KWin /$num\
org.kde.kwin.Script.stop
example with KWin :
```bash
script=/home/fabien/Prototypes/kwin-scripting/minimizeall.kjs
# from https://unix.stackexchange.com/a/517690/486198
num=$(dbus-send --print-reply --dest=org.kde.KWin \
/Scripting org.kde.kwin.Scripting.loadScript \
string:"$script" | awk 'END {print $2}' )
dbus-send --print-reply --dest=org.kde.KWin /$num \
org.kde.kwin.Script.run
# I'm not sure if some delay is in order here to let your script complete?
dbus-send --print-reply --dest=org.kde.KWin /$num \
org.kde.kwin.Script.stop
```
running the content of `minimizeall.kjs`
```javascript
const clients = workspace.clientList();
for (var i = 0; i < clients.length; i++) {
print(clients[i].caption);
clients[i].minimized = true;
}
```
see past test with `xdotool` when APIs are missing e.g https://twitter.com/utopiah/status/1499486056042872839 and https://twitter.com/utopiah/status/1493480186368700416
Instead consider JavaScript timer in :jsb running tri.excmds.source("~/path/to/magic/RC") and have your RC file start that timer (cf discussion on Matrix)
On tridactyl see https://github.com/tridactyl/tridactyl/issues/780
Instead consider JavaScript timer in `:jsb` running `tri.excmds.source("~/path/to/magic/RC")` and have your RC file start that timer (cf discussion on Matrix)
Examples of changing screen resolution to make it more readible.
Could also provide a list of opened tabs.
Could rely on an eye chart to calibrate scaling per user. Ideally it'd be displayed on the target screens though, not in the XR display controlling scaling. Selected value could then be saved locally, e.g
localStorage
, or remotely with a user ID so that it becomes the default on next connection.Consider how furnitures could be used too, via e.g https://immersive-web.github.io/real-world-meshing/ , to know where screens are related to user.
Consider also kwin and Vimperator scripts, among the different ways to manage windows and tabs programmatically and thus remotely.
see also #16 to avoid doing specific documentation and endpoints
paths
/hmdlink
and/hmdlink/set
are arguably XR specific, even though in truth are mostly about devices with inconvenient input methodsrelated code
6cb7a8c8c8
as starting point inxr
branch.example with KWin :
running the content of
minimizeall.kjs
embedding of KWin script
78229f9b8f
see past test with
xdotool
when APIs are missing e.g https://twitter.com/utopiah/status/1499486056042872839 and https://twitter.com/utopiah/status/1493480186368700416On tridactyl see https://github.com/tridactyl/tridactyl/issues/780
Instead consider JavaScript timer in
:jsb
runningtri.excmds.source("~/path/to/magic/RC")
and have your RC file start that timer (cf discussion on Matrix)pointer example
9414807070