Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 02 Sep 2014, 13:29
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Take a Shot! - yet another screenshot utility...
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 4 [59 Posts]   Goto page: Previous 1, 2, 3, 4 Next
Author Message
musher0


Joined: 04 Jan 2009
Posts: 4231
Location: Gatineau (Qc), Canada

PostPosted: Sun 23 Jun 2013, 20:15    Post subject:  

vicmz wrote:
Hello everyone

Good job Nilson! Very Happy
I have attached a slightly reviewed version of your Spanish locale.

Thanks for this app, SFR. Now I can easily explain (without heavier programs) why I often translate 'cursor' as 'puntero' (the mouse pointer, see pictures below).


Sorry if this is a bit off topic:
Strange, we don't seem to have the distinction in French, between pointer and cursor. The two terms seem to indicate the same thing.
http://www.wordreference.com/enfr/pointer

Anyway, I got to go finish the FR translation!

BFN.

musher0

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
musher0


Joined: 04 Jan 2009
Posts: 4231
Location: Gatineau (Qc), Canada

PostPosted: Sun 23 Jun 2013, 20:21    Post subject:  

SFR wrote:
Hey Musher0, thank you for translation.
FYI: you missed two spots @ lines 193 and 235. Wink
However, I just gettext'ed TAS, so you can use MoManager now, if you'd like, then I could add your translation to tas_NLS.pet.
From my side I made PL.

First post updated.

Greetings!


Hi, SFR.

Thanks for your reply. Sorry for the oversights.

I do not know how to use MoManager, so this is a "straight"
French version, with the oversights corrected.

Have a great day!

musher0
Capturez-la(rev).zip
Description  Revised French version.
zip

 Download 
Filename  Capturez-la(rev).zip 
Filesize  2.7 KB 
Downloaded  234 Time(s) 

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
vicmz


Joined: 15 Jan 2012
Posts: 1105

PostPosted: Sun 23 Jun 2013, 21:04    Post subject:  

Sorry, I had to review the Portuguese locale because of a translation mistake (see my former post). Anyway, Portuguese users can tell if there is anything else to correct. Wink

musher0 wrote:

Sorry if this is a bit off topic:
Strange, we don't seem to have the distinction in French, between pointer and cursor. The two terms seem to indicate the same thing.
http://www.wordreference.com/enfr/pointer


A pointer is a cursor, too. The difference is that the text cursor shows where you are typing, and the mouse pointer shows where you are touching. It's a useful distinction because a pointer can do much more (open/close, turn on/off, drag and drop, select, etc.).

As for the distinction in French language:

Wikipédia wrote:
Les ordinateurs actuels disposent souvent d'une interface graphique avec un deuxième curseur (appelé aussi pointeur) qui est piloté par un dispositif de pointage (le plus souvent une souris mais il peut aussi s'agir d'un Touchpad, d'un Trackball ou autre). Sur la plupart des ordinateurs ce pointeur est représenté par une flèche incliné vers la gauche, tandis que le curseur pour le texte est représenté par une barre verticale.


http://fr.wikipedia.org/wiki/Curseur_(interface)#Dispositif_de_pointage

_________________
OB Precise 14.07.26 Woof-CE|Puppy Linux en español
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1063

PostPosted: Mon 24 Jun 2013, 05:26    Post subject:  

Thanks - you're fantastic, guys!! Very Happy
All added.

@Musher0: I made tas.mo file out of your translation, please check if everything's ok.
________________

vicmz wrote:
Bert wrote:
a bit off-topic: I have often wondered why nobody creates a screenshot tool that actually uses the 'printscreen' key...just one key to hit and presto...probably more difficult to implement than I imagine


Not really off-topic, I think. I had the same question, too. Until Argolance developed a screenshot utility for ToOpPy that does use the Print Screen key, so our screenshot experts (01micko for screeny, SFR for TAS, Radky for PupSnap) could ask Argolance how he did it, if they want to include this feature in their utilities.

Yep, that's a hard one...
I don't know any pure, universal method to bind a key independently of current window manager.
As far as I can tell Argolance in his EasyShot (you meant that one, Vic?) has modified jwmrc-personal.
Similarily, in Slacko there's <Key keycode="111">exec:screeny</Key>.
Alas, these will work only in JWM...

Another way is to use xbindkeys, which makes the whole thing independent of current WM, but then again xbindkeys won't work if any menu is opened!

Eventually, one can use a dirty, lowest-level method like this:
Code:
while :; do sleep 0.1; [ "`dd if=/dev/input/event0 bs=16 count=1 2>/dev/null | hexdump | cut -f8 -d ' ' | head -1`" = "00b7" ] && mtpaint -s; done

/dev/input/event0 = keyboard device (eventX may vary)
00b7 = PrtSc raw code (also may vary)
mtpaint -s = screenshot of the whole screen


Once launched, it should detect PrtSc in every (hopefully) circumstances...

Thanks again &
Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4231
Location: Gatineau (Qc), Canada

PostPosted: Mon 24 Jun 2013, 06:32    Post subject:  

You are too modest! Code corrected... Smile
Code:
while :; do sleep 0.1; [ "`dd if=/dev/input/event0 bs=16 count=1 2>/dev/null | hexdump | cut -f8 -d ' ' | head -1`" = "00b7" ] && tas; done

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
musher0


Joined: 04 Jan 2009
Posts: 4231
Location: Gatineau (Qc), Canada

PostPosted: Mon 24 Jun 2013, 06:38    Post subject:  

SFR wrote:
> @Musher0: I made tas.mo file out of your translation, please check if everything's ok.

Yep, everything ok!

musher0

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
ASRI éducation


Joined: 09 May 2009
Posts: 2417
Location: France

PostPosted: Tue 09 Jul 2013, 18:54    Post subject:  

Thank you, TAS is a handy utility.
Back to top
View user's profile Send private message Visit poster's website 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Fri 09 Aug 2013, 04:11    Post subject: Take a Shot! - yet another screenshot utility...  

Good to know
if a cursor/pointer needs to be displayed in a screenshot
TaS Laughing

German attached
MoManager-de-tas-1.2.tar.gz
Description 
gz

 Download 
Filename  MoManager-de-tas-1.2.tar.gz 
Filesize  1.42 KB 
Downloaded  195 Time(s) 
Back to top
View user's profile Send private message 
simargl

Joined: 11 Feb 2013
Posts: 572

PostPosted: Fri 09 Aug 2013, 04:19    Post subject:  

.
_________________
The Arch Way

Last edited by simargl on Sun 01 Sep 2013, 11:31; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Fri 09 Aug 2013, 04:35    Post subject:  

simargl wrote:
Bert wrote:
have often wondered why nobody creates a screenshot tool that actually uses the 'printscreen' key...

Don't know about JWM, but in Openbox, you'd only need to install scrot and add this to rc.xml
Code:
    <keybind key="Print">
      <action name="Execute">
        <command>scrot screen-%Y%m%d%H%M%S.png</command>
      </action>
    </keybind>

Just tried in JWM: it is built in (and/or pre-configured)!
see very last lines of $HOME/.jwm/jwmrc-personal:
Code:
<Key keycode="111">exec:screeny</Key>

</JWM>

Maybe we should change it to point to a new /usr/local/bin/defaultscreenshot Idea Question Exclamation
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1063

PostPosted: Fri 09 Aug 2013, 04:43    Post subject: Re: Take a Shot! - yet another screenshot utility...  

L18L wrote:
Good to know
if a cursor/pointer needs to be displayed in a screenshot
TaS Laughing

German attached

Thank you L18L!
Added to NLS, see the first post.
Quote:
a new /usr/local/bin/defaultscreenshot Idea Question Exclamation

Good idea, since there are so many of them floating around. Laughing

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3262
Location: Ontario

PostPosted: Mon 19 Aug 2013, 17:21    Post subject:  

I have put TAS-modified in Right click menu utility

I found a bug ?? in TAS. I couldn't save to a FAT32 USB stick,
unless I switched off the date feature. FAT32 needs hyphens in date.

I made a small change to script.
I added a line to check for FAT32 USB sticks
Code:

  [ $DATESTAMP = true ]  && check_disk


Code:
 

check_disk () {  # if FAT32 disk then colon is changed
fdisk -l > /tmp/fdisk.tmp$$
DISK=`cat  /tmp/fdisk.tmp$$ | grep  "/dev" | grep "FAT." | cut -f 1 -d ' '`
echo "$DISK" > /tmp/fdisk.tmp$$  #  note that there may be several USB sticks
sed -i 's%/dev%/mnt%g' /tmp/fdisk.tmp$$ #  substitute dev for mnt
grep -q "$DIRECTORY"   /tmp/fdisk.tmp$$  # check for DIRECTORY on the line
if [ "$?" = "0"  ];then
SAVENAME="$SAVENAME""_`date +%Y-%m-%d_%H-%M-%S`"
else
SAVENAME="$SAVENAME""_`date +%Y-%m-%d_%H:%M:%S`"
fi
rm -f /tmp/fdisk.tmp$$
}


The above code wasn't enough because several USB sticks might
be mounted so I had to make a loop.
tas-modified-1.2.pet
Description  modified by don570 for USB stick
pet

 Download 
Filename  tas-modified-1.2.pet 
Filesize  3.78 KB 
Downloaded  214 Time(s) 

Last edited by don570 on Mon 19 Aug 2013, 18:22; edited 1 time in total
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3262
Location: Ontario

PostPosted: Mon 19 Aug 2013, 18:21    Post subject:  

Here'a a picture of Rox window with the saved files on a USB stick...

Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1063

PostPosted: Tue 20 Aug 2013, 06:44    Post subject:  

Hey Don

Thanks for reporting this! Well, it's obviously a bug, or at least an oversight. Cool
Actually, I decided to completely remove those colons, since there's also a problem with uploading a file, that has a colon in its name, here on the forums.
Now it's just %H%M%S.

First post updated!

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2510
Location: New Zealand

PostPosted: Mon 27 Jan 2014, 04:15    Post subject:  

Just in case it helps anyone troubleshooting their prtsc key there is some great background from npierce here:
http://www.murga-linux.com/puppy/viewtopic.php?p=722237
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 4 [59 Posts]   Goto page: Previous 1, 2, 3, 4 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1035s ][ Queries: 13 (0.0040s) ][ GZIP on ]