Re: [CentOS] Question on /usr/bin/import for CentOS 7

2017-01-13 Thread Jerry Geis
it seems as xdm -root | convert - screen.png works just fine. Thanks, Jerry On Fri, Jan 13, 2017 at 3:51 PM, Jerry Geis wrote: > Yes I am running as root. If I try as a user I get the same behavior. > > Two things here. > If on my desktop in a gnome window I run

Re: [CentOS] Question on /usr/bin/import for CentOS 7

2017-01-13 Thread John R Pierce
On 1/13/2017 12:51 PM, Jerry Geis wrote: Yes I am running as root. If I try as a user I get the same behavior. Two things here. If on my desktop in a gnome window I run "import -silent -window root screen.png" I get a file. However if I run the command using a shell script on a machine its not

Re: [CentOS] Question on /usr/bin/import for CentOS 7

2017-01-13 Thread Frank Cox
On Fri, 13 Jan 2017 15:51:08 -0500 Jerry Geis wrote: > However if I run the command using a shell script on a machine its not > working. > So in my script I have: > export DISPLAY=:0.0 > /usr/bin/import -silent -window root screen.png Does the machine you're running the shell script on have an

Re: [CentOS] Question on /usr/bin/import for CentOS 7

2017-01-13 Thread fred roller
On Fri, Jan 13, 2017 at 3:45 PM, fred roller wrote: > Just curious, are you running as root? > nvm, head was somewhere else. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Question on /usr/bin/import for CentOS 7

2017-01-13 Thread Frank Cox
On Fri, 13 Jan 2017 15:45:46 -0500 fred roller wrote: > > -window root > > > Just curious, are you running as root? In that context -window root means the root window, i.e. your desktop. Nothing to do with the root user. See this for clarification: https://en.wikipedia.org/wiki/Root_window

Re: [CentOS] Question on /usr/bin/import for CentOS 7

2017-01-13 Thread Jerry Geis
Yes I am running as root. If I try as a user I get the same behavior. Two things here. If on my desktop in a gnome window I run "import -silent -window root screen.png" I get a file. However if I run the command using a shell script on a machine its not working. So in my script I have: export

Re: [CentOS] Question on /usr/bin/import for CentOS 7

2017-01-13 Thread John R Pierce
On 1/13/2017 12:18 PM, Jerry Geis wrote: However - I am still not able to get a screen shot - it resulting png is just black or black. export DISPLAY=:0.0 import -silent -window root screen.png what is $DISPLAY *before* you set that? -- john r pierce, recycling bits in santa cruz

Re: [CentOS] Question on /usr/bin/import for CentOS 7

2017-01-13 Thread fred roller
On Fri, Jan 13, 2017 at 3:34 PM, Frank Cox wrote: > -window root Just curious, are you running as root? ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Question on /usr/bin/import for CentOS 7

2017-01-13 Thread Frank Cox
On Fri, 13 Jan 2017 15:18:42 -0500 Jerry Geis wrote: Centos 7/Mate import -silent -window root screen.png I got a screenshot showing my current desktop. -- MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com ___ CentOS mailing

Re: [CentOS] Question on /usr/bin/import for CentOS 7

2017-01-13 Thread Jerry Geis
Ok - I thought maybe the beep was due to error - but apparently not. I have found how to disable the beep with the -silent option However - I am still not able to get a screen shot - it resulting png is just black or black. export DISPLAY=:0.0 import -silent -window root screen.png the file is