Page 1 of 1

How to capture images with Paint ~ Procedure

Posted: Thu Jun 27, 2024 6:32 pm
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.


Re: How to capture images with Paint ~ Procedure

Posted: Thu Jul 11, 2024 10:19 am
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 505 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 498 times

Re: How to capture images with Paint ~ Procedure

Posted: Thu Jul 11, 2024 10:51 am
by BarryK

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

Code: Select all

# getcurpos
1263 605

Re: How to capture images with Paint ~ Procedure

Posted: Thu Jul 11, 2024 8:44 pm
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.
____________________________________________________


Re: How to capture images with Paint ~ Procedure

Posted: Thu Jul 11, 2024 9:48 pm
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


Re: How to capture images with Paint ~ Procedure

Posted: Fri Jul 12, 2024 9:45 am
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/


Re: How to capture images with Paint ~ Procedure

Posted: Fri Jul 12, 2024 9:46 am
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


Re: How to capture images with Paint ~ Procedure

Posted: Fri Jul 12, 2024 10:01 am
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


Re: How to capture images with Paint ~ Procedure

Posted: Fri Jul 12, 2024 10:43 am
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 :)