LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

appres

Display X application resource settings

TLDR

Show resources for an application by class name
$ appres [XTerm]
copy
Show resources with class and instance name
$ appres [XTerm] [xterm]
copy
Show specific resource by filtering output
$ appres [Emacs] | grep [font]
copy
Show resources for a specific widget path
$ appres [XTerm] [xterm] -xrm "*VT100*"
copy

SYNOPSIS

appres [class [instance]] [-xrm resourcestring]

DESCRIPTION

appres displays X application resources. It queries the X Resource Manager database and shows resources that would be applied to a specified application based on its class and instance names.This is useful for debugging X11 application appearance and behavior, understanding which resources are being applied.

PARAMETERS

class

Application class name (typically capitalized)
instance
Application instance name (typically lowercase)
-xrm resourcestring
Add extra resource string for matching

INSTALL

sudo apt install x11-utils
copy
sudo dnf install appres
copy
sudo zypper install appres
copy
nix profile install nixpkgs#appres
copy

CAVEATS

Only applies to X11 applications using Xlib resources. Modern toolkit applications (GTK, Qt) may not use X resources. Output depends on resources defined in .Xresources or .Xdefaults.

HISTORY

appres is a standard X11 utility that has been part of the X Window System since the X11R4 release in 1989.

SEE ALSO

xrdb(1), xprop(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid