SXPM(1)
π NAME π
hey bestie π welcome to the SXPM page from the General Commands Manual β sxpm is here to Show an XPM (X PixMap) file and/or convert XPM 1 or 2 files to XPM 3.
β¨ SYNOPSIS β¨
here's the shape of it, no cap:
sxpm [-d displayname] [-g geometry] [-hints] [-icon filename] [-plaid |
filename | -] [-o filename | -o -] [-pcmap] [-closecolors] [-nod] [-nom]
[-mono | -grey4 | -grey | -color] [-sc symbol color] [-sp symbol pixel]
[-cp color pixel] [-rgb filename] [-v]
πΈ DESCRIPTION πΈ
The sxpm program can be used to view any XPM (version 1, 2, or 3) file and/or to convert a file from XPM1 or XPM2 to XPM version 3. It's giving tiny utility, big pixmap energy β¨
If sxpm is run with any dummy option specified, the usage is displayed. If no geometry is specified, the show window will have the size of the read pixmap. Pressing the key Q in the window will quit the program.
π OPTIONS π
okay so here's the full options menu, and yes every single one is invited to the group chat:
-ddisplay β Specifies the display to connect to.-ggeometry β Window geometry (default is pixmap's size).-hintsβ Set ResizeInc for window.-iconfilename β Set icon to pixmap created from the file filename.-plaidβ Show the plaid pixmap which is stored as data.filenameβ Read from the file filename or from standard input if filename is-. If no input is specifiedsxpmreads from standard input.-ofilename β Write to the file filename (overwrite if it already exists) and to standard output if filename is-.-monoβ Use the colors specified for a monochrome visual.-grey4β Use the colors specified for a 4 color greyscale visual.-greyβ Use the colors specified for a greyscale visual.-colorβ Use the colors specified for a color visual.-pcmapβ Use a private colormap.-closecolorsβ Try to use "close colors" before reverting to other visuals.-nodβ Do not display the pixmap in a window. (Useful when using as converter)-nomβ Do not use the clipmask if there is any.-scsymbol colorname β Override default color to symbol to colorname.-spsymbol pixelvalue β Override default color to symbol to pixelvalue.-cpcolorname pixelvalue β Override default color to colorname to pixelvalue.-rgbfilename β Search color names in the file filename and write them out instead of the rgb values.-vβ Verbose - to print out extensions (stderr).
β οΈ KNOWN BUGS β οΈ
Some window managers may not accept a pixmap which is not a bitmap as icon because this does not respect ICCCM, many of the well known ones will accept it though.
π AUTHOR π
- Arnaud Le Hors (
lehors@sophia.inria.fr) - Bull Research France
- Copyright (C) 1989-95 by Groupe Bull.
okay that's the whole page, bestie π β this came from X Version 11, libXpm 3.5.20, and the SXPM(1) footer. mwah π«Ά
π¦ where this page comes from
- alpine 3.24: libxpm-doc 3.5.20-r0 Β· X11
- arch rolling: libxpm 3.5.20-1 Β· MIT AND X11-distribute-modifications-variant
- nixos 26.05: libxpm 3.5.20
- nixpkgs unstable: libxpm 3.5.20
- Copyright (C) 1989-95 GROUPE BULL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms