hello world :-)
Posts: 121
Joined: Sat Nov 14, 2015 7:12 am
Location: England, in an insecure cloud, ie. The Interwebs
Contact: Website Yahoo Messenger AOL

How to change Print Scrn key command?

Thu Jul 07, 2016 12:51 pm

Wow, two posts in a row (I've been trying to remember what I wanted to post for days, and when I woke I suddenly remembered both of them).

How to change the command Print Scrn executes? I know in Raspbian Jessie it was bound to scrot, but is there any way to change it do something else? Specifically raspi2png?

Forgive my slight stupidity, just woke up and panicked for a moment (I'd had a dream that someone turned the AP Isolation off on the WiFi), and now my head is filled with networking related thoughts (as usual, but more paranoia-y than normal). I feel better after pinging everyone's IP addresses and seeing it still says Host unreachable.
I do moral support. Here: https://www.raspberrypi.org/forums/search.php?search_id=egosearch
I know I use too many parentheses. Problem?
Topics I have posted in: http://bit.ly/1NbDdr5
My topics: http://bit.ly/1ObnKqQ
All my posts: http://bit.ly/1OHzje7

User avatar
Pilosopong Tasyo
Posts: 116
Joined: Wed Apr 06, 2016 11:43 am
Location: /root

Re: How to change Print Scrn key command?

Sat Jul 09, 2016 3:44 am

Raspbian is based on LXDE. Have you tried doing a search in your favorite search site for the following terms?

change default print screen command scrot lxde

Chances are good you'll find the exact answer to your question in one of the initial results (as I had).
Give a man a ghoti and he'll eat for a day; teach him how to ghoti and he'll eat for life. Ghoti?! - http://i.imgur.com/mAfBUdi.png
How To Ask Questions The Smart Way - http://www.catb.org/esr/faqs/smart-questions.html

hello world :-)
Posts: 121
Joined: Sat Nov 14, 2015 7:12 am
Location: England, in an insecure cloud, ie. The Interwebs
Contact: Website Yahoo Messenger AOL

Re: How to change Print Scrn key command?

Sat Jul 09, 2016 7:24 am

Pilosopong Tasyo wrote:Raspbian is based on LXDE. Have you tried doing a search in your favorite search site for the following terms?

change default print screen command scrot lxde

Chances are good you'll find the exact answer to your question in one of the initial results (as I had).
Strange, I had heard that the print screen>scrot keybinding was exclusive to Raspbian, and was added in one of the more recent versions... It certainly didn't work in Wheezy, I tried. Thanks. I tried Googling (ixquicking?) a raspbian-specific question, and it didn't return anything, so I decided to post here.
I do moral support. Here: https://www.raspberrypi.org/forums/search.php?search_id=egosearch
I know I use too many parentheses. Problem?
Topics I have posted in: http://bit.ly/1NbDdr5
My topics: http://bit.ly/1ObnKqQ
All my posts: http://bit.ly/1OHzje7

User avatar
scruss
Posts: 1822
Joined: Sat Jun 09, 2012 12:25 pm
Location: Toronto, ON
Contact: Website

Re: How to change Print Scrn key command?

Mon Feb 27, 2017 2:02 pm

The configuration's in the file .config/openbox/lxde-pi-rc.xml
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.

naohiro2g
Posts: 4
Joined: Wed Jan 20, 2016 2:45 pm

Re: How to change Print Scrn key command?

Sun Jan 14, 2018 2:59 pm

I had been thinking the same thing and just wrote scripts to make it simpler. ;)

raspi2png installation and assigning PrintScreen key to launch raspi2png to take a snapshot with a name like snapshot-yyyymmdd-hhmmss.png in Pictures folder.

:arrow: https://code2create.club/en/blog-en/how ... rry-pi-en/

Return to “Raspbian”