You are not logged in.
Was wondering if there is a way to override .Xdefaults for a specific application (mutt specifically)? Is there a way to load a seperate colour config file for a one off terminal window?
Offline
Yes, there is a way to make one-off terminal windows. One of the easiest is to simply change the 'name' resource of the terminal. In this example I have my xterm's normal background color set to a nearly black color and the alternate background set to a dark green.
! X resource file example
! Normal background
XTerm*background: rgb:08/08/08
! Alternate background
green*background: rgb:08/16/08The normal background is called with the command 'xterm'. If I want to change to the alternate background, I use this command:
$ xterm -name greenPlay with and read about the difference between instances and classes in X resources. You can also set many X resources for most Xlib programs from the command line. You'll have to RTFM.
Edit: The example code works when you substitute 'URxvt' or 'Rxvt' for the 'XTerm' class when using rxvt-unicode.
Last edited by thisoldman (2013-08-08 10:25:19)
Offline
Offline
You can use 256 color codes in mutt's config ... so why not make the adjustment there?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
@Trilby: That's a very good point, I didn't think of that.
Offline