Difference between xterm uxterm
This means that I can't rely on the default loading of ~/.Xresources: I call xrdb -cpp m4 ~/path/to/my/Xresources explicitly from my. #include ".config/x11/xterm-common-Xresources"
Xresources file, include xterm-common.Xresources twice, once for each class name. Put the common definitions for XTerm and UXTerm in a separate file xterm-common.Xresources. However, you can solve your problem with cpp using include files. The main difference between XTerm and Terminal is that the gnome-terminal has more features, while XTerm is minimalistic (though it has features that are't in gnome-terminal, but they are more advanced). In particular, you can't have a line break in the expansion of a cpp macro, so you can't define a macro to expand to multiple X resources. UXTerm is XTerm with support to Unicode characters. Unfortunately, cpp is not very convenient for the X resource syntax. xrdb (the utility that loads X resources) uses the C preprocessor ( cpp) by default. The solution is to rely on the preprocessor. *XTerm means “ XTerm at any level of the hierarchy”, not “any name that ends with XTerm”. Wildcards match components, not individual characters inside components. In general, you can't do this with the basic X resource syntax alone. In this specific case, you could perhaps use ?.VT100.background: Blackīecause in practice, xterm is the only application with a VT100 widget. You can get two tiers of configuration this way, but if you want three tiers, this won't help. With these definitions, xterm -name light has a white background and has scroll bars. Note: 18.04 LTS and 19.04 are also affected by this problem (?), but the upcoming Ubuntu 19.10 uses MATE Terminal for such cases and it is great.If you want to have multiple XTerm configurations and choose one at invocation time, you can use a single class and multiple instance names: : Black What should I do with 1st clean installed machine to use MATE Terminal by default for desktop-file with Terminal=true set? Is it a bug or feature? I have invented a hack with creating symlink between GNOME Terminal and MATE Terminal: sudo ln -s /usr/bin/mate-terminal /usr/local/bin/gnome-terminal
#DIFFERENCE BETWEEN XTERM UXTERM MANUAL#
* 6 /usr/bin/mate-terminal.wrapper 30 manual mode There are 9 choices for the alternative x-terminal-emulator (providing /usr/bin/x-terminal-emulator).ġ /usr/bin/gnome-terminal.wrapper 40 manual mode The output: $ sudo update-alternatives -config x-terminal-emulator The 2nd laptop have GNOME Terminal previously installed and then htop is shown in gnome-terminal. $ gsettings list-recursively | grep -E "mate-terminal|gnome-terminal|xterm" The difference between the two is a bit mysterious still. Change the command to uxterm -e bash & and it comes up as desired, with black text on white, and a reasonable font size too. Got into that habit with rxvt, where 'rxvt &' was sufficient. Press to keep the current choice, or type selection number: uxterm & which came up with an empty 'xrdb -query' within the terminal, and the colors wrong. * 0 /usr/bin/mate-terminal.wrapper 30 auto modeģ /usr/bin/mate-terminal.wrapper 30 manual mode There are 5 choices for the alternative x-terminal-emulator (providing /usr/bin/x-terminal-emulator). Here is the debug $ sudo update-alternatives -config x-terminal-emulator`is the following: The 1st laptop with clean installation of Ubuntu MATE 16.04 LTS shows htop in xterm. This results in file with the following contents: $ cat sktop
The example file is generated by right mouse click and selecting Create Launcher.:
I have two laptops with almost similar settings inside Ubuntu MATE 16.04 LTS.īut there is a difference in the behavior of desktop-files with set Terminal=true.