… | |
… | |
558 | You can set and change the resources using X11 tools like B<xrdb>. Many |
558 | You can set and change the resources using X11 tools like B<xrdb>. Many |
559 | distribution do also load settings from the B<~/.Xresources> file when X |
559 | distribution do also load settings from the B<~/.Xresources> file when X |
560 | starts. @@RXVT_NAME@@ will consult the following files/resources in order, |
560 | starts. @@RXVT_NAME@@ will consult the following files/resources in order, |
561 | with later settings overwriting earlier ones: |
561 | with later settings overwriting earlier ones: |
562 | |
562 | |
563 | 1. system-wide app-defaults file, either locale-dependent OR global |
|
|
564 | 2. app-defaults file in $XAPPLRESDIR |
563 | 1. app-defaults file in $XAPPLRESDIR |
|
|
564 | 2. $HOME/.Xdefaults |
565 | 3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults |
565 | 3. RESOURCE_MANAGER property on root-window of screen 0 |
566 | 4. SCREEN_RESOURCES for the current screen |
566 | 4. SCREEN_RESOURCES property on root-window of the current screen |
567 | 5. $XENVIRONMENT file OR $HOME/.Xdefaults-<nodename> |
567 | 5. $XENVIRONMENT file OR $HOME/.Xdefaults-<nodename> |
568 | 6. resources specified via -xrm on the commandline |
568 | 6. resources specified via -xrm on the commandline |
569 | |
569 | |
570 | Note that when reading X resources, B<@@RXVT_NAME@@> recognizes two class |
570 | Note that when reading X resources, B<@@RXVT_NAME@@> recognizes two class |
571 | names: B<Rxvt> and B<URxvt>. The class name B<Rxvt> allows resources |
571 | names: B<Rxvt> and B<URxvt>. The class name B<Rxvt> allows resources |
… | |
… | |
903 | =item B<scrollstyle:> I<mode> |
903 | =item B<scrollstyle:> I<mode> |
904 | |
904 | |
905 | Set scrollbar style to B<rxvt>, B<plain>, B<next> or B<xterm>. B<plain> is |
905 | Set scrollbar style to B<rxvt>, B<plain>, B<next> or B<xterm>. B<plain> is |
906 | the author's favourite. |
906 | the author's favourite. |
907 | |
907 | |
|
|
908 | =item B<thickness:> I<number> |
|
|
909 | |
|
|
910 | Set the scrollbar width in pixels. |
|
|
911 | |
908 | =item B<scrollBar:> I<boolean> |
912 | =item B<scrollBar:> I<boolean> |
909 | |
913 | |
910 | B<True>: enable the scrollbar [default]; option B<-sb>. B<False>: |
914 | B<True>: enable the scrollbar [default]; option B<-sb>. B<False>: |
911 | disable the scrollbar; option B<+sb>. |
915 | disable the scrollbar; option B<+sb>. |
912 | |
916 | |
… | |
… | |
1156 | keysym value (B<0x0000 - 0xFFFF>). Note that the lookup of I<sym>s is not |
1160 | keysym value (B<0x0000 - 0xFFFF>). Note that the lookup of I<sym>s is not |
1157 | performed in an exact manner; however, the closest match is assured. |
1161 | performed in an exact manner; however, the closest match is assured. |
1158 | |
1162 | |
1159 | I<string> may contain escape values (C<\n>: newline, C<\000>: octal |
1163 | I<string> may contain escape values (C<\n>: newline, C<\000>: octal |
1160 | number), see RESOURCES in C<man 7 X> for further details. |
1164 | number), see RESOURCES in C<man 7 X> for further details. |
1161 | |
|
|
1162 | You can define a range of keysyms in one shot by providing a I<string> |
|
|
1163 | with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where the delimiter `/' |
|
|
1164 | should be a character not used by the strings. |
|
|
1165 | |
|
|
1166 | Its usage can be demonstrated by an example: |
|
|
1167 | |
|
|
1168 | URxvt.keysym.M-C-0x61: list|\033<M-C-|abc|> |
|
|
1169 | |
|
|
1170 | The above line is equivalent to the following three lines: |
|
|
1171 | |
|
|
1172 | URxvt.keysym.Meta-Control-0x61: \033<M-C-a> |
|
|
1173 | URxvt.keysym.Meta-Control-0x62: \033<M-C-b> |
|
|
1174 | URxvt.keysym.Meta-Control-0x63: \033<M-C-c> |
|
|
1175 | |
1165 | |
1176 | If I<string> takes the form of C<command:STRING>, the specified B<STRING> |
1166 | If I<string> takes the form of C<command:STRING>, the specified B<STRING> |
1177 | is interpreted and executed as @@RXVT_NAME@@'s control sequence. For |
1167 | is interpreted and executed as @@RXVT_NAME@@'s control sequence. For |
1178 | example the following means "change the current locale to C<zh_CN.GBK> |
1168 | example the following means "change the current locale to C<zh_CN.GBK> |
1179 | when Control-Meta-c is being pressed": |
1169 | when Control-Meta-c is being pressed": |