SYNOPSIS
setxdmbg --help
setxdmbg --image <path> [OPTION]...
DESCRIPTION
setxdmbg is a command line tool to generate and set XDM display manager background image.
OPTION
-h
|--help
-
Prints this help page.
-i
|--image
<path>
-
Full path to the source image used to generate the XDM background image.
-l
|--log
[<path>]
-
Full path to the file in which setxdmbg must log its activity. Default to
/dev/stdout
when <path> is not specified.
-p
|--physical-screen
<screen>
-
Displays the XDM background image on a given physical screen only.
<screen> can be any existing output supported by
xrandr
(ex.VGA-1
,HDMI-0
,DVI-D-0
,…) or the keyword primary to select the primary screen.
-T
|--top-border
<height>[:<color>]
-
Defines the height, and optionally the color, of the border at the top of the XDM background image.
<color>
can be any color supported by the imagemagick primitive-fill
(ex:red
,#ddddff
,rgb(255,255,255)
,none
,…). When<color>
is not specified, default toblack
.
-B
|--bottom-border
<height>[:<color>]
-
Defines the height, and optionally the color, of the border at the bottom of the XDM background image.
<color>
can be any color supported by the imagemagick primitive-fill
(ex:red
,#ddddff
,rgb(255,255,255)
,none
,…). When<color>
is not specified, default toblack
.
-x
|--extra-image-op
<image-op>
-
Adds <op> to the list of extra image operator to apply to the source image to generate the XDM background image. The following
imagemagick
operators are supported :
DIRECTORIES and FILES
/var/cache/setxdmbg
-
Cache directory used to store the latest XDM background image and its configuration.
~/.setxdmbg
-
Cache directory used to store the latest XDM background image and its configuration when
setxdmbg
is run by a normal user. This is to allow any user to testsetxdmbg
without to have to run XDM.
xdm.<XDISP>.pixmap
-
The latest generated XDM background image . Stored in the setxdmbg’s cache directory.
XDISP is the X server display name, without field screennumber, and to XDM resource name format, that is, with underscores in place of dots and colons.
For instance the value of XDISP in case of X server display name
:0
is "_0
". it is "_1
" in case of X server display name:1
, it is "com_foo_bar_0
" in case of X server display namecom.foo.bar:0
.
xdm.<XDISP>.pixmap.inf
-
Contains information on the latest generated XDM background image.
XDISP is the X server display name, without field screennumber, and to XDM resource name format, that is, with underscores in place of dots and colons.
For instance the value of XDISP in case of X server display name
:0
is "_0
". it is "_1
" in case of X server display name:1
, it is "com_foo_bar_0
" in case of X server display namecom.foo.bar:0
.
EXAMPLES
-
Set image on primary screen only
$ setxdmbg --image /usr/share/wallpapers/xdm.jpg \ --physical-screen primary \ --top-border 16 \ --bottom-border 32
-
Set image with blur effect
$ setxdmbg --image /usr/share/wallpapers/xdm.jpg \ --top-border 16 \ --extra-image-op blur 16x4
-
Set image with paint effect and gaussian noise
$ setxdmbg --image /usr/share/wallpapers/xdm.jpg \ --bottom-border 16 \ --extra-image-op -paint 4 \ --extra-image-op +noise Gaussian