Questions tagged [x-resources]

62 questions
22
votes
8 answers

How can I find the default (font) resource XTerm is using?

If I launch xterm with its default bitmap fonts and then select the 'Large' font from the 'VT Fonts' menu (via ctrl+right mouse), I get a very usable bitmap font with apparently good Japanese character support. I'd like to know what this font is so…
Paul Whittaker
  • 323
  • 1
  • 2
  • 5
15
votes
2 answers

Is it correct to set the $TERM variable manually?

I set the $TERM variable adding the line XTerm*termName: xterm-256color to my .Xresources file. When I did it I didn't know what exactly that meant (I was following an online guide to change the look of xterm), but now I have read a little more and…
Santaru72
  • 231
  • 2
  • 3
  • 4
10
votes
2 answers

Why whould xterm behave differently than x-terminal-emulator when it points to the same executable?

lrwxrwxrwx 1 root root 14 Apr 19 14:36 /etc/alternatives/x-terminal-emulator -> /usr/bin/xterm Running it using these 2 calls: /usr/bin/xterm /etc/alternatives/x-terminal-emulator First starts with black background and other starts with white.…
Rumca
  • 709
  • 1
  • 8
  • 17
8
votes
1 answer

Facelifting XClock while using Xrender: A long and winding road

Basically, xclock is a great tool, and every basic X setup would have it "onboard". However, configuring xclock (analog) while keeping XRender active is definitely not for the faint of heart. In particular, beginners will not have any chance to…
syntaxerror
  • 2,236
  • 2
  • 27
  • 49
8
votes
2 answers

"Xterm" or "xterm" in configuration file

After starting to use Arch I switched to xterm and urxvt terminal and enjoyed the flexibility of them (esp. scaleHeight resource). However, I don't understand why sometimes configs work with Xterm and sometimes with xterm or XTerm (lower vs upper…
Serge Poele
  • 115
  • 1
  • 1
  • 9
7
votes
2 answers

Xresources color settings

I'm using Gentoo with XMonad and set all the colors in .Xresources file. The problem is that for some apps setting *.background and *.foreground is not enough since they override the settings for some fields. Here's an example of what's wrong: The…
rkiyanchuk
  • 328
  • 1
  • 2
  • 7
7
votes
1 answer

What is `#override` in .Xresources?

I haven't used .Xresources much, but in the docs that I have looked over, from time to time I see mention of the #override command. Or modifier. Or whatever it is. That's the problem; I don't know what it is (: Here's an example, taken from man…
jwd
  • 1,282
  • 8
  • 12
6
votes
2 answers

Is it possible to make `xrdb` ignore single quotes on a commented line?

I'm using rxvt-unicode, version 9.22, as a terminal emulator, and configure it with the file ~/.Xresources. When I modify the configuration file, to see the effects immediately I execute the command: xrdb ~/.Xresources From man xrdb: Lines that…
user547381
  • 273
  • 3
  • 9
6
votes
1 answer

Can I use environment variables when #including another Xresources file

In my ~/.Xresources file, I'd like to include another file whose location is dependent on the value of an environment variable. Is this possible? #include "${env_path}/abc/def/Xresources" does not seem to expand ${env_path}.
René Nyffenegger
  • 2,201
  • 2
  • 23
  • 28
4
votes
0 answers

X Logical Font Description and HiDPI

The problem: X-server serves fonts at a fixed resolution of 100dpi, rather than the current window system resolution (xdpyinfo | grep -F resolution). A bit of theory. There are legacy server-side fonts which are sent to X clients over the network…
Bass
  • 229
  • 3
  • 11
4
votes
1 answer

zsh comments nearly invisible on command-line

When typing comments into the command-line in zsh, the commented text appears nearly invisible. I use the st terminal (Luke Smith's fork), which pulls on my .Xresources for setting colors and it seems that comments get set to color0. This is an…
4
votes
2 answers

How to prevent a Qt/GTK app (Calibre) from using colors defined in .Xresources?

I have colors defined in .Xresources. They look lovely on urxvt, and utterly ghastly on Calibre. Calibre does not appear to have any way to disable or override those colors, so is there any way I can invoke Calibre that would ignore my color scheme?
4
votes
1 answer

Xresources / Xdefaults: Period or Asterisk?

I've just switched from xfce4-terminal to rxvt-unicode and I've been reading a lot of .Xresources and .Xdefaults files, piecing things together to create my own. My googling skills have left me with a number of unanswered questions; one of which…
345422
  • 375
  • 4
  • 13
4
votes
1 answer

Is it possible to provide different Xresources colors to different terminal apps?

When using a terminal that supports more than 16 colors (such as urxvt), it it possible to provide different colors to different applications running in the same terminal after another? For example, my vim theme looks best when background and color0…
danijar
  • 1,433
  • 2
  • 14
  • 22
4
votes
4 answers

Xterm with Solarized only showing dark background without font colors

I am trying to get the Solarized color scheme for xterm, but have not had much success with it. I am running Debian 6 and downloaded the Xresources to ~/.Xresources. After loading the new settings with xrdb -load ~/.Xresources, I get a XTerm with…
Shoan
  • 151
  • 1
  • 1
  • 5
1
2 3 4 5