-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add qubes-qvm-screenshot-tool dom0 salt recipe deployment #22
Comments
I rewrite every script added to Qusal to follow some coding rules and I as far as I can see, I will need to rewrite that tool completely. Can you please inform what features you use from that tool or if you know someone that uses it, what they most need?
I don't commonly do snapshots but from seeing forum posts, I can see it is very common. I can see how a 3 step solution:
Can be converted to a single option to export to a qube, better usability.
If you just want Qusal to bootstrap by enabling the contrib repo and downloading the tool from the contrib repo, although that is possible, I am still thinking towards writing my own version. I know these rewrites takes me some time but the end result is much better, in my point of view, of course. This, of course, depends on how you answer the questions above. |
@ben-grande : I think an iterative approach would be delightful here
Base logic of this is, if I understand contribution and upstreaming correctly, contrib is first step prior of adoption under main repos.
The main reason I use it is for print screen and alt-printscreen replacement, that is, to only select part of the screen related to a qube window prior of having the tool ask what to do next. Nor ally that is simply to call the qvm-copy to desired vm and that's it. I agree that editing with imagemagik is less than efficient, but I'm not aware of the other use cases like paste bin. Afterall, if final screenshot is in desired vm, you can then edit it if needed or add text etc from better tools there. The main thing here is really to have contrib repos activated alongside all qusal helpers (cacher) and then deploy that tool as is + keyboard shortcut remappings (xfce and KDE). Makes sense? |
Yes, it makes sense. I started doing the tool in the meantime because I didn't want to add a tool from the contrib repository that has unnecessary stuff.
Most things I see in contrib are never added to the main repos. This is why most things I did contribute to Qubes either make to the default installation or don't make to contrib at all, as I don't see a value in that due to low reviews and actions. So, I either wait for upstream to have enough time to review mine or anybody package to be added to the QubesOS-contrib repository or I develop them by myself. So far, I've been doing the latter, but for bigger projects such as split-dm-crypt or split-browser, I won't copy it because they require quite some work and upstream is responsive. I will probably finish the screenshot script and add the option to add the contrib repos later on, as it might benefit in the future users who use contributed packages. |
I know how to do that with Xfce using |
From what I can gather, it would look like something along the lines of:
|
Couldn't do it with KDE, did not understand why... Tried with Soon I will push the script with Xfce keyboard being set, if you can do it with KDE, I am open to contributions. |
Tool is present now. I just tested the shortcut on Xfce and it is working, but I am a KDE user and KDE shortcut could not be done... reopening until it is done by contribution, as I couldn't do it now. Probably need to look at |
Provided in the default Dom0 installation as it brings a much better usability and small packages. KDE ships with kdialog but without a screenshot utility. Xfce ships with xfce4-screenshooter but without a dialog utility. Scrot and Zenity are minimal tools that works on both DEs and are very small packages. Fixes: #22
Was wrongly closed by rewritting git history in last commits? (should review other issues maybe fitting in that time-window) Will try to allocate time into testing this (in my todos) |
This comment was marked as outdated.
This comment was marked as outdated.
Yes, due to removing mirage tarball retroactively.
Thanks. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Cross-referencing to upstream QubesOS/qubes-issues#953 (comment) |
Monitoring dbus while modifying KDE screenshots via the GUI
|
If upstream accepts me as the new maintainer, this issue can be closed and KDE shortcuts issue will be redirected to upstream ticketing system. |
I still can't configure KDE shortcuts via the command-line. This is not something I plan to spend more time on. Screenshot tool was implemented and even tried to add to upstream. Closing as won't do KDE shortcuts. |
Commitment
I confirm that I have read the following resources:
Current problem (if any)
Dom0 screenshot and setting preferences shortcuts is not so straightforward for end users. One amazing project was put under contrib packages, but bootstrapping first package installation is also not straightforward for end users.
Proposed solution
It would be really helpful to offer dom0 installation of https://github.com/QubesOS-contrib/qubes-qvm-screenshot-tool with a dom0 salt recipe, binding xfce alt-printscreen and printscreen keyboard shortcuts to both KDE and Xfce.
The value to a user, and who that user might be
Sharing a windows content or whole desktop through copying it directly to proper domu is already properly resolved by https://github.com/QubesOS-contrib/qubes-qvm-screenshot-tool. On system reinstallation, it should be as easy to deploy as qusal makes it for other tools.
Of course this is my preference. Not sure why this is not the default yet and in contrib repo, but that tool is available and superior to the default. Trying it is adopting it, with space for improvement upstream for it to eventually become the default.
The text was updated successfully, but these errors were encountered: