Page 1 of 1

How to create a ScreenShot keyboard shortcut? [F96-CE 4] (solved)

Posted: Mon Jun 19, 2023 5:24 pm
by MrAccident

I prefer a single key, like one of the Function keys.
Keyboard - Logitech K380.


Re: How to create a ScreenShot keyboard shortcut? [F96-CE 4]

Posted: Mon Jun 19, 2023 6:36 pm
by Fossil

@ MrAccident Usually prntscrn (right of F12, upper keyboard) can do the job, opening up mtPaint. Sorry if my answer is vague, but it's difficult to give any further advice without prior knowledge of whether you have installed any specific screen-capture software.


Re: How to create a ScreenShot keyboard shortcut? [F96-CE 4]

Posted: Mon Jun 19, 2023 9:46 pm
by pp4mnklinux

Shortcut F1 with the instruction... mtpaint -s


Re: How to create a ScreenShot keyboard shortcut? [F96-CE 4]

Posted: Mon Jun 19, 2023 10:13 pm
by mikewalsh
Fossil wrote: Mon Jun 19, 2023 6:36 pm

@ MrAccident Usually prntscrn (right of F12, upper keyboard) can do the job, opening up mtPaint. Sorry if my answer is vague, but it's difficult to give any further advice without prior knowledge of whether you have installed any specific screen-capture software.

@Fossil :-

That's OK if you're using a traditional, full keyboard with the 'standard' layout. If you're using one of these modern, 'compact' keyboards, like I am, with a ton of doubled-up keys accessed via a 'Fn' function key, you'll be out of luck.

They don't have PrntScrn any longer. (It's apparently considered an archaic, irrelevant hold-over from the 'bad old days'!) :roll:

It's got about a thousand 'media' keys - and shortcuts that are all set-up for Windoze access - but to configure a traditional shortcut key you need to go into /etc/xdg/templates/_root_.jwmrc and set one up down the bottom, in the 'Key Bindings' section.....

Mike. ;)


Re: How to create a ScreenShot keyboard shortcut? [F96-CE 4]

Posted: Mon Jun 19, 2023 10:43 pm
by MrAccident

@Fossil:
FacePalm, forgot to put the keyboard model; added it now to my first post. So it doesn't have PrtScn.
mtPaint will be good, though didn't try others. So I understood it's determined in Default Applications Chooser. It was on "tas" ― changed it to mtPaint.
@pp4mnklinux - it didn't make a screenshot pressing F1; how do I set it? But I prefer F12.
@mikewalsh:
Yeah, I have an ultra-compact keyboard. It has only one key, and you need to press it up to a 100 times, in certain cases :-P. It may sound funny ― but I think it actually exists.
Anyway - should I use _root_jwmrc? How to set F12 to do a ScreenShot?
As to the FN key involved ― I have another thread about how to not have to use the FN key with the Function keys.


Re: How to create a ScreenShot keyboard shortcut? [F96-CE 4]

Posted: Tue Jun 20, 2023 5:30 am
by pp4mnklinux
MrAccident wrote: Mon Jun 19, 2023 10:43 pm

@pp4mnklinux - it didn't make a screenshot pressing F1; how do I set it? But I prefer F12.

This could be another reason to use xfce desktop.-

https://docs.xfce.org/xfce/xfce4-settings/4.14/keyboard

Let's make things easy.


Re: How to create a ScreenShot keyboard shortcut? [F96-CE 4]

Posted: Tue Jun 20, 2023 6:04 am
by version2013

distro i am on is using JWM

One way to accomplish keybindings:

edit /root/.jwm/jwmrc-personal

change line "<Key key="F12">root:9</Key>"
to "<Key key="F12">exec:defaultscreenshot</Key>"

restart window manager

references:
https://joewing.net/projects/jwm/config.html#keys
also run in terminal "xev" to see the keycode and keysym for any keyboard key you want.


Re: How to create a ScreenShot keyboard shortcut? [F96-CE 4]

Posted: Tue Jun 20, 2023 6:06 am
by bigpup

If you want F12 to make mtpaint take an image of the desktop.

In JWM Hotkey setup

Scroll down to the entry for F12

Edit it to look like this:

Code: Select all

exec:mtpaint -s &
Screenshot.jpg
Screenshot.jpg (27.8 KiB) Viewed 740 times

.
When you press F12 key mtpaint will open showing an image of the desktop.
Edit, save image as, etc.... to keep the image saved someplace.
.
Example:

f12 image.jpg
f12 image.jpg (61.03 KiB) Viewed 739 times

Re: How to create a ScreenShot keyboard shortcut? [F96-CE 4]

Posted: Tue Jun 20, 2023 8:57 am
by Fossil

@Mike Walsh Ha! Ha!

They don't have PrntScrn any longer. (It's apparently considered an archaic, irrelevant hold-over from the 'bad old days'!) :roll:

Yet, it works, no messing around with multiple key-presses! Sigh, technology advances "making life easier" - while creating even more complications in its wake! :roll: Yes, I still have ye olde styled full sized FIFTEEN YEAR OLD+ keyboard, wonderful action and keys still legible - built like a medieval castle's fortifications. :lol:
JWM Hotkey is the easiest way to reconfigure any key-press.


Re: How to create a ScreenShot keyboard shortcut? [F96-CE 4]

Posted: Tue Jun 20, 2023 10:03 am
by mikewalsh
Fossil wrote: Tue Jun 20, 2023 8:57 am

@Mike Walsh Ha! Ha!

They don't have PrntScrn any longer. (It's apparently considered an archaic, irrelevant hold-over from the 'bad old days'!) :roll:

Yet, it works, no messing around with multiple key-presses! Sigh, technology advances "making life easier" - while creating even more complications in its wake! :roll: Yes, I still have ye olde styled full sized FIFTEEN YEAR OLD+ keyboard, wonderful action and keys still legible - built like a medieval castle's fortifications. :lol:
JWM Hotkey is the easiest way to reconfigure any key-press.

I know what ya mean, mate. It's the exact same "infection" that's contaminated 95% of the world's computer users, & 100 % of the world's youth; something that's "new" - irrespective of whether it's an improvement or not - MUST automatically be better than something that's "old".

"New" always beats "old".......that's the way of the world. :roll:

Mike. :|


Re: How to create a ScreenShot keyboard shortcut? [F96-CE 4]

Posted: Tue Jun 20, 2023 11:23 am
by MochiMoppel

removed


Re: How to create a ScreenShot keyboard shortcut? [F96-CE 4]

Posted: Tue Jun 20, 2023 3:04 pm
by bigpup

Logitech K380 manual says that FN+tab is print screen.

Does yours have a camera icon on the tab key?

if fn+tab doesn't work, try fn+start+tab


Re: How to create a ScreenShot keyboard shortcut? [F96-CE 4]

Posted: Tue Jun 20, 2023 6:55 pm
by MrAccident

@bigpup:

Logitech K380 manual says that FN+tab is print screen.
Does yours have a camera icon on the tab key?

Yeah, it works; and there is an icon; should've searched for it, and the keyboard instructions :-\. It's probably better than F12, so I'll keep it.

@Fossil - now I understand why you're called "Fossil" :lol:. I love more advanced technology. Initially in may seem more cumbersome - to use key-combinations, or to find ways - to do what was maybe done with a specialized key ― however - it's actually much better \ more convenient; for instance while touch-typing - to use the keys: Delete, Insert, PageUp & PageDown, Home & End ― I had to move my whole hand from the Letter-keys - and to search for the key I wanted to press (in the dark); while now - everything is "under my fingertips". That was probably the idea behind the keyboard. And this keyboard is really great.
@mikewalsh - I certainly disagree that "new beats old" ― but a Better idea - will always be New; and the only case where there won't be a better idea ― is if it's already Perfect, and I can't even think of something like that, especially in Computing, which itself is quite a new domain.

Anyway - I'll keep the text of all the solutions, for other cases. And I'll check Xfce; I wanted to, when I'll settle with all the technical issues; it seems that this is the time.
Thanks everyone!