psnapshot application -scripts to edit screenshots

Paint programs, vector editors, 3d modelers, animation editors, etc.
Post Reply
Message
Author
User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

psnapshot application -scripts to edit screenshots

#1 Post by don570 »

psnapshot application -system to edit screenshots
German French Italian and Spanish locales available
Edit: Jan 2012 ... now totally localized!!

I put together this group of apps to work together
to take a screenshot, save it in a folder
(called Screenshots) then edit it later with mtpaint
if you wish.

It is all done simply. They are just small scripts,
so there is no waste of RAM or hard disk space.

It is currently used by Exprimo and Lucid Puppy
among others.

To install: Just download and install psnapshot.
The NLS locals are for French,
Spanish and German translations. They are optional.

Here's another option that you may be interested in.
It's easy to create a one key launcher such as pressing
the 'Print Screen' key to launch the psnapshot program.
(It actually launchs 'mtpaintsnapshot.sh')

Here's how...
Find the number of the key you want to be your launcher.
A method to do this is explained here

http://www.murga-linux.com/puppy/viewtopic.php?t=68164

Once you get the key number , it's easy to set up
if the operating system hasn't reserved this key for something else.

A keystroke combination such a CTRL-shift-P
is easy to set up for JWM (Joe's Window Manager)
I explain in the posting below.

Both SVEN or Xbindkeys utility don't need the
key number to launch 'psnapshot' because
of a well written config app.

With SVEN make sure you turn off its on-screen message
(it's irritating)

SVEN is explained here
http://www.murga-linux.com/puppy/viewto ... 18&t=63158

Note: Sven or Xbindkeys has to be running to be effective!!
You can check this by typing 'top' at the terminal

So it's a very powerful but slimned-down system for
screen snapshots.

Most other attempts to do this have resulted in bloatware.
It has been localized using Zigbert's method.


__________________________________________
Attachments
psnapshot-1.9.pet
application to take snapshot of screen and save in folder
'Screenshots'
(9.3 KiB) Downloaded 920 times
Last edited by don570 on Sat 13 Dec 2014, 20:20, edited 6 times in total.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

open with keystrokes

#2 Post by don570 »

To install in JWM here's how I did it.

I put the following line in /root/.jwmrc
(near the bottom is fine)

...and now I can open psnapshot with the keystrokes
ctrl-shift-P

Alternatively the file /root/.jwm/jwmrc-personal can be edited.

Image

___________________________
Last edited by don570 on Thu 29 Sep 2011, 17:59, edited 3 times in total.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

new version 1.4 of psnapshot

#3 Post by don570 »

new version 1.4 of psnapshot

I put it all in one easy to install package.

Now there should be only one menu entry for
screen capture. It should now say 'psnapshot screen capture'

Corrected a grammatical mistake in German translation.

___________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

xev

#4 Post by don570 »

I explain how to set up a computer to launch an application
with one press of a key here. By the way this
applications name is 'psnapshot' not 'mtpaint -s',
so use the name 'psnapshot' when executing an application launcher.

http://www.murga-linux.com/puppy/viewto ... 908#595908

___________________________________________________
Last edited by don570 on Fri 13 Jan 2012, 00:45, edited 1 time in total.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#5 Post by don570 »

New version 1.6 of psnapshot

Improvements:

1) The name of the program is prominent in window
so the user knows what program he is using

2) I corrected the spelling error in name of .desktop file.
This required a new pinstall script to be written.

3) It is now totally locallized. I tried my high school German. :lol:

4) I took some German expressions from RSH (who has
put together Lazy Puppy).

5) .desktop file changed slightly to show German name in menu.

User avatar
Monsie
Posts: 631
Joined: Thu 01 Dec 2011, 07:37
Location: Kamloops BC Canada

psnapshot application -scripts to edit screenshots

#6 Post by Monsie »

Hi don570,

Thanks for doing this... some nice improvements overall.

I modified your scripts slightly... since I already had a "screenshots" folder at another location. For pSnapshot screen capture I did:

Code: Select all

cd /root/my-documents/photos
mkdir -p screenshots
echo -e "\nlast_dir = /root/my-documents/photos/screenshots" > /tmp/add_text
I made similar changes to the screenshot browser also.... but really this is just a matter of personal preference.

Cheers,
Monsie
My [u]username[/u] is pronounced: "mun-see". Derived from my surname, it was my nickname throughout high school.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#7 Post by don570 »

Version 1.8

Improvements:

1) The destination folder can now be set for the screenshots. Just
click 'Apply' button . The save folder that mtpaint uses is
set for future sessions.

2) gettexted the scripts - included are mo files for several languages.

For people who are translating ---> There are two scripts to translate
mtpaintsnapshot.sh
screenshotbrowser.sh

_____________________________________________________-

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

version 1.9

#8 Post by don570 »

version 1.9

Removed the apply button. The saving of destination folder is done automatically.

- Added Italian translation by xanad

_____________________________________

Post Reply