Choose style:

Author Topic: Peppermint 5 - Screenshots saved on desktop from PrtSC key.  (Read 3018 times)

0 Members and 1 Guest are viewing this topic.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 22924
  • Karma: 2556
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Do you want the PrtSC (print screen) key to save a screenshot to your desktop automatically instead of your home folder .. with a name that includes the time and date ?

Do you want Alt+PrtSc to save a screenshot of just the currently active window to your desktop automatically instead of your home folder .. with a more meaningful name that includes the date and time ?

Here's how

First let's backup the current xbindkeys.conf file .. open a terminal and run:
Code: [Select]
cp -v ~/.config/peppermint-control-center/xbindkeys.conf ~/.config/peppermint-control-center/xbindkeys.conf.bak

Now open xbindkeys.conf for editing .. run:
Code: [Select]
gedit ~/.config/peppermint-control-center/xbindkeys.conf

Find the 2 sections:-

Code: [Select]
"scrot"
   Print

"scrot -u -b"
   Alt + Print

and change them to:-

Code: [Select]
#Print Screen
"scrot 'Screenshot_%Y-%m-%d_%H:%M:%S.png' -e 'mv $f ~/Desktop/'"
   Print

#Print Window
"scrot -u -b 'Windowshot_%Y-%m-%d_%H:%M:%S.png' -e 'mv $f ~/Desktop/'"
   Alt + Print

SAVE the file, and LOG OFF/ON

Now test.

Hitting PrtSc should leave a full desktop screenshot on your desktop with a name like
Screenshot_2014-07-28_14:55:40.png

Hitting Alt+PrtSc should leave a screenshot of just the active window on your desktop with a name like
Windowshot_2014-07-28_14:57:07.png



If you have any problems with this tutorial, please start a topic in the main forum and we'll try to assist :)
« Last Edit: July 28, 2014, 10:21:27 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec