XSETROOT(1)
โจ XSETROOT(1) โจ
๐ NAME
okay so the manual name is xsetroot, and it's a root window parameter setting utility for X ๐ฅ๏ธโจ
๐ SYNOPSIS
xsetroot [-help] [-version] [-def] [-display display] [-cursor
cursorfile maskfile] [-cursor_name cursorfontname] [-xcf cursorfile
cursorsize] [-bitmap filename | -mod x y | -gray | -grey | -solid color]
[-bg color] [-fg color] [-rv] [-name string] [-d display]
๐ฆ DESCRIPTION
bestie, this is the program that lets you glow up the background ("root") window on an X workstation display ๐๐
Normally you just keep messing with xsetroot until you find a look that's so you, and then you copy that exact command into your X startup file so it's always there for you ๐ฅนโจ
If you don't pass any options, or you pass -def, the window gets reset to its default state ๐ซถ -def is lowkey special because you can stick it alongside other options. When you do that, only the stuff you didn't specify gets reset to default, and everything you did specify stays put ๐
Only one of the background color/tiling changing options can be used at a time:-solid,-gray,-grey,-bitmap, and-mod. Pick one bestie, no cap ๐ โโ๏ธ
๐ธ OPTIONS
Here's the whole menu, periodt ๐
-helpโ prints a usage message and bounces ๐-versionโ prints a version message and bounces ๐ข-def,-defaultโ resets whatever you didn't specify back to the defaults. This brings back the familiar gray mesh background and the hollow x shaped cursor ๐ฅฐ-cursorcursorfile maskfile โ swaps the pointer cursor for whatever you want, but only when the pointer is outside any window ๐ฑ๏ธโจ Cursor and mask files are bitmaps (tiny little pictures), and you can make them with thebitmap(1)program. Honestly? Keep the mask file all black until you get the hang of how masks work ๐-cursor_namecursorfontname โ picks one of the standard cursors from the cursor font ๐ Check appendix B of the X protocol for the names. TheXC_prefix gets dropped for this option, so just the bare name ๐-xcfcursorfile cursorsize โ loads a cursor from an Xcursor file (as defined by libXcursor) at the size you ask for ๐ง-bitmapfilename โ uses the bitmap in that file as the window pattern ๐จ You can craft your own withbitmap(1). The whole background becomes repeated "tiles" of your bitmap, so it's giving wallpaper energy ๐ท-modx y โ gives you a plaid-ish grid pattern ๐งบ Bothxandyare integers from1to16. Try different combos, it's giving experiment ๐ฌ Zero and negative numbers get treated as1๐ค-gray,-greyโ makes the entire background gray, which is easier on the eyes ๐ฉถ-bg,-backgroundcolor โ usescoloras the background color ๐ค๏ธ-fg,-foregroundcolor โ usescoloras the foreground color ๐ฅ Heads up: foreground and background colors only matter when you're also using-cursor,-bitmap, or-mod, so they're kinda side characters otherwise ๐ซ-rv,-reverseโ swaps the foreground and background colors ๐ Normally the foreground is black and the background is white, so this flips that tea โ-solidcolor โ sets the root window background to a solidcolor๐จ This one's only useful on color servers, so keep that in mind ๐๏ธ-namestring โ names the root windowstring๐ท๏ธ There's no default value here. Usually a window gets a name so the window manager can show a text version when it's iconified, but this option is unused because you can't iconify the background ๐ญ-d,-displaydisplay โ picks which server to connect to. SeeX(7)for the deets ๐ฅ๏ธ
๐ง SEE ALSO
Your next stops, bestie ๐บ๏ธโจ X(7), xset(1), xrdb(1), Xcursor(3)
๐ AUTHOR
Mark Lillibridge, MIT Project Athena ๐๐
๐ Sign-off time! ๐ This page is from the X Version 11 crew, covering xsetroot version 1.1.3, and it lives under the manual name XSETROOT(1) ๐ซถ Go make your desktop iconic โจ๐
๐ฆ where this page comes from
- alpine 3.24: xsetroot-doc 1.1.3-r1 ยท MIT
- debian trixie: x11-xserver-utils 7.7+11
- fedora 43: xsetroot 1.1.3-3.fc43 ยท MIT-open-group
- fedora 44: xsetroot 1.1.3-4.fc44 ยท MIT-open-group
- nixos 26.05: xsetroot 1.1.3
- opensuse-leap 16.0: xsetroot 1.1.3-160000.2.2 ยท MIT
- opensuse-leap 16.0: xsetroot 1.1.3-160000.2.2 ยท MIT
- opensuse-leap 16.0: xsetroot 1.1.3-160000.2.2 ยท MIT
- opensuse-leap 16.0: xsetroot 1.1.3-160000.2.2 ยท MIT
- ubuntu noble: x11-xserver-utils 7.7+10build2
- ubuntu questing: x11-xserver-utils 7.7+11
- ubuntu resolute: x11-xserver-utils 7.7+11build1
- ubuntu stonking: x11-xserver-utils 7.7+11build1
- Copyright 1988, 1998 The Open Group
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms