Re: [OpenIndiana-discuss] Creating login screen screenshot with xwd

2018-02-02 Thread Nikola M

On 01/25/18 05:17 PM, Nikola M wrote:


Also it might be interesting to others : How to create login screen/X 
session screenshot, while aether from VT/text console or while ssh-ing 
to remote machine.


First create 'shot.sh' sctipt and save it in shot.sh:
echo 'DISPLAY=:0 XAUTHORITY=/var/lib/gdm/:0.Xauth xwd -root' 
>/tmp/shot.sh


Then create screenshot:
sudo bash /tmp/shot.sh >/tmp/shot.xwd
or in my case:
pfexec bash /tmp/shot.sh >/tmp/shot.xwd


In addition to this, it is worth mentioning that with all newer systems 
and installs ,

when using lightdm instead of gdm , creating shot.sh like this:

echo 'DISPLAY=:0 XAUTHORITY=/var/run/lightdm/root/:0 xwd -root' 
>/tmp/shot.sh


Since it is unlikely there would be gdm use in the future OI installs, 
and lightdm used instead,
this might prove useful to someone searching for an Xorg screenshot 
solution form ssh.




And optionally convert .xwd image to .png with convert from 
'imagemagick' package:


convert -quality 50 /tmp/shot.xwd /tmp/shot.jpg
convert /tmp/shot.xwd /tmp/shot.png

or just use GIMP to open .xwd file and save it in desired format.

I found the solution, that also works on OI/illumos, here:
https://askubuntu.com/questions/43458/how-can-i-take-a-screenshot-of-the-login-screen 






___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Creating login screen screenshot with xwd

2018-01-25 Thread Tim Mooney

In regard to: [OpenIndiana-discuss] Creating login screen screenshot with...:


Here is the OI gdm login screen.

https://mega.nz/#!LJZBBaST!XWR52syJym0TJS-BZt_zmeBmfwHkgofttl49PbP7EpE


Thanks Nikola!

And thanks for the tip on how to get it, without needing a VM.  I should
have realized it would be possible to grab it from a terminal, if I would
have paused longer to think about it.


I found the solution, that also works on OI/illumos, here:
https://askubuntu.com/questions/43458/how-can-i-take-a-screenshot-of-the-login-screen


Tim
--
Tim Mooney tim.moo...@ndsu.edu
Enterprise Computing & Infrastructure  701-231-1076 (Voice)
Room 242-J6, Quentin Burdick Building  701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Creating login screen screenshot with xwd

2018-01-25 Thread Nikola M

On 01/24/18 02:41 AM, Tim Mooney wrote:
In regard to: [OpenIndiana-discuss] [HEADS UP] Gnome 2 is dead, 
Alexander...:



gdm were removed from oi-userland


Bit of a strange request here...

Anyone have a VM that's still running GDM for the login screen, that
could take a screenshot of the GDM screen and send it to me (off list)?

I've been meaning to play around with reskinning lightdm's login screen,
to make it look more like the old GDM one, but now I don't have any 
decent

was to get a screenshot of the old GDM one.

Tim


Here is the OI gdm login screen. I also liked that old OI gdm look and 
would like to have an option to recreate it or choose another look.
Another thing that is missed is nice graphical boot animation while 
loading the system by default, instead of tons of text displayed during 
the boot, that doesn't look nice on an desktop session.
I think that someone might be against getting back boot animation image 
while booting, before login screen but I would like it to be there by 
default again, for all installs with GUI/Xorg/lightdm.


https://mega.nz/#!LJZBBaST!XWR52syJym0TJS-BZt_zmeBmfwHkgofttl49PbP7EpE


Also it might be interesting to others : How to create login screen/X 
session screenshot, while aether from VT/text console or while ssh-ing 
to remote machine.


First create 'shot.sh' sctipt and save it in shot.sh:
echo 'DISPLAY=:0 XAUTHORITY=/var/lib/gdm/:0.Xauth xwd -root' >/tmp/shot.sh

Then create screenshot:
sudo bash /tmp/shot.sh >/tmp/shot.xwd
or in my case:
pfexec bash /tmp/shot.sh >/tmp/shot.xwd

And optionally convert .xwd image to .png with convert from 
'imagemagick' package:


convert -quality 50 /tmp/shot.xwd /tmp/shot.jpg
convert /tmp/shot.xwd /tmp/shot.png

or just use GIMP to open .xwd file and save it in desired format.

I found the solution, that also works on OI/illumos, here:
https://askubuntu.com/questions/43458/how-can-i-take-a-screenshot-of-the-login-screen



___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss