Lähettäjä: Didier Kryn Päiväys: Vastaanottaja: dng Aihe: Re: [DNG] What do you guys like about Desktop Environments?
Le 26/12/2023 à 12:26, Harald Arnesen via Dng a écrit : > Didier Kryn [25/12/2023 18.48]:
>
>> In Xterm, everything is configurable through one zilion
>> command-line options, which, in practice would imply to RTFM and
>> write one's own script to start it, because it does not read a config
>> file.
>
> xterm reads ~/.Xresources, where I have (amongst other stuff):
>
> XTerm*decTerminalID: vt340
> XTerm*numColorRegisters: 256
> XTerm*termName: xterm-256color
> XTerm*utf8: true
> XTerm*background: White
> XTerm*foreground: Black
> XTerm*cursorColor: Red
> XTerm*reverseVideo: false
> XTerm*scrollBar: false
> XTerm*reverseWrap: true
> XTerm*locale: false
> XTerm*metaSendsEscape: true
> XTerm*faceName: Inconsolata:size=10
> XTerm*boldFaceName: Inconsolata Bold:size=10
> XTerm*fullCursor: true
> XTerm*scrollTtyOutput: false
> XTerm*scrollKey: true
> XTerm*titleBar: false
> XTerm*saveLines: 4096
> XTerm*vt100.geometry: 80x24
> XTerm*vt100.printerCommand: select-url
> XTerm*vt100.charClass: 33:48,35:48,37-38:48,43-47:48,
> 58:48,61:48,63-64:48,95:48,126:48
> XTerm*vt100.cutNewline: false
> XTerm*vt100.cutToBeginningOfLine: false
> XTerm*eightBitInput: false
> XTerm*modifyCursorKeys: 1
> XTerm*modifyFunctionKeys: 1
> XTerm*printerCommand: select-url
> XTerm*vt100.translations: #override \n\
>
> All of this is probably not needed, most of it has been there for years.
Now I remember this X feature which I vaguely learned when Xwindow
was first deployed. One config file for all Xwindow applications. Thank
you for reminding me. Maybe I'll create a config file for xterm and try
to use it in place of xfce4-terminal for the sake of reducing
dependency. Customiastion is mandatory unless you can read tiny
characters and enjoy the look of the good old Tektronix terminal of the
70's.
There exists xtermcontrol to test the effects of changing
parameters of a running xterm, but it is a CLI application and its
options are obviously the same as xterm: a looong list. And you must
guess (eg) which font to choose unless you know by hart the list of
installed fonts. Therefore, the easiest thing to do is to experiment the
settings in some DE's terminal emulator and translate it into an
Xresource config file.