Re: screen snapshot utility needed on an r-pi 3b running jessie

2018-04-13 Thread Gene Heskett
On Friday 13 April 2018 08:07:09 Alan Corey wrote:

> I usually have xwd (from x11-apps) installed and recently cooked up
> this script:
>
> #!/bin/bash
> datestr=`date +"%Y-%m-%d_%H-%M"`
> outname=/tmp/ss_$datestr.xwd
> echo "Saved as " $outname
> xwd -display ':0.0' -root -out $outname
>
> It can do a screen dump even over an ssh connection.  They're saved as
> .xwd files of course but convert in ImageMagick can convert them to
> .png, .jpg, whatever.  You could make the convert step part of the
> script, but  you might prefer to do that later if speed of capturing
> is important.
>
The snapshots I have made of the r-pi screens I have done by ssh logins, 
running the app I want a snapshot of, and ksnapshot that.

> I'm building an RPI tablet with the official touchscreen and needed a
> way to do remote screen captures.  Date and time is part of the output
> filename.
>
> On 4/12/18, Gene Heskett  wrote:
> > On Monday 02 January 2017 02:13:17 Gene Heskett wrote:
> >> Greetings folks, new to the list, with 2 problems.
> >>
> >> 1. Need a snapshot utility like this x86 wheezy install has. What
> >> it its name if it exists. Using LXDE if that's important.
> >
> > The name will likely contain snapshot, I think mine is ksnapshot?
> > No, its not on the jessie install, locate is only finding
> > systemd.snapshot, which isn't a screen snapshotter, its a systemd
> > snapshotter
> >
> >> 2. Whats the magic recipe to enable AIGLX rendering on the r-pi
> >> 3b's?
> >
> > No such critter exists AFAIK. I'm getting an update rate in the 7
> > frames a second rate using the framebuffer on that jessie based
> > install, with hdmi drive output at 1920x1024. So the backplot is
> > often just noticeably behind the machine. You tend to get used to
> > it.  But don't forget its not running a debian kernel, and what its
> > running is pinned.
> >
> > Its running kernel 4.4.4-rt9-v7+ #7 SMP PREEMPT RT, custom built for
> > close to realtime on armhf hardware. Works ok where there is
> > hardware step generation, and a mesa 7i90HD can supply 8 axis's
> > worth of step generators. That depends on the firmware installed on
> > the 7i90HD and the user can update it. It talks to this card using
> > SPI, writing at 41 megabaud, and reading back the status at 25
> > megabaud. 32 bit packets per transmission either direction. Needless
> > to say, that SPI cable is very short, nominally 1 inch.
> >
> >> Thank you all.
> >>
> >> Cheers, Gene Heskett
> >
> > --
> > Cheers, Gene Heskett
> > --
> > "There are four boxes to be used in defense of liberty:
> >  soap, ballot, jury, and ammo. Please use in that order."
> > -Ed Howdershelt (Author)
> > Genes Web page 



-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: screen snapshot utility needed on an r-pi 3b running jessie

2018-04-13 Thread Alan Corey
I usually have xwd (from x11-apps) installed and recently cooked up this script:

#!/bin/bash
datestr=`date +"%Y-%m-%d_%H-%M"`
outname=/tmp/ss_$datestr.xwd
echo "Saved as " $outname
xwd -display ':0.0' -root -out $outname

It can do a screen dump even over an ssh connection.  They're saved as
.xwd files of course but convert in ImageMagick can convert them to
.png, .jpg, whatever.  You could make the convert step part of the
script, but  you might prefer to do that later if speed of capturing
is important.

I'm building an RPI tablet with the official touchscreen and needed a
way to do remote screen captures.  Date and time is part of the output
filename.



On 4/12/18, Gene Heskett  wrote:
> On Monday 02 January 2017 02:13:17 Gene Heskett wrote:
>
>> Greetings folks, new to the list, with 2 problems.
>>
>> 1. Need a snapshot utility like this x86 wheezy install has. What it
>> its name if it exists. Using LXDE if that's important.
>
> The name will likely contain snapshot, I think mine is ksnapshot? No, its
> not on the jessie install, locate is only finding systemd.snapshot,
> which isn't a screen snapshotter, its a systemd snapshotter
>
>> 2. Whats the magic recipe to enable AIGLX rendering on the r-pi 3b's?
>
> No such critter exists AFAIK. I'm getting an update rate in the 7 frames
> a second rate using the framebuffer on that jessie based install, with
> hdmi drive output at 1920x1024. So the backplot is often just noticeably
> behind the machine. You tend to get used to it.  But don't forget its
> not running a debian kernel, and what its running is pinned.
>
> Its running kernel 4.4.4-rt9-v7+ #7 SMP PREEMPT RT, custom built for
> close to realtime on armhf hardware. Works ok where there is hardware
> step generation, and a mesa 7i90HD can supply 8 axis's worth of step
> generators. That depends on the firmware installed on the 7i90HD and the
> user can update it. It talks to this card using SPI, writing at 41
> megabaud, and reading back the status at 25 megabaud. 32 bit packets per
> transmission either direction. Needless to say, that SPI cable is very
> short, nominally 1 inch.
>
>>
>> Thank you all.
>>
>> Cheers, Gene Heskett
>
>
>
> --
> Cheers, Gene Heskett
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> Genes Web page 
>
>


-- 
-
No, I won't  call it "climate change", do you have a "reality problem"? - AB1JX
Impeach  Impeach  Impeach  Impeach  Impeach  Impeach  Impeach  Impeach



Re: screen snapshot utility needed on an r-pi 3b running jessie

2018-04-12 Thread Gene Heskett
On Monday 02 January 2017 02:13:17 Gene Heskett wrote:

> Greetings folks, new to the list, with 2 problems.
>
> 1. Need a snapshot utility like this x86 wheezy install has. What it
> its name if it exists. Using LXDE if that's important.

The name will likely contain snapshot, I think mine is ksnapshot? No, its 
not on the jessie install, locate is only finding systemd.snapshot, 
which isn't a screen snapshotter, its a systemd snapshotter
 
> 2. Whats the magic recipe to enable AIGLX rendering on the r-pi 3b's?

No such critter exists AFAIK. I'm getting an update rate in the 7 frames 
a second rate using the framebuffer on that jessie based install, with 
hdmi drive output at 1920x1024. So the backplot is often just noticeably 
behind the machine. You tend to get used to it.  But don't forget its 
not running a debian kernel, and what its running is pinned.

Its running kernel 4.4.4-rt9-v7+ #7 SMP PREEMPT RT, custom built for 
close to realtime on armhf hardware. Works ok where there is hardware 
step generation, and a mesa 7i90HD can supply 8 axis's worth of step 
generators. That depends on the firmware installed on the 7i90HD and the 
user can update it. It talks to this card using SPI, writing at 41 
megabaud, and reading back the status at 25 megabaud. 32 bit packets per 
transmission either direction. Needless to say, that SPI cable is very 
short, nominally 1 inch.

>
> Thank you all.
>
> Cheers, Gene Heskett



-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: screen snapshot utility needed on an r-pi 3b running jessie

2017-01-02 Thread Gene Heskett
On Monday 02 January 2017 10:24:57 Alan Corey wrote:

> I use xwd, on Debian type stuff you have to add the "retro" X Windows
> stuff to get it.  Works in the BSDs, most things just fine.  I'm
> writing this on a Pi 3b, very useful little boxes.
>
> I define this alias in my bashrc or whereever.  I just type snap into
> some free terminal emulator then I have 10 seconds to get the screen
> arranged picture perfect.  In some situations it beeps at the end of
> the 10 seconds.  I never tried assigning it to a key.
>
>   alias snap='sleep 10 ; xwd -root -out /tmp/snap.xwd'
>
> Then I do 'gimp /tmp/snap.xwd' because I usually want to crop anyway.

Excellent & helpfull stuff, thank you Alan.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: screen snapshot utility needed on an r-pi 3b running jessie

2017-01-02 Thread Alan Corey
I use xwd, on Debian type stuff you have to add the "retro" X Windows
stuff to get it.  Works in the BSDs, most things just fine.  I'm
writing this on a Pi 3b, very useful little boxes.

I define this alias in my bashrc or whereever.  I just type snap into
some free terminal emulator then I have 10 seconds to get the screen
arranged picture perfect.  In some situations it beeps at the end of
the 10 seconds.  I never tried assigning it to a key.

  alias snap='sleep 10 ; xwd -root -out /tmp/snap.xwd'

Then I do 'gimp /tmp/snap.xwd' because I usually want to crop anyway.

-- 
Credit is the root of all evil.  - AB1JX



Re: screen snapshot utility needed on an r-pi 3b running jessie

2017-01-02 Thread Gene Heskett
On Monday 02 January 2017 08:13:17 Andrew M.A. Cater wrote:

> On Mon, Jan 02, 2017 at 02:13:17AM -0500, Gene Heskett wrote:
> > Greetings folks, new to the list, with 2 problems.
> >
> > 1. Need a snapshot utility like this x86 wheezy install has. What it
> > its name if it exists. Using LXDE if that's important.
> >
> > 2. Whats the magic recipe to enable AIGLX rendering on the r-pi
> > 3b's?
> >
> > Thank you all.
> >
> > Cheers, Gene Heskett
> > --
> > "There are four boxes to be used in defense of liberty:
> >  soap, ballot, jury, and ammo. Please use in that order."
> > -Ed Howdershelt (Author)
> > Genes Web page 
>
> Gene,
>
> Please post the output of
>
> cat /etc/os-release
>
> and
>
> cat /etc/debian_version
>
> If you're running Raspbian, this list can't necessarily help you -
> Respbian is a Debian derivative and has its own support forums.

ISTR I do have some raspian stuff on my HD here, but raspian has 
self-destructed 3 or 4 times for my purposes as it replaced the special 
rt-preempt kernel it takes to run LinuxCNC.  It will be controlling a 
converted 11x36 Sheldon lathe, but its looking like I am not going to be 
able to use cheap, switchmode power supplies for the motors. Too much 
radiated noise, screws with the 32megabaud SPI interface.  Filters help, 
but the noise extends to well above 100MHz, and an 8 inch long 
interconnection bus makes a heck of a good antenna. A 7 foot shielded 
cable out to the spindle encoder picks up several volts of this crap the 
switchers make.

The other problem is forums & all the passwd's to remember, something I 
can no longer do, short term memory isn't so good at 82. A mailing list 
Just Works(TM) for me.

> There are a couple of HOWTOs on how to bind the PrtSc key to Scrot
> which is a screenshot utility

I'd be happy if it just installed itself into a menu. I didn't know its 
name, but now I know what to send apt off to install.  Thank you.

> Use a search engine for LXDE screenshot scrot and you should find
> something appropriate.

I'll do that if apt can't find it in the sources.list repo's.

> Hope this helps,
>
> Andy C

It might Andy. It's BC time here, and its either crashed or turned off 
when I left last night, my ssh login has died. BC=Before Coffee, but its 
brewing.

Thank you again.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: screen snapshot utility needed on an r-pi 3b running jessie

2017-01-02 Thread Andrew M.A. Cater
On Mon, Jan 02, 2017 at 02:13:17AM -0500, Gene Heskett wrote:
> Greetings folks, new to the list, with 2 problems.
> 
> 1. Need a snapshot utility like this x86 wheezy install has. What it its 
> name if it exists. Using LXDE if that's important.
> 
> 2. Whats the magic recipe to enable AIGLX rendering on the r-pi 3b's?
> 
> Thank you all.
> 
> Cheers, Gene Heskett
> -- 
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> Genes Web page 

Gene,

Please post the output of

cat /etc/os-release 

and 

cat /etc/debian_version

If you're running Raspbian, this list can't necessarily help you - Respbian is 
a Debian derivative
and has its own support forums.

There are a couple of HOWTOs on how to bind the PrtSc key to Scrot which is a 
screenshot utility

Use a search engine for LXDE screenshot scrot and you should find something 
appropriate.

Hope this helps,

Andy C



screen snapshot utility needed on an r-pi 3b running jessie

2017-01-01 Thread Gene Heskett
Greetings folks, new to the list, with 2 problems.

1. Need a snapshot utility like this x86 wheezy install has. What it its 
name if it exists. Using LXDE if that's important.

2. Whats the magic recipe to enable AIGLX rendering on the r-pi 3b's?

Thank you all.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page