1

I installed a ubuntu 16.4.1 command-line version from the minimal cd. Then I installed x-server. The command x-terminal-emulator is linked to the wrapper /usr/bin/lxterm of xterm.

Now I want to have my own back- and foreground color if I run lxterm or x-terminal-emulator. If I create the ~/.Xdefaults file which contains the color properties it does not affect the program call lxterm or x-terminal-emulator after restarting x-server. It only affects xterm. How setup those properties for lxterm?

Hölderlin
  • 667
  • 1
  • 8
  • 24

1 Answers1

1

The command line parameters options of xterm work with lxterm for me:

lxterm -fg beige -bg '#2b2c2b' -fa default -fs 12 -geometry 80x4

enter image description here

Would this method work for you (using a script or putting the text string in a desktop file).

sudodus
  • 46,324
  • 5
  • 88
  • 152
  • You mean to replace the symbolic link /usr/bin/x-terminal-emulator with file containing /etc/alternatives/x-terminal-emulator -fg beige -bg '#2b2c2b'? Where /etc/alternatives/x-terminal-emulator is the result of readlink /usr/bin/x-terminal-emulator. Can i prompt replace the symbolic link in that way? – Hölderlin Dec 28 '16 at 04:44
  • You can 'move the symbolic link to a different name' and try. If it does not work well for you, you can remove 'this thing', and move back the symbolic link. – sudodus Dec 28 '16 at 06:43
  • But then I have the problem, if I am using the command lxterm or xterm it starts a terminal with different colors. – Hölderlin Dec 28 '16 at 14:34
  • It is your choice if you want to use this method :-) – sudodus Dec 28 '16 at 15:31
  • Sry for my stupid question. I can't reproduce the issue. Now the configurations in .Xdefaults achieve the xterm independently if I execute xterm or x-terminal-emulator. – Hölderlin Feb 02 '17 at 02:17
  • Maybe an upgrade of some program package solved your problem. (There was a problem, and you asked for a solution. Asking a question is not stupid. Sometimes the person asking and the person answering do not understand each other, but that is another problem, that can often be solved with patience or with help from somebody else.) – sudodus Feb 02 '17 at 05:40