Qvm-screenshot-tool issues?

Its been awhile since I used it but I recently tried using qvm-screenshot-tool and had some issues. I looked on the forum and did see one post from someone that I think was trying to use it from within an appvm but thats it I think?

So i tried running it in dom0 and nothing so then i made sure the qubes-repo-contrib was installed:


[bob@dom0 Pictures]$ sudo qubes-dom0-update qubes-repo-contrib
Using sys-firewall as UpdateVM for Dom0
Downloading packages. This may take a while...
Unable to detect release version (use '--releasever' to specify release version)
Fedora 37 - x86_64                              8.6 MB/s |  70 MB     00:08    
Fedora 37 - x86_64 - Updates                     18 MB/s |  43 MB     00:02    
Qubes OS Contrib Repository for dom0 (updates)   29 kB/s |  27 kB     00:00    
Qubes Host Repository (updates)                 604 kB/s | 3.3 MB     00:05    
Package qubes-repo-contrib-4.2.14-1.fc37.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
No packages downloaded
Qubes OS Repository for Dom0                                          2.7 MB/s | 3.0 kB     00:00    
Package qubes-repo-contrib-4.2.14-1.fc37.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!

then tried to install the app/script:

[bob@dom0 Pictures]$ sudo qubes-dom0-update --clean qvm-screenshot-tool
Using sys-firewall as UpdateVM for Dom0
Downloading packages. This may take a while...
28 files removed
Unable to detect release version (use '--releasever' to specify release version)
Fedora 37 - x86_64                               22 MB/s |  70 MB     00:03    
Fedora 37 - x86_64 - Updates                     15 MB/s |  43 MB     00:02    
Qubes OS Contrib Repository for dom0 (updates)   27 kB/s |  27 kB     00:00    
Qubes Host Repository (updates)                 949 kB/s | 3.3 MB     00:03    
No match for argument: qvm-screenshot-tool
Error: Unable to find a match: qvm-screenshot-tool

so tried to manually download it, copy it over to dom0, and run it but got a zenity not installed error so installed zenity and am now getting:
[EXIT] "ImageMagic" (display) not found

So now I am not sure. I seem to remember some rather manual ways to take a screenshot but this tool was soo useful!

1 Like

What did you download and how did you install it?

1 Like

I downloaded the script from github and tried to just run it, I didn’t really “install it” per se
https://raw.githubusercontent.com/QubesOS-contrib/qubes-qvm-screenshot-tool/refs/heads/master/qvm-screenshot-tool.sh

1 Like

You can just remove the display tool usage from the script instead if installing ImageMagic in dom0.
Remove this:
qubes-qvm-screenshot-tool/qvm-screenshot-tool.sh at 67c5c2fb59476b410484734b01b723332cd20ed6 · QubesOS-contrib/qubes-qvm-screenshot-tool · GitHub
And this:
qubes-qvm-screenshot-tool/qvm-screenshot-tool.sh at 67c5c2fb59476b410484734b01b723332cd20ed6 · QubesOS-contrib/qubes-qvm-screenshot-tool · GitHub

2 Likes

Yeah! Thank you!

1 Like

There is an alternative which does not have those problems: ben-grande/qubes-qvm-screenshot-tool. Not reviewed by the Qubes team.

1 Like