SUSE Conversations


Taking Screenshots from within YaST



By: pthompson

April 11, 2013 10:19 am

Reads:324

Comments:0

Rating:5.0

Here’s a quick way of taking ‘screenshots’ from within YaST, which might be useful when documenting configuration steps.

----
# tail -f /var/log/YaST2/y2log | grep -i "ScreenShot" | sed 's/.*screenshot.:[0-9]*\ *\(.*\)/\1/ig'
----

Then dump the screen with: Ctrl ‘d’ Shift ‘d’

Below is an example output (use fixed-width font).

----
YaST2 - lan @ server1

Network Settings
+Global Options--Overview--Hostname/DNS--Routing------------------------
|+----------------------------------------------------------------------
||Name                                           |IP Address|Device|Note
||PRO/Wireless 3945ABG [Golan] Network Connection|DHCP4     |wlan0 |
||Intel Ethernet controller                      |0.0.0.0   |eth0  |
||Network Bridge                                 |DHCP      |br0   |
||
||
||
-snip-
||
|+-----------------------------------------------------------------------
|+----------------------------------------------------------------------
||PRO/Wireless 3945ABG [Golan] Network Connection (Not connected)
||MAC : 24:77:03:01:23:45
||BusID : 0000:03:00.0
|| *  Device Name: wlan0
|| *  Started manually
|| *  IP address assigned using DHCP4
||
----

If you need to email a screenshot of YaST to a mailing list, etc, that would be a lot more acceptable than a .png attachment.

VN:D [1.9.22_1171]
Rating: 5.0/5 (2 votes cast)
Taking Screenshots from within YaST, 5.0 out of 5 based on 2 ratings

Tags: , ,
Categories: SUSE Linux Enterprise Desktop, SUSE Linux Enterprise Server, Technical Solutions

Disclaimer: As with everything else at SUSE Conversations, this content is definitely not supported by SUSE (so don't even think of calling Support if you try something and it blows up).  It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.

Comment

RSS