XMAG(1)

๐Ÿ“ฆ
version 1.0.8 ยท 3 versions
, in arch rolling, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

๐Ÿ’– XMAG(1) โ€” xmag magnifies parts of the screen ๐Ÿ’–

okay bestie, welcome to the xmag(1) page from the General Commands Manual. this one is literally about magnifying bits of an X screen, and it's highkey iconic. ๐Ÿฆ‹

โœจ NAME โœจ

xmag โ€” magnify parts of the screen. that's the whole assignment, no cap. ๐Ÿ’…

๐ŸŒธ SYNOPSIS ๐ŸŒธ

the synopsis is exactly this, bestie, so don't let the square brackets scare you:

xmag [ -mag magfactor ] [ -source geom ] [ -toolkitoption ... ]
xmag [ -help | -version ]

๐ŸŽ€ DESCRIPTION ๐ŸŽ€

xmag lets you magnify portions of an X screen. if no explicit region is specified, a square with the pointer in the upper left corner is displayed indicating the area to be enlarged. you can drag that area out to the desired size by pressing Button 2. ๐Ÿซถ

once a region has been selected, a window is popped up showing a blown up version of the region in which each pixel in the source image is represented by a small square of the same color. literally pixel-by-pixel realness. โœจ

pressing Button1 in the enlargement window shows the position and RGB value of the pixel under the pointer until the button is released. the application has 5 buttons across its top, and they are:

  • Close deletes this particular magnification instance. bye bestie ๐Ÿ’€
  • Replace brings up the rubber band selector again to select another region for this magnification instance.
  • New brings up the rubber band selector to create a new magnification instance.
  • Select puts the magnification image into the primary selection.
  • Paste copies the primary selection buffer into xmag.

typing Q or ^C in the enlargement window exits the program. note that you can cut and paste between xmag and the bitmap program. resizing xmag resizes the magnification area. xmag preserves the colormap, visual, and window depth of the source. periodt. ๐Ÿ‘‘

๐Ÿงš WIDGETS ๐Ÿงš

xmag uses the X Toolkit and the Athena Widget Set. the magnified image is displayed in the Scale widget. for more information, see the Athena Widget Set documentation. below is the widget structure of the xmag application; indentation indicates hierarchical structure, and the widget class name is given first, followed by the widget instance name. ๐ŸŽ€

            Xmag xmag
                 RootWindow root
                 TopLevelShell xmag
                      Paned pane1
                           Paned pane2
                                Command close
                                Command replace
                                Command new
                                Command select
                                Command paste
                                Label xmag label
                           Paned pane2
                                Scale scale
                 OverrideShell pixShell
                      Label pixLabel

๐Ÿ’… OPTIONS ๐Ÿ’…

  • -source geom โ€” this option specifies the size and/or location of the source region on the screen. by default, a 64x64 square is provided for the user to select an area of the screen. ๐Ÿ“
  • -mag integer โ€” this option indicates the magnification to be used. 5 is the default. ๐Ÿ”ฅ
  • -help โ€” this option indicates that xmag should print a usage message and exit. ๐Ÿซถ
  • -version โ€” this option indicates that xmag should print version info and exit. โœจ

๐Ÿซถ AUTHORS ๐Ÿซถ

Dave Sternlicht and Davor Matic, MIT X Consortium. iconic behavior, honestly. ๐Ÿ‘‘


X Version 11 โ€ข xmag 1.0.8 โ€ข XMAG(1) โ€” that's the footer sign-off, bestie ๐Ÿ’–โœจ

๐Ÿ“ฆ where this page comes from