[gentoo-user] Re: maim screenshooting

2017-08-03 Thread Ian Zimmerman
On 2017-08-03 23:16, Peter Humphrey wrote: > > The Turtle Book (Classic Shell Scripting by Robbins and Beebe) is > > pretty good at explaining the differences between the various > > implementations. OTOH it also contains some (IMO) dubious > > recommendations which have unfortunately become

Re: [gentoo-user] Re: maim screenshooting

2017-08-03 Thread Peter Humphrey
On Thursday 03 Aug 2017 10:17:03 Ian Zimmerman wrote: > The Turtle Book (Classic Shell Scripting by Robbins and Beebe) is pretty > good at explaining the differences between the various implementations. > OTOH it also contains some (IMO) dubious recommendations which have > unfortunately become

[gentoo-user] Re: maim screenshooting

2017-08-03 Thread Ian Zimmerman
On 2017-08-02 22:36, Daniel Campbell wrote: > I went in search of a few portable shell resources. Some suggest to > use dash or posh for the testing environment. I also found shellcheck, > which looks pretty promising (and it's in the tree! Thanks jlec). Do > you have any experience in portable

Re: [gentoo-user] Re: maim screenshooting

2017-08-03 Thread R0b0t1
On Thu, Aug 3, 2017 at 12:36 AM, Daniel Campbell wrote: > On 08/01/2017 10:00 AM, Ian Zimmerman wrote: >> On 2017-08-01 03:00, Daniel Campbell wrote: >> >>> # Add '-s' to interactively set the window to be captured. >>> screenie() { >>> local curdir=$(pwd) >>> local

Re: [gentoo-user] Re: maim screenshooting

2017-08-02 Thread Daniel Campbell
On 08/01/2017 10:00 AM, Ian Zimmerman wrote: > On 2017-08-01 03:00, Daniel Campbell wrote: > >> # Add '-s' to interactively set the window to be captured. >> screenie() { >> local curdir=$(pwd) >> local shotname=$(date +%Y-%m-%d_%H-%M).png >> echo "5 seconds! Go go go!" >> cd

[gentoo-user] Re: maim screenshooting

2017-08-01 Thread Ian Zimmerman
On 2017-08-01 03:00, Daniel Campbell wrote: > # Add '-s' to interactively set the window to be captured. > screenie() { > local curdir=$(pwd) > local shotname=$(date +%Y-%m-%d_%H-%M).png > echo "5 seconds! Go go go!" > cd ~/img/screens/comp/ > scrot -d 5 -q 70

Re: [gentoo-user] Re: maim screenshooting

2017-08-01 Thread Daniel Campbell
On 07/31/2017 07:23 AM, Grant Edwards wrote: > On 2017-07-30, tu...@posteo.de wrote: > >> I found this: >> >> "This is a basic, but useful command that simply screenshots the current >> active window. >> $ maim -i $(xdotool getactivewindow) ~/mypicture.jpg >> " >

[gentoo-user] Re: maim screenshooting

2017-07-31 Thread Grant Edwards
On 2017-07-30, tu...@posteo.de wrote: > I found this: > > "This is a basic, but useful command that simply screenshots the current > active window. > $ maim -i $(xdotool getactivewindow) ~/mypicture.jpg > " [...] > For what such a command is good for? It's only

[gentoo-user] Re: maim screenshooting

2017-07-30 Thread Nikos Chantziaras
On 30/07/17 21:04, tu...@posteo.de wrote: Hi, I am shootin around the screen...experimenting... From here: https://github.com/naelstrof/maim I found this: "This is a basic, but useful command that simply screenshots the current active window. $ maim -i $(xdotool getactivewindow)

[gentoo-user] Re: maim screenshooting

2017-07-30 Thread Ian Zimmerman
On 2017-07-30 20:04, tu...@posteo.de wrote: > $ maim -i $(xdotool getactivewindow) ~/mypicture.jpg [...] > Giving this via commandline it always shoots the terminal window (I > see no way to edit a commandline without activateing the terminal > window). Clearly the -i parameter is for the