This is posted under the Experimentation/Customization/Optimization (> Topic: Rules for posting in this forum).
With the Kubuntu 9.10; Grub > Usplash > KsplashX (1) > KDM > KsplashX (2) /1/,/2/, /3/.
There is > How to install and use Xephyr / Make Screen Shot of LogIn screen. This an alternative way to do it.
man xwd
The xwd is part of the package x11-apps:
1) Writing a bash script (snap):
The path is to YOUR home directory = /home/<YOUR_username_here>/snap/.
Dropping it in to the /usr/local/bin and making it executable.
The scrip will dump the image (20 images / about 1 per sec ) of the X Window to the /home/rog/snap/.
2) Adding a script call to the /etc/kde4/kdm/Xsetup.
Backup before edit !
After the edit:
3) Booting
Images are dumped to the /home/rog/snap/screenshot-1.xwd, /home/rog/snap/screenshot-2.xwd, ....
With the 1680x1050 each image is 6,7 MiB.
4) Conversion
The xwd images can be opened with the Gimp or prosessed with the ImageMagick.
/1/ > Kubuntu Karmic Xsplash
/2/ > Topic: KDM from 4.3.1
/3/ > Topic: [SOLVED] Ksplash Theme background - can't get it to change
With the Kubuntu 9.10; Grub > Usplash > KsplashX (1) > KDM > KsplashX (2) /1/,/2/, /3/.
There is > How to install and use Xephyr / Make Screen Shot of LogIn screen. This an alternative way to do it.
man xwd
NAME
xwd - dump an image of an X window
SYNOPSIS
xwd [-debug] [-help] [-nobdrs] [-out file] [-xy] [-frame] [-add value] [-root | -id id | -name name ] [-icmap] [-screen] [-silent]
[-display display]
DESCRIPTION
Xwd is an X Window System window dumping utility. Xwd allows X users to store window images in a specially formatted dump file. This file can then be read by various other X utilities for redisplay, printing, editing, formatting, archiving, image processing, etc. The target window is selected by clicking the pointer in the desired window. The keyboard bell is rung once at the beginning of the dump and twice when the dump is completed.
xwd - dump an image of an X window
SYNOPSIS
xwd [-debug] [-help] [-nobdrs] [-out file] [-xy] [-frame] [-add value] [-root | -id id | -name name ] [-icmap] [-screen] [-silent]
[-display display]
DESCRIPTION
Xwd is an X Window System window dumping utility. Xwd allows X users to store window images in a specially formatted dump file. This file can then be read by various other X utilities for redisplay, printing, editing, formatting, archiving, image processing, etc. The target window is selected by clicking the pointer in the desired window. The keyboard bell is rung once at the beginning of the dump and twice when the dump is completed.
X applications
An X client is a program that interfaces with an X server (almost always via
the X libraries), and thus with some input and output hardware like a
graphics card, monitor, keyboard, and pointing device (such as a mouse).
This package provides a miscellaneous assortment of X applications
that ship with the X Window System, including:
- bitmap,
- oclock and xclock, graphical clocks;
- xbiff, a tool which tells you when you have new email;
- xcalc, a scientific calculator desktop accessory;
...
- xwd, a utility for taking window dumps ("screenshots") of the X session;
- xwud, a viewer for window dumps created by xwd;
- Xmark, x11perf, and x11perfcomp, tools for benchmarking graphical
operations under the X Window System;
The xbiff, xcalc, xconsole and xman programs use bitmap images provided
by the xbitmaps package.
An X client is a program that interfaces with an X server (almost always via
the X libraries), and thus with some input and output hardware like a
graphics card, monitor, keyboard, and pointing device (such as a mouse).
This package provides a miscellaneous assortment of X applications
that ship with the X Window System, including:
- bitmap,
- oclock and xclock, graphical clocks;
- xbiff, a tool which tells you when you have new email;
- xcalc, a scientific calculator desktop accessory;
...
- xwd, a utility for taking window dumps ("screenshots") of the X session;
- xwud, a viewer for window dumps created by xwd;
- Xmark, x11perf, and x11perfcomp, tools for benchmarking graphical
operations under the X Window System;
The xbiff, xcalc, xconsole and xman programs use bitmap images provided
by the xbitmaps package.
1) Writing a bash script (snap):
Code:
#!/bin/bash for i in {1..20..1} do xwd -out /home/rog/snap/screenshot-$i.xwd -root -display :0.0 sleep 1 done
Dropping it in to the /usr/local/bin and making it executable.
The scrip will dump the image (20 images / about 1 per sec ) of the X Window to the /home/rog/snap/.
2) Adding a script call to the /etc/kde4/kdm/Xsetup.
Backup before edit !
After the edit:
Code:
#! /bin/sh # Xsetup - run as root before the login dialog appears #xconsole -geometry 480x130-0-0 -notify -verbose -fn fixed -exitOnFail -file /dev/xconsole & # Kubuntu needs boot splash starting, KDM will kill it when it is running if ! grep -q ^AutoLoginEnable=true /etc/kde4/kdm/kdmrc; then ksplashx Rog131 & fi # xwd call /usr/local/bin/snap &
3) Booting
Images are dumped to the /home/rog/snap/screenshot-1.xwd, /home/rog/snap/screenshot-2.xwd, ....
With the 1680x1050 each image is 6,7 MiB.
4) Conversion
The xwd images can be opened with the Gimp or prosessed with the ImageMagick.
/1/ > Kubuntu Karmic Xsplash
/2/ > Topic: KDM from 4.3.1
/3/ > Topic: [SOLVED] Ksplash Theme background - can't get it to change
Comment