Questions tagged [xrdb]

9 questions
4
votes
0 answers

How to connect to a second monitor without restarting X?

Every time I have to connect to an external monitor, it remains "disconnected" according to xrandr and the second screen remains black. To solve this problem, I always have to close all my GUI apps and the X server, login again and restart…
Benjamin
  • 41
  • 3
2
votes
1 answer

Query specific ~/.Xresources value

I would like to query a single value from ~/.Xresources. xrdb -query gives me the whole configuration, but I would specifically like to echo the value of an individual property (e.g., URxvt.internalBorder or *color14). How can I do this?
gmarmstrong
  • 1,183
  • 1
  • 15
  • 35
1
vote
0 answers

X ignores xrdb merges

Installing snapd on fedora seems to have had a weird effect on the X installation and I need advice on how to debug it. System is Fedora 36 and I have FVWM on X. Until today on login /etc/X11/xinit/xinitrc-common would find my ~/.Xresources file…
1
vote
0 answers

How do I inform Firefox about a change in the X server resource database?

When docking/undocking my laptop, I change Xft.dpi in the X server resource database using xrdb. After that happened, I would like to inform as many applications as possible that they should re-read and apply the changed settings. According to this…
Ente
  • 161
  • 1
  • 5
1
vote
1 answer

URxvt.font ignoring font size

I have tried any and all combinations of the URxvt.font but it just isn't working. This is how my .Xresources file looks like: ! URxvt URxvt.foreground: white URxvt.font: xft:monospace:size=10.5 URxvt.letterSpace: -1 URxvt.depth:…
arielnmz
  • 519
  • 1
  • 6
  • 23
0
votes
1 answer

condition in .xinitrc not satisfied, don't know why

I have a condition in .xinitrc that is not met, and I don't understand why: I have the .Xresources file in my ~ (with read permissions), and my ~/.xinitrc contains a line with [[ -f ~/.Xresources ]] && xrdb -load ~/.Xresources & However the…
ElTitoFranki
  • 133
  • 4
0
votes
1 answer

How to make Gnome reload settings changed by xrdb programmatically

I've got a setup where I'm always logging in to the same account (Centrify managed on the same network), but some of the systems have 24" 1080p (1920x1080) monitor(s) and others have 27" 4K (3840x2160) monitors. The default Gnome scaling factor is…
ShadowRanger
  • 123
  • 6
0
votes
1 answer

How to get background and foreground color values from xrdb in shell script?

As in how can I get the *.foreground color value obtained with xrdb -query assigned to a variable in the script. I'm trying to get both background and foreground colors into two variables that will be passed to another program as parameters.
Renato Oliveira
  • 591
  • 1
  • 5
  • 16
0
votes
1 answer

How to print xrdb/urxvt defaults?

xrdb prints anything that you have configured, but how do you print the values for the settings which you have not touched? Either generally for X resources or specifically for urxvt. The colour scheme, that is, color0 onwards, can be found in an…
l0b0
  • 50,672
  • 41
  • 197
  • 360