Forum › Forums › antiX-development › Graphics › Light weight screenshot and annotate combo
- This topic has 315 replies, 10 voices, and was last updated Aug 23-5:44 pm by BobC.
-
AuthorPosts
-
March 11, 2021 at 2:48 am #55576Moderator
BobC
::I tried maim and it was able to get a picture of the full screen with spacefm desktop running
March 11, 2021 at 6:07 am #55578Member
ile
::Hello BobC
“Window” Selection of visible window for good result.
Better to do custom selection using rectangle.When a Window is selected for Screenshot
the selected window comes back at the top of the stack;
it needs Focus or Raise to allow other windows in the stack Above it. A click.Inside the script Alt+Tab can touch once the window stack to correct.
Inserted xdotool key Alt+Tab, previous to Keep this Screenshot?
No more rebel window on top.
Alt+Tab does not work on the spacefmDesktop window scenario, success all others.all version of screenshot antiX can benefit from adding this Alt+Tab touch.
(or some other way to focus the displaced Above window. )EDIT the following to “Alt+Shift+Tab” add sleep 2s before it
that has not failed yet. the Alt+Tab is not hundred percent.
Alt+Shift+Tab works better.revised antixscreenshotSpaceDesktop to
antixscreenshotSpaceDesktopwithtouchtoWindowSelection.- This reply was modified 2 years, 2 months ago by ile.
March 11, 2021 at 8:50 am #55583Member
ile
March 11, 2021 at 6:20 pm #55598ModeratorBobC
::ile, I expect my programs to work all of the time with the standard antiX setup, and I would like it to work reasonably reliably with the antiX optional setups (ie it should be consistent and explainable how it can work, like your SpaceFM desktop example).
The only dependency added was xdotool, which might not be needed in future if the MTPaint Devs allow me to specify the ini file to use instead of ~/.mtpaint on the command line.
If I am tweaking something created by the antiX Devs, I expect my changes should help fix any known problems and not create new ones.
My primary goal was to streamline the process and make the program default to taking a pic and bringing it up in MTPaint so it could be annotated, printed, sent or saved with a minimum of keys, clicks or effort. At the same time, I left the preview and save options selectable so that it could run in “ask popup questions” mode if the person wanted more control over those processes.
Also, I don’t think adding hotkeys that are already defined for other things is a good idea. That might be why your changes don’t work sometimes.
March 12, 2021 at 12:54 am #55615Member
ile
::Hello BobC
Returning back to the original version.
2.6 and 2.7 screenshot-antix
Screenshot on, buster, bullseye, sidFatality. original version.
Close all windows except ONE window.
One single window open, ControlCentre for example.
Open Screenshot, selection “Window”, OK.
With selection crosshair Click on the one and only window [ControlCentre.]On the choice “Keep This Screenshot?” Click “Cancel.”
(The reason a small window is chosen for the example is to have this Cancel button visible while not hidden behind the sole window. A full screen window cannot see this Cancel button. Have the single window in a position where the “Keep?” window is visible. and click Cancel. the test is to Not click on the ControlCentre window before click on the Cancel button. )
The single window [Control Centre] window is now movable, clickable, no windowmenu in window, windowmenu in taskbar,
Bring up the rootmenu will be Below the ControlCentre.
ControlCentre is floating out of control; it is active not focused in a strange above something placeuntil a second window is opened. and Control Centre gets a Click to focus.
This is why the inconsistent findings of trials. the redraw desktop is bugged (?) or whatever the cause,,
Scripting atop bug. Maybe this is from where come the interferences.
Exaample with only one window open ,
On the new version with deselect -Preview -(Reduce, openmtpaint), select +Choose directory +(Use countr), “Window” selection, OK,
the file Chooser will come up below the single window. a Click to focus. then normal. That is example of the strangley above window behavior that there is much it cannot do , rootmenu below it, chooser below it, lucky to have the chooser as a second window to against bounce free the first window.
What if it was to be fixed tomorrow? Keep working on it. Thanks
Avoid Screenshot-by-Window Selection.if [ "$REGION" = $"Custom Area" ] || [ "$REGION" = $"Window" ] if [ "$REGION" = $"Custom Area" -o $"Window" ] if ! [ "$REGION" = $"Full Screen" ]scrot issues has the phrase, selected focused window.
The word focused seems misplaced there. (?)
The action button has focus; the window is redrawn in its unfocused state just as it was captured.(?) It needs to be brought back with focus (?) instead of active without focus. It cannot be manipulated without being current. Iconified remain iconified(?)March 12, 2021 at 1:10 am #55616ModeratorBobC
::Ile, I didn’t like all the popups and that’s why I set about to improve it.
The MTPaint dev’s added a new ini override option so I’ll be able to automatically change the settings without needing to use xdotool. As far as in the program, I’m quite happy with how it works in MTPaint now.
As far as I know I don’t have any bugs needing fixed. If someone selects the popups, they will work just like they did before, but I don’t consider that to be a bug.
March 12, 2021 at 1:18 am #55617Member
ile
::having fun yet?
xwd | xwud
” didn’t like all the popups ” The selections made was a direct path to chooser without popup. thanks.March 12, 2021 at 2:25 am #55622Member
ile
::if [ "$OPENAFTER" != "true" ] ; then yad --title="antiXscreenshot" --timeout=6 --image="info" --text=$"Your screenshot saved. . \n Capture ." --button=$"Happy":0 --button=$"OK":0maybe mtpaint open “-thumb” (?)
Which of the generated, just saved, Screenshot files at this point in your script, the end, is more likely the one you wish to work with immediate?March 13, 2021 at 1:00 pm #55691Member
ile
::Hello BobC and everyone
It is the “-b” in scrot.
Took out the -b out of the custom area scrot commands. the script is working without the -b interference.
The Window selection problem redraw is caused by a -b.
Cleaned out the workarounds from the script
on the user end it works without the -b in scrot.rectangle selection and window selection [no -b]
March 13, 2021 at 1:21 pm #55695Member
ile
::Hello BobC and everyone
Is found that <imview> can be installed without all of imagemagik.ish.
What do you think of imview?March 13, 2021 at 1:50 pm #55696Member
ile
March 13, 2021 at 8:16 pm #55722Member
ile
::hello everyone
list from bottom up viewing same image in each
office Draw
pinta
mirage (thumbnailing on, so,)
lximage
pqiv
geeqie
viewnior
mtpaint
imview
fehAttachments:
March 16, 2021 at 6:16 pm #55857Member
ile
::Hello BobC and everyone How are you doing?
Accept request. Get to work on the task. Ask questions later.
One of the qualities to be valued in antiX installer.
Apply same attitude to “Screenshot”, get the job done, ask questions later.
Accomodate alternate workflows.
Into antixscreenshot previous to other commands, introduce within the script with,
Create at beginning of antixscreenshot “Screenshot” button/menu:sleep 1s;scrot INcaptur%Y%j%c -q 100 yad --title="antiXscreenshot" --timeout=6 --image="info" --text=$"one Full Screen , , \n \n INcapture SAVED \n into... /user folder " --button="capturIN:0" --button="SAVED:0" &Done. Fullscreen screenshot is saved.
Asking questions, taking request, is Custom View dialog antixscreenshot.Same as we agreed that quickest way to screenshot opening in editor is mtpaint -s. ,, but that is not saved file. A separate launcher for that marked, “Screenshot to:Edit” button/menu.
Screenshot are passed to editor at 100 quality. (my default use png default 9)
scrot must include -q 100 or else its default will skim to 75percent.
desize is in custom dialog; devalue is for editor. mtpaint sets devalue save defaults in settings. Some applications ask about devalue with each save. quality can reduce rapidly with a few saves.
antiX usually demonstrates more than one method or application to accomplish whatever is to be done.March 19, 2021 at 8:59 pm #56033Member
ile
::Hello BobC and everyone
Take a bite out of your Desktop.Screenshot 2.7 features for /scr with Screenshot 2.6 attitude, almost,
this one Semi-Automatic Save by default; save approval “Keep?”
on this version is not the same as Automatic save of 2.6;
default chooses /user directory, but does not save automatically.
(My check the box configured to point to /scr; This default check the box point to /user, When opening defaults in chooser.)
Do you prefer automatic save? or approval Keep step?
Saved images record with mtpaint window, Automatic.I hope you like this version of Screenshot combined mtpaint; screenshot-antix 7dash6 mtpaint
Thanks for the ideas, BobC. I plan more versions are underway. I am plodding, jabber ready. Student.
I do not know the proper jargon to indicate, is Moved some logic different places. see if it is okay (?) success or flaw?
fltk is interesting. (?)
imview is promising but not trouble-free.
pqiv seems worthwhile, powerful (?)
Thank You, anticapitalista, for the antixscreenshot is a magnificent play on the bash stage.March 19, 2021 at 9:35 pm #56037ModeratorBobC
::Have fun.
As I said:
1. I wanted it ask me what I wanted
2. Take the screenshot
3. Bring it up for me to annotate it easily
4. Then send it, with no questions askedI don’t understand what else was needed?
-
AuthorPosts
- You must be logged in to reply to this topic.



