xmessage - possible settings in .Xresources

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
jsfarinet
Posts: 305
Joined: 23. Nov 2014, 07:32

xmessage - possible settings in .Xresources

Post by jsfarinet »

Is there somewhere a complete list of possible - default - settings (in .Xresources)? I need it but i'd prefer to have it a bit nicer and smarter (utf8 sensitive e.g.) ... I looked into 'man xmessage' but it's pretty poor and hopefully not the only options (??)

I think of something similar as i have for my xterm settings (ceteris paribus, obviously):

Code: Select all

! xterm -----------------------------------------------------------------------

xterm*saveLines: 4096

! double-click to select whole URLs :D
xterm*charClass: 33:48,36-47:48,58-59:48,61:48,63-64:48,95:48,126:48

xterm*background:black
xterm*foreground:white
xterm*faceName: Source Code Pro Regular
xterm*faceSize: 10
xterm*utf8: always
xterm*utf8Fonts: always
xterm*utf8Title: true

! right hand side scrollbar...
xterm*rightScrollBar: true
xterm*ScrollBar: true

xterm*selectToClipboard: true

xterm*urlCommand:        /usr/bin/iron %s
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: xmessage - possible settings in .Xresources

Post by mimosa »

I'm afraid I can't actually help, but one good place to look for anything like this is the Arch wiki:
https://wiki.archlinux.org/index.php/x_resources

The Wikipedia page on it has some links at the bottom that may be helpful, too:
https://en.wikipedia.org/wiki/X_resources
DidierSpaier
Posts: 539
Joined: 20. Jun 2016, 20:15

Re: xmessage - possible settings in .Xresources

Post by DidierSpaier »

jsfarinet wrote:Is there somewhere a complete list of possible - default - settings (in .Xresources)?
No there isn't.

Let me quote the Wikipedia article (link provided by mimosa):
At the X protocol level, resources are strings that are stored in the server and have no special meaning. The syntax and meaning of these strings is given by client libraries and applications.
So, you need to read the documentation of the library or application you are interested in to know which resources it uses and what are their value types and ranges(1). For instance in "man xterm" under RESOURCES we see the xterm specific resources.

For some applications (including Xterm) the defaults values of their resources are in /etc/X11/app-defaults.

editres allows to see the hierarchical tree of resources associated to the application associated to a window and edit them, see "man editres" and appres allows to list these resources, see "man appres".

(1) There are also some "standard" resources intrinsic to toolkits for X, see for instance the definitions in this document: http://lesstif.sourceforge.net/doc/supe ... Management for lesstif. But there are other toolkits with their own resources...
User avatar
jsfarinet
Posts: 305
Joined: 23. Nov 2014, 07:32

Re: xmessage - possible settings in .Xresources

Post by jsfarinet »

Thanks Didier!
Post Reply