Re: [qubes-users] How can I install new software in DOM0 ?

2021-08-09 Thread Vít Šesták
IIUC, you want to stream the screen via OBS.

a. You can do this from a specific qube. That is, this way, you can stream 
only windows from apps from a specific qube. Maybe this fits your needs, 
maybe it doesn't.
b. You can stream the dom0 screen to a qube and then capture it in OBS. I 
have managed doing so using few terrible hacks, but there is a noticable 
CPU load and low FPS on my machine (Ryzen 5800X, 1440p). Also you might 
need some work if you have multiple screens. If you are interested in it, I 
can share more when I am at PC.
c. You can record (not stream!) the screen either from dom0. I think I have 
succeeded with gtk-recordMyDesktop.

I have tried several tools that can allow streaming dom0 screen to a domU. 
I don't have notes about that, so I am writing just what I got from my 
memory:

* Some of them looked useful, but they are not in the offici repositories 
and I didn't want to add any extra repository to dom0. Especially ffmpeg 
looked promising, but there were more such tools.
* Some recording apps insist on saving the output to a file with a specific 
suffix. There is usually a workaround like ln -s /dev/stout /tmp/output.mp4.
* Many recording apps tend to encode the data. For transferring from dom0 
to domU, you would probably rather want raw data for multiple reasons: 1. 
Quality loss, 2. Latency and 3. CPU load.
* I think there are some apps that record the data in /tmp and postprocess 
them. This makes real-time streaming impossible unless you inspect the 
internal data.
* There are also some screenshoting apps. You can expect low FPS and high 
CPU usage, but this somehow works.
* Once you manage to capture the data in dom0, you can play then in domU 
using ffplay. From domU perspective, you might want to have it 
always-on-top and fullscreen, from dom0 perspective, you might want it 
hidden. Both is possible. I can share scripts for that. Some manual work is 
still needed, but they can be useful.

Regards,
Vít Šesták 'v6ak'

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/5f5c9961-12ac-4ac8-9223-8b3271fa5e92n%40googlegroups.com.


Re: [qubes-users] How can I install new software in DOM0 ?

2021-08-09 Thread 'Kevin O'Gorman' via qubes-users
If the goal is to do screen recording/streaming, one thing you might want 
to consider is using OBS on a separate non-Qubes machine, and using a HDMI 
capture card to make the Qubes machine's video available to OBS. I've done 
a bit of live streaming of Qubes sessions, and this is the simplest 
workflow for it that I've found (though it does require additional 
hardware). I've never tried installing OBS on dom0, but given how Qubes' 
GUI works, it feels like getting it installed would only be the beginning 
of the trouble.

(If you do go down that route and are streaming instead of recording, 
screensharing an OBS projector window instead of faking the OBS output as a 
webcam seems to give best quality, btw.)

It is possible to configure new repos in dom0 by adding configuration files 
under /etc/yum.repos.d, but if you're still getting up to speed with Qubes 
I would recommend against it, and would absolutely recommend against it for 
production use for repos that you don't trust explicitly or control. 

K.
-
On Sunday, August 8, 2021 at 6:19:30 AM UTC-4 qubes user wrote:

> Thank you very much for your answer but the guide didn't help. The 
> software I want to install is not in the repos and I cannot add a new repo. 
> I have little knowledge, it would be great if you could point out how I can 
> install directly from an new repo.
>
> On Sunday, August 8, 2021 at 12:40:22 PM UTC+3 a...@qubes-os.org wrote:
>
>> On 8/7/21 5:27 AM, qubes user wrote:
>> > How can I install a screen recorder program in DOM0. I tried to install
>> > "OBS" or "simplescreenrecorder" but everything I tried failed. Could you
>> > please explain how I can install a program in dom0?
>> > 
>>
>> https://www.qubes-os.org/doc/how-to-install-software-in-dom0/
>>
>> -- 
>> Andrew David Wong
>> Community Manager
>> The Qubes OS Project
>> https://www.qubes-os.org
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/57fe246f-3d94-4a27-902c-48d4c92af119n%40googlegroups.com.


Re: [qubes-users] How can I install new software in DOM0 ?

2021-08-08 Thread qubes user
Thank you very much for your answer but the guide didn't help. The software 
I want to install is not in the repos and I cannot add a new repo. I have 
little knowledge, it would be great if you could point out how I can 
install directly from an new repo.

On Sunday, August 8, 2021 at 12:40:22 PM UTC+3 a...@qubes-os.org wrote:

> On 8/7/21 5:27 AM, qubes user wrote:
> > How can I install a screen recorder program in DOM0. I tried to install
> > "OBS" or "simplescreenrecorder" but everything I tried failed. Could you
> > please explain how I can install a program in dom0?
> > 
>
> https://www.qubes-os.org/doc/how-to-install-software-in-dom0/
>
> -- 
> Andrew David Wong
> Community Manager
> The Qubes OS Project
> https://www.qubes-os.org
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/afc6c1c3-9ebe-41e4-8313-620d15109397n%40googlegroups.com.


Re: [qubes-users] How can I install new software in DOM0 ?

2021-08-08 Thread Andrew David Wong

On 8/7/21 5:27 AM, qubes user wrote:

How can I install a screen recorder program in DOM0. I tried to install
"OBS" or "simplescreenrecorder" but everything I tried failed. Could you
please explain how I can install a program in dom0?



https://www.qubes-os.org/doc/how-to-install-software-in-dom0/

--
Andrew David Wong
Community Manager
The Qubes OS Project
https://www.qubes-os.org

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/c636f930-d3c2-2712-c116-233eb85092b7%40qubes-os.org.


OpenPGP_signature
Description: OpenPGP digital signature


[qubes-users] How can I install new software in DOM0 ?

2021-08-07 Thread qubes user
How can I install a screen recorder program in DOM0. I tried to install 
"OBS" or "simplescreenrecorder" but everything I tried failed. Could you 
please explain how I can install a program in dom0?

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/c4fc3b9d-cfd1-4830-864e-d115e04a8d42n%40googlegroups.com.