Skip to main content

Questions tagged [x-resources]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
34 views

With urxvt: unable to prevent title in title bar from being overwritten

I'm using urxvt version 9.22 under Ubuntu 20.04.1. Even though I use -title MYTITLE on the urxvt command line, and even though I set the following Xresource ... URxvt.insecure: false ... the title in ...
HippoMan's user avatar
  • 657
0 votes
0 answers
16 views

.Xdefaults: How to Target Firefox Only

Trying to modify the .Xdefaults maximumMaximumSize and limitResize properties only for Firefox applications. Is there a way to target Firefox applications when writing to Xdefaults while not affecting ...
Jpg's user avatar
  • 1
1 vote
0 answers
19 views

XQuartz xterm UTF-8 resource name

I was using UTF-8 resources names like these ones: wengé*Background: #321 wengé*Foreground: #ffb and this was working with XQuartz 2.8.1 through this direct call like from within the ...
dan's user avatar
  • 933
1 vote
0 answers
54 views

libXaw can't find Bitmaps from /usr/include/X11/bitmaps

When launching Xaw applications, some of them report Warning: Cannot convert string "<somename>" to type Pixmap One such name is xlogo11; these names are bitmap files, found in /usr/...
pluto-null's user avatar
1 vote
0 answers
26 views

Changing Firefox icon in MWM/CDE

I am trying to change the icon for Firefox using X resources and CDE. I am not sure if it is possible anymore. I have tried this: Dtwm*firefox*iconImage: Dtterm and this: Dtwm*mozilla*iconImage: ...
M.E.'s user avatar
  • 609
0 votes
1 answer
104 views

is it possible to have application-specific xterm settings?

I know how to write an .Xresources file to modify the appearance of xterm. However, I wonder if it is possible to have application specific .Xresources, such that I can use the light solarized theme ...
user3236841's user avatar
0 votes
0 answers
132 views

Ricing Xclock Colors

I have edited the ~/.Xresources file for the forground and backgorund of Xclock: xclock*foreground: #ebdbb2 xclock*background: #282828 Only the background shows up. The forground remains the default ...
Xclock Ricer's user avatar
0 votes
1 answer
583 views

How am I supposed to configure xterm?

I am trying to configure XTerm terminal and in the Wiki, it says it is done via X resources. I installed xorg-xrdb package then created a ~/.Xresources file and edited and added these lines: XTerm....
SweetScore's user avatar
0 votes
0 answers
161 views

Can't get URxvt to work with the font "Inter". Using it causes spaces in-between letters

I cannot get the popular Google font "Inter" to work with URxvt. When I set the font, xrdb -merge .Xresources and open a new terminal, it has spaces between the letters l i k e t h i s. ...
user898458's user avatar
2 votes
1 answer
2k views

Where to place .Xresources on modern systems?

According to some old documentation about mwm, many settings for this window manager must be placed in an .Xresources folder in the $HOME directory. When I normally boot up my computer (Debian 11), ...
Village's user avatar
  • 3,717
3 votes
0 answers
89 views

Scaling of icons does not work for gtkmm applications

I have a 4K display, and the correct scaling would be 3x. I have put Xft.dpi: 300 in .Xresources and GDK_SCALE=3 GDK_DPI_SCALE=-1 in /etc/environment. This can scale most applications, but the C++ ...
Rehpotsirhc's user avatar
2 votes
1 answer
171 views

In .XResources with the VT100 translations resource, what is the difference between <Key> and <KeyPress>

I'm trying to do the classic endeavor of binding key sequences to do copy and paste. In this case, it is xterm and I have my keyboard such that (I believe) I want Super-C to copy and Super-V to paste ...
pedz's user avatar
  • 173
3 votes
1 answer
2k views

Scaling default xterm font to "Large"

In xterm, I would like to increase the default font size to the font5/Font5/"Large" option of the default VTFont. I've managed to do this manually with my mouse via the control menu so far, ...
TeXomat's user avatar
  • 33
1 vote
2 answers
823 views

VT100.Translation key binding in UXTerm

Is it possible to bind CtrlShiftc and CtrlShiftv for copy and pasting to and from clipboard in UXterm in a similar fashion to XTerm, a la xterm*VT100.Translations: #override \ Shift <KeyPress&...
seamux's user avatar
  • 148
5 votes
0 answers
241 views

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 ...
Bass's user avatar
  • 269
0 votes
2 answers
4k views

How to set XTerm unicode Font?

Can I have an additional font in my .Xresources so that if the default one doesn't have some unicode characters, the additional one can display them?
Akshat Vats's user avatar
2 votes
1 answer
3k views

Can't change font at all using .Xresources

So I want to change the URxvt font which currently seems to be the X.Org Misc Fixed. I have tried adding the following to .Xresources: URxvt.font: xft:Fira Code:style=Retina:size=13, URxvt.font: xft:...
Akshat Vats's user avatar
2 votes
2 answers
840 views

make resource apply to both classes XTerm and UXTerm

In order to apply the same resource to both xterm and uxterm, currently my configuration file has to have separate, duplicate entries: XTerm*scrollBar: true UXTerm*scrollBar: true ...
Targeloid's user avatar
  • 229
1 vote
0 answers
246 views

xterm translations ignoring "Shift" specifier

I'd like to change the key mappings for XTerm so that CTRL-SHIFT-C is copying from the clipboard, but CTRL-C is still SIGINT, as is the default. Basically, I want to do the same thing as this ...
sasquires's user avatar
  • 121
0 votes
0 answers
398 views

set xterm.vt100.faceSize from commandline

I am searching for this solution for quite a bit. I do not have access to ~/.Xresources; probably it's disabled by the administrator. Hence I need to set the facesize from the terminal. xterm -xrm "...
tt_pre's user avatar
  • 1
-1 votes
1 answer
911 views

Spaces in tiling mode with urxvt in awesomewm

I use the terminal urxvt or rxvt-unicode, which feeds on .Xresources. This runs on an archlinux with awesomewm. I have the following .Xresources code: !------------------------------------------------...
Fco Javier Balón's user avatar
5 votes
1 answer
437 views

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 ...
Sean Engelhart's user avatar
1 vote
1 answer
1k views

How to configure different font sizes for named urxvt windows?

I have two urxvt terminal windows, and I want each of them to be configured in slightly different way. I've set a different name for the windows via the -name flag. I added the following to the ....
Mikhail Morfikov's user avatar
0 votes
1 answer
72 views

Trouble passing Translations resource to -xrm because of newlines

It is possible to pass resources to X applications in command-line by appending them with -xrm parameters. So, if I want Xmessage background to be grey, I can issue xmessage Hi -xrm "xmessage*...
Quasímodo's user avatar
1 vote
0 answers
89 views

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 ...
Ente's user avatar
  • 161
1 vote
0 answers
441 views

Xresources not loaded after login

I've recently switch to Debian 10, and found problem with .Xresouces file. After login there is always some default configuration, and I can't find reason why my .Xresouces file isn't loaded. I ...
darvark's user avatar
  • 285
3 votes
2 answers
3k views

XTerm*faceName in .Xresources are not reflected

I've tried customizing zsh's prompt with change the font but during it, xterm become not to reflect the XTerm*faceName in~/.Xresources. Here is my dot files: ~/.xinitrc #!/bin/sh # /etc/X11/...
Szkieletor's user avatar
1 vote
1 answer
1k views

URxvt.font ignoring font size [closed]

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 ...
arielnmz's user avatar
  • 529
0 votes
1 answer
494 views

Configuring xterm without access to xrdb on Red Hat 6.10

To give some context, I try to configure an environment in which I just arrived. The targeted development environment is confined on a remote Red Hat 6.10 system, only accessible through putty on a ...
psychoslave's user avatar
1 vote
3 answers
4k views

Unable to change URxvt's color

I added this line in .Xresources: urxvt.background: #0f0f0f And ran xrdb -merge .Xresources. However, for some reason, the terminal is set to the color when it is launched, but as soon as the $PS1 ...
ENBYSS's user avatar
  • 163
5 votes
1 answer
2k views

Xresources / Xdefaults: Period or Asterisk? [duplicate]

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 ...
345422's user avatar
  • 385
6 votes
2 answers
827 views

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: ...
user547381's user avatar
3 votes
1 answer
672 views

.Xresources key naming and wildcard matching

XTerm.vt100.faceName or xterm.vt100.faceName Setting XTerm.vt100.faceName key in .Xresources does not have any effect, $ xrdb -q *customization: -color XTerm.vt100.faceName: Inconsolata:size=14:...
Gayan Weerakutti's user avatar
0 votes
1 answer
7k views

.xinitrc not loading .Xresources [closed]

I'm using fresh install of Arch with i3; after logging into I type in startx and i3 is starting with default settings, despite the configuration of my .xinitrc: #!/bin/sh exec i3 exec xrdb ~/....
kswr's user avatar
  • 19
1 vote
1 answer
1k views

Unknown encoding: POSIX

I'm trying to run xrdb ~/.Xresources but I'm getting the following error: ~/dotfiles/.Xresources:0: warning: Unknown encoding: POSIX Any suggestions? Xft.hinting: true Xft.hintstyle: hintfull Xft....
Zac Yauney's user avatar
3 votes
2 answers
550 views

Why does urxvt appear different when run through x-terminal-emulator?

When urxvt is launched directly a nice looking font is used: But when it is launched by x-terminal-emulator an ugly cramped font is used: But x-terminal-emulator is just a symlink which eventually ...
dshepherd's user avatar
  • 300
4 votes
1 answer
930 views

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, ...
danijar's user avatar
  • 1,473
6 votes
1 answer
4k views

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 ...
René Nyffenegger's user avatar
2 votes
0 answers
1k views

Unicode RXVT and Xresources Settings

In Fedora 24, the Xresources file was automatically loaded. However in Fedora 25 I have to manually execute xrdb -merge ~/.Xresources. Does anyone know how to have the system auto-load Xresources?
Ari's user avatar
  • 121
4 votes
1 answer
2k views

Start xterm instance with different configurations

It's there a way to start instances of xterm using different configuration files. Ex: xterm -load .Xresources-1, xterm -load .Xresources-1 Using xrdb -load ~/.Xdefaults changes the configs globaly ...
Mihai's user avatar
  • 203
1 vote
1 answer
520 views

How can I find the default (font) resource a VT *instance* is using?

Setting up the virtual terminal appearance on a box with Arch and urxvt, I find myself unable to display which X resources are in use in a particular VT instance. Take that workflow: Open an urxvt ...
tuk0z's user avatar
  • 549
4 votes
1 answer
5k views

Does the Xresources configuration file affect Wayland?

I'm trying to get more Ubuntu-like font-rendering on Fedora 24 with Wayland and I did add Xft.lcdfilter: lcddefault to /etc/X11/Xresources but I don't see much difference. Is there a different way to ...
hermancain's user avatar
  • 1,289
2 votes
2 answers
2k views

Apply changes from .Xdefaults to running rxvt terminals

Is there a way to apply (for example the font(size)) changes to .Xdefaults to all running terminals in a session? I can apply it to new terminals via loading xrdb -load .Xdefaults, but this doesn't ...
student's user avatar
  • 18.5k
1 vote
1 answer
8k views

urxvt powerline symbols

I use urxvt. So i was playing with oh-my-zsh themes and found out that some of them have "The PowerLine Symbols". (if you do not know what it is - take a look. https://gist.githubusercontent.com/...
Scott Tiger's user avatar
1 vote
2 answers
1k views

Specifying X resources for XTerm

Where and how have to be put resources for an X-application (xterm, for instance) in the quoted os ? I tried almost all the tricks I knew: 1) search for a system-wide XTerm file in a directory app-...
GSi's user avatar
  • 131
2 votes
1 answer
3k views

Loading X resources from .Xresources and .Xdefaults for Emacs

Emacs, as far as I remember, must load the .Xresources file on startup and read the font rendering settings from there. But mine does this only if I run xrdb merge first and then start emacs. I think ...
catemperor's user avatar
  • 1,029
8 votes
2 answers
11k views

"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 ...
Serge Poele's user avatar
2 votes
2 answers
4k views

How to get Xresources background color

I tried with xrdb -query -all. But it does not give the Xterm default background color code. My background color is cornflower blue. But I could not see that in list. Can any one let me know how to ...
user2815465's user avatar
4 votes
1 answer
3k views

Customizing XScreenSaver login

I've been following the instructions on Arch Wiki for theming the XScreenSaver's login window. I created a ~/.Xresources file, pasted this code taken (and modified) from the wiki: ! xscreensaver -----...
Juicy's user avatar
  • 3,955
3 votes
2 answers
932 views

How do I remove a particular default xterm X11 translation?

I'm using xterm which comes with a set of default translations as enumerated in the man page. To #augment or #override the translations I edit my $XAPPLRESDIR/XTerm file; this works as expected. ...
Jens's user avatar
  • 1,787