Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I configured my xterm using the CTRL-MiddleClick and CTRL-RightClick. Is there a way to export save these settings?

share|improve this question

1 Answer 1

I don't think you can save settings of a running Xterm to a file. Xterm settings are specified via X resources. Each of the entries in the menu corresponds to a resource. The manual lists the available resources. Near the end of the resource section, you'll find a description of the menus, and for each menu entry, a description of the action it invokes; and for each action, the manual indicates what it does, which can be to modify a setting controlled by a resource.

When your X session starts, resources are loaded from ~/.Xdefaults. You can reload the file at any time by running

xrdb -merge ~/.Xdefaults

For example, to enable the blinking cursor and allow applications to change the window title, put this in ~/.Xdefaults:

XTerm.VT100.allowTitleOps: true
XTerm.VT100.blink: true
share|improve this answer
There's no way to even dump or query the various XTerm resources? Not cool :( –  Ehtesh Choudhury Nov 26 '12 at 17:19
@Shurane You can dump the resources with xrdb -query, but that shows the default settings applied when XTerm starts, not the current settings of an XTerm window. –  Gilles Nov 26 '12 at 18:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.