Eigenschaften einer X-Ressource

Aus Bluelupo's Wiki
Wechseln zu: Navigation, Suche

Mit xprop kann den Namen und die Werte einer X-Resource in Erfahrung bringen, hier im Beispiel eines xterm Fensters. Dazu sollte man den Namen kennen (hier der Wert der Titelzeile) oder bei nicht bekannten Namen einfach ohne Angabe der Option -name mit den Cursor in das betreffende Fenster klicken.

$ xprop -name "bluelupo@redfox: ~"
_NET_WM_ICON_GEOMETRY(CARDINAL) = 705, 1005, 179, 21
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE,   
_NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_CHANGE_DESKTOP,    
_NET_WM_ACTION_CLOSE
_KDE_NET_WM_FRAME_STRUT(CARDINAL) = 4, 4, 25, 7
_NET_FRAME_EXTENTS(CARDINAL) = 4, 4, 25, 7
_NET_WM_DESKTOP(CARDINAL) = 1
WM_STATE(WM_STATE):
               window state: Normal
               icon window: 0x0
_NET_WM_STATE(ATOM) = _NET_WM_STATE_MAXIMIZED_VERT
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW
_NET_WM_PID(CARDINAL) = 30564
SM_CLIENT_ID(STRING) = "10e1dd6466000126278495600000030280035"
WM_CLIENT_LEADER(WINDOW): window id # 0x3200022
WM_LOCALE_NAME(STRING) = "de_DE.UTF-8"
_KDE_NET_WM_USER_CREATION_TIME(CARDINAL) = 10307720
WM_CLASS(STRING) = "xterm", "XTerm"
WM_HINTS(WM_HINTS):
               Client accepts input or input focus: True
               Initial state is Normal State.
WM_NORMAL_HINTS(WM_SIZE_HINTS):
               user specified size: 830 by 604
               program specified size: 830 by 604
               program specified minimum size: 29 by 19
               program specified resize increment: 9 by 15
               program specified base size: 20 by 4
               window gravity: NorthWest
WM_CLIENT_MACHINE(STRING) = "redfox"
WM_COMMAND(STRING) = { "xterm" }
WM_ICON_NAME(STRING) = "bluelupo@redfox: ~"
WM_NAME(STRING) = "bluelupo@redfox: ~"