- Timestamp:
- 02/11/2016 02:49:58 PM (8 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 83487d0f
- Parents:
- 0e719c4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
xsoft/other/rxvt-unicode.xml
r0e719c4 r6ec7963 115 115 <title>Configuring rxvt-unicode</title> 116 116 117 <para>The <application>rxvt-unicode</application> terminal emulator 118 uses theresource class <classname>URxvt</classname> and the resource name119 <classname>urxvt</classname>. You can add X resource definitions to a 120 user's <filename>~/.Xresources</filename> file or to the system-wide121 <filename>/etc/X11/app-defaults/URxvt</filename> file. The following122 example will load the <classname>matcher</classname>117 <para>The <application>rxvt-unicode</application> terminal emulator uses the 118 resource class <classname>URxvt</classname> and the resource name 119 <classname>urxvt</classname>. You can add X resource definitions to a user's 120 <filename>~/.Xresources</filename> or <filename>~/.Xdefaults</filename> 121 files or to the system-wide <filename>/etc/X11/app-defaults/URxvt</filename> 122 file. The following example will load the <classname>matcher</classname> 123 123 <application>Perl</application> extension (assuming 124 124 <application>Perl</application> support wasn't disabled), which enables a 125 middle button click to open an underlined URL in the specified browser,126 sets abackground and foreground color and loads an Xft font:</para>125 left button click to open an underlined URL in the specified browser, sets a 126 background and foreground color and loads an Xft font:</para> 127 127 128 128 <screen><userinput>cat >> /etc/X11/app-defaults/URxvt << "EOF" 129 <literal>URxvt*perl-ext: matcher 130 URxvt*urlLauncher: firefox 131 URxvt.background: black 132 URxvt.foreground: yellow 133 URxvt*font: xft:Monospace:pixelsize=12</literal> 129 <literal>! Use the specified colour as the windows background colour [default white] 130 URxvt*background: black 131 132 ! Use the specified colour as the windows foreground colour [default black] 133 URxvt*foreground: yellow 134 135 ! Select the fonts to be used. This is a comma separated list of font names 136 URxvt*font: xft:Monospace:pixelsize=18 137 138 ! Comma-separated list(s) of perl extension scripts (default: "default") 139 URxvt*perl-ext: matcher 140 141 ! Specifies the program to be started with a URL argument. Used by 142 URxvt*url-launcher: firefox 143 144 ! When clicked with the mouse button specified in the "matcher.button" resource 145 ! (default 2, or middle), the program specified in the "matcher.launcher" 146 ! resource (default, the "url-launcher" resource, "sensible-browser") will be 147 ! started with the matched text as first argument. 148 ! Below, default modified to mouse left button. 149 URxvt*matcher.button: 1</literal> 134 150 EOF</userinput></screen> 151 152 <para>In order to view the defined X resources, issue:</para> 153 154 <screen><userinput>xrdb -query</userinput></screen> 155 156 <para>In order to add the modifications of the new user configuration file, 157 keeping previously X configurations (of course, unless you are changing any 158 on previously define), issue:</para> 159 160 <screen><userinput>xrdb -merge ~/.Xresources</userinput></screen> 135 161 136 162 <para>The <application>rxvt-unicode</application> application can also run
Note:
See TracChangeset
for help on using the changeset viewer.