EvilZone
General Tech => Operating System => : v32itas May 10, 2015, 08:02:59 PM
-
Another one guide for noobs like myself. Adding print screen
button functionality to xfce4 using scrot. I used it only on
OpenBSD, but I think it would work on any *nix xfce4.
Install scrot with pkg_add
pkg_add scrot
make sure to create Pictures (or anything you want) directory in your
/home/username/ directory before using
now to take screen shot with scrot use command
scrot '%Y%m%d%H%M%S_$wx$h_scrot.png' -e 'mv $f ~/Pictures/'
%Y - for year
%m - for moth
%d - for day
%H - for hour
%M - for minute
%S - for second
%w - for width
%h - for height
Now to add this command using xfce gui I have made several screenshots for you.
(http://imesk.net/upload/smallthumbs/NJXU.png) (http://imesk.net/upload/images/NJXU.png)
(http://imesk.net/upload/smallthumbs/V1YR.png) (http://imesk.net/upload/images/V1YR.png)
(http://imesk.net/upload/smallthumbs/IG6J.png) (http://imesk.net/upload/images/IG6J.png)
Now when you copy paste that scrot command press ok, and then press print screen button. And done
(http://imesk.net/upload/smallthumbs/SADP.png) (http://imesk.net/upload/images/SADP.png)
And this is how your screenshots gonna look in ~/Pictures directory
(http://imesk.net/upload/smallthumbs/M1K4.png) (http://imesk.net/upload/images/M1K4.png)
May the force be with you always