How to capture images with Paint ~ Procedure

Moderator: BarryK

Post Reply
User avatar
pp4mnklinux
Posts: 1136
Joined: Wed Aug 19, 2020 5:43 pm
Location: Edinburgh
Has thanked: 634 times
Been thanked: 282 times
Contact:

How to capture images with Paint ~ Procedure

Post by pp4mnklinux »

Hello everybody:

I'm sure you like to capture images the most easy way with easy os.

By default, PAINT is installed in your system, so, why don't use it to capture and configure a key to do it?

I configured F1 to capture, all you must do is:

1.- Start EasyJWM
2.- Set JWM Keyboard Shortcuts
3.- Add New Shortcut
4.- KEY F1
5.- Action exec:mtpaint -s

APPLY AND NOW your F1 key is going to capture the screen.

Attachments
mtpaint.jpg
mtpaint.jpg (188.83 KiB) Viewed 1070 times
FeodorF
Posts: 244
Joined: Tue Jul 14, 2020 7:52 pm
Has thanked: 10 times
Been thanked: 34 times

Re: How to capture images with Paint ~ Procedure

Post by FeodorF »

Hi, @pp4mnklinux

Forum member 'version2013' posted on June, 20th 2023 about a tool that runs in the terminal and reads mouse position and the keycode for pressed keys.

Enter: # xev and you are good to go.

xev-F11-key-pressed.png
xev-F11-key-pressed.png (26.19 KiB) Viewed 497 times

In this example the F11 key was pressed on a standard keyboard. The keycode assigned to this key is 95.

You can easily activate the PRINT key (or any other key) on the standard keyboard to create a screen copy. I have chosen a 5 second delay to arrange the items on the screen.

Assign-the-PRINT-key-on-your-keyboard.png
Assign-the-PRINT-key-on-your-keyboard.png (25.67 KiB) Viewed 490 times
Last edited by FeodorF on Thu Jul 11, 2024 10:55 am, edited 2 times in total.
User avatar
BarryK
Posts: 2692
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 738 times

Re: How to capture images with Paint ~ Procedure

Post by BarryK »

Also, you might be interested in utility 'getcurpos' that returns the current mouse coordinates:

Code: Select all

# getcurpos
1263 605
don570
Posts: 688
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 117 times

Re: How to capture images with Paint ~ Procedure

Post by don570 »

James of fatdog has written up his screenshot utility that
is in all fatdogs

http://lightofdawn.org/wiki/wiki.cgi/Xscreenshot

If you use it with the terminal a delay is optional.

I like it because it uses the print screen key automatically.
Then press the print screen key a second time to stop it.
____________________________________________________

User avatar
pp4mnklinux
Posts: 1136
Joined: Wed Aug 19, 2020 5:43 pm
Location: Edinburgh
Has thanked: 634 times
Been thanked: 282 times
Contact:

Re: How to capture images with Paint ~ Procedure

Post by pp4mnklinux »

My favourite screenshooter...

XFCE4-SCREENSHOOTER

I will love to see it included in EasyOs ;) @BarryK

Lots of options.

https://docs.xfce.org/apps/xfce4-screenshooter/usage

Attachments
image 23_47.jpg
image 23_47.jpg (28.79 KiB) Viewed 417 times
image 23_48.jpg
image 23_48.jpg (35.91 KiB) Viewed 417 times
Last edited by pp4mnklinux on Fri Jul 12, 2024 10:02 am, edited 1 time in total.
User avatar
BarryK
Posts: 2692
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 738 times

Re: How to capture images with Paint ~ Procedure

Post by BarryK »

BarryK wrote: Thu Jul 11, 2024 10:51 am

Also, you might be interested in utility 'getcurpos' that returns the current mouse coordinates:

Code: Select all

# getcurpos
1263 605

The source for getcurpos is in pup-tools package:
https://distro.ibiblio.org/easyos/sourc ... betical/p/

User avatar
BarryK
Posts: 2692
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 738 times

Re: How to capture images with Paint ~ Procedure

Post by BarryK »

pp4mnklinux wrote: Thu Jul 11, 2024 9:48 pm

My favourite screenshooter...

XFCE4-SCREENSHOTER

I will love to see it included in EasyOs ;) @BarryK

Lots of options.

https://docs.xfce.org/apps/xfce4-screenshooter/usage

Not another one!
EasyOS already has three of them:

Screeny
Take A Shot
mtPaint-snapshot

User avatar
pp4mnklinux
Posts: 1136
Joined: Wed Aug 19, 2020 5:43 pm
Location: Edinburgh
Has thanked: 634 times
Been thanked: 282 times
Contact:

Re: How to capture images with Paint ~ Procedure

Post by pp4mnklinux »

BarryK wrote: Fri Jul 12, 2024 9:46 am

Not another one!
EasyOS already has three of them:

Screeny
Take A Shot
mtPaint-snapshot

hahaha... ok, ok... hahaha :D

jamesbond
Posts: 717
Joined: Tue Aug 11, 2020 3:02 pm
Location: The Pale Blue Dot
Has thanked: 124 times
Been thanked: 402 times

Re: How to capture images with Paint ~ Procedure

Post by jamesbond »

don570 wrote: Thu Jul 11, 2024 8:44 pm

James of fatdog has written up his screenshot utility that
is in all fatdogs

http://lightofdawn.org/wiki/wiki.cgi/Xscreenshot

If you use it with the terminal a delay is optional.

I like it because it uses the print screen key automatically.
Then press the print screen key a second time to stop it.
____________________________________________________

Thanks @don570. I have a new version here. This version can capture straight to clipboard too.

Note the hotkey-usage changes from the older version referenced in by blog.

The functions are as follows:

Code: Select all

# xscreenshot -h
...
 - hotkey       - toggle region screenshot mode (save to file)
 - Ctrl-hotkey  - toggle region screenshot mode (save to clipboard)
 - Shift-hotkey - delayed fullscreen screenshot with mouse (saves to both)
 - Alt-hotkey   - delayed fullscreen screenshot without mouse (saves to both)
 - Ctrl-Shift-hotkey - clear clipboard
...

We usually run it with with -k 218, so the "hotkey" is PrintScreen.

It's a C program that only takes up 31K once compiled. Only depends on Xlib and nothing else. For more complex stuff, I use "Take A Shot" too :)

Post Reply

Return to “EasyOS”