consolefont is broken; screen sharing is fixed

main
Inga 🏳‍🌈 2 years ago
parent ecc48c11e1
commit 3fd6532cf9
  1. 19
      README.md

@ -161,6 +161,8 @@ setfont /usr/share/console-fonts/ter-132n.psf.gz
If it looks decent: change consolefont in `/etc/conf.d/consolefont` to `"ter-132n.psf.gz"` and `doas rc-update add consolefont boot` If it looks decent: change consolefont in `/etc/conf.d/consolefont` to `"ter-132n.psf.gz"` and `doas rc-update add consolefont boot`
**Note that this will break your login manager for some reason**
### Environment ### Environment
In order to not have to create wrapper scripts for all apps: In order to not have to create wrapper scripts for all apps:
@ -463,13 +465,22 @@ Can be tested in https://webrtc.github.io/test-pages
doas apk add xdg-desktop-portal xdg-desktop-portal-wlr doas apk add xdg-desktop-portal xdg-desktop-portal-wlr
``` ```
and DO NOT add to your river config Create `/usr/local/bin/inga-xdg-desktop-portal-wlr` with the following:
```
#!/bin/sh
killall /usr/libexec/xdg-desktop-portal
killall /usr/libexec/xdg-desktop-portal-wlr
/usr/libexec/xdg-desktop-portal-wlr
```
and to your river config
``` ```
riverctl spawn "/usr/libexec/xdg-desktop-portal-wlr" riverctl spawn "inga-xdg-desktop-portal-wlr"
``` ```
(for some reason it does not work when spawned by river during init (process is running, but screensharing attempts lead to nothing), (for some reason `xdg-desktop-portal` gets started automatically and after that newly started xdg-desktop-portal-wlr does not work;
but `/usr/libexec/xdg-desktop-portal-wlr &` from shell works fine) we need to kill that xdg-desktop-portal first)
### Prevent firefox sharing indicator from taking the entire tile ### Prevent firefox sharing indicator from taking the entire tile

Loading…
Cancel
Save