-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Sat, Jul 02, 2016 at 01:50:13AM -0700, Eva Star wrote:
> 
> >
> >
> > > Will this tool be available at the system when KDE will be removed by 
> > > default? 
> >
> > Your guess is right - when KDE is not installed, there is also no 
> > ksnapshot tool. But there are others, for example there is 
> > xfce4-screenshooter, which support mostly the same features. 
> >
> 
> Now, it's bash script. I do all the jobs with kdialog to select target vm, 
> then I upload image to this vm from dom0 and additional temp script which 
> do the job of uploading image file to the imgurl server, then open gedit to 
> show the results at appvm: image link&delete link. Also it's possible to 
> copy url automatically to the appvm clipboard.
> 
> There are a log of problems:
> 1) kdialog always swearing about "Qclipboard  event" (maybe because of I'm 
> at XFCE). Anyway, I do not like kdialog . :( 
> 2) ksnapshot used only because of it have "region selection" tool. I use 
> D-bus to control ksnapshot and extract any screenshots from it.
> 
> There is very fine&little alternative without dependencies called scrot 
> tool. 
> Scrot is okey, but it does not have interface to give user approach to 
> select some region. I need some tool to select region and get two (x,y) 
> coordinates to capture the area of the screen and to forget about ksnapshot.
> 
> As for me, seems it's easier and better to scripts&utils like kdialog and 
> rewrite all on clean c++ with some libs to do jobs. But I only know how to 
> write console apps. I never do something for GUI especially on linux. Seems 
> it's the place for Qt:
> 1) region selector to receive two XY coordinates tool (Qt).
> 2) alternative confirmation dialog by Qt
> 3) maybe some lib that already can capture screenshots to move from 
> commands at shell. 

xfce4-screenshoter also support selecting screen region. But I doubt it
support such detailed API as ksnapshot. It does support some command
line options:

    $ xfce4-screenshooter -h
    Usage:
      xfce4-screenshooter [OPTION...] 

    Help Options:
      -h, --help               Show help options
      --help-all               Show all help options
      --help-gtk               Show GTK+ Options

    Application Options:
      -c, --clipboard          Copy the screenshot to the clipboard
      -d, --delay              Delay in seconds before taking the screenshot
      -f, --fullscreen         Take a screenshot of the entire screen
      -m, --mouse              Display the mouse on the screenshot
      -o, --open               Application to open the screenshot
      -r, --region             Select a region to be captured by clicking a
    point of the screen without releasing the mouse button, dragging your
    mouse to the other corner of the region, and releasing the mouse button.
      -s, --save               Directory where the screenshot will be saved
      -u, --upload             Host the screenshot on ZimageZ, a free online
    image hosting service
      -i, --imgur              Host the screenshot on Imgur, a free online
    image hosting service
      -V, --version            Version information
      -w, --window             Take a screenshot of the active window
      --display=DISPLAY        X display to use


- -- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXeWdhAAoJENuP0xzK19csDrwIAJQ0XJquKvNQszODpQg1g5jf
6O+hZSQGZKp6Ov3jGgf0TQnni5yJwVLWkgt/rswuwGyIzmzMDJCRW60Zc1b4B+Jc
ZnMIoznoIPxVjkVaYAMZfttiqZ3LzK0Mc7cgZPpM3FXaffPLhHLGc3nycZJQp7hm
iMNYhuksa8M34O4PSUFT5JpJAiFZ0EC8iqLQ6cDXeNW+ltKb9yShfU85okMhqcnp
tgrj/R/jx/OaTZAWvDIry2cEVEhzrmmNyHLpzGTpae73LjiUVadw+fZfTysCHkgt
UEHjUcJbOLveQosa0ssoU5iHcLZYVRD1lJAjSl3NhODcInAe9Gkjo9zQXHIB+aI=
=5Wa0
-----END PGP SIGNATURE-----

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20160703192834.GD1323%40mail-itl.
For more options, visit https://groups.google.com/d/optout.

Reply via email to