Questions tagged [x-resources]
The x-resources tag has no usage guidance.
58
questions
3
votes
0
answers
26
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++ ...
1
vote
1
answer
21
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 ...
2
votes
1
answer
247
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, ...
0
votes
2
answers
146
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&...
4
votes
0
answers
116
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 ...
0
votes
2
answers
2k
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?
2
votes
1
answer
2k
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:...
2
votes
2
answers
357
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
...
0
votes
0
answers
89
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 ...
0
votes
0
answers
177
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 "...
-1
votes
1
answer
547
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:
!------------------------------------------------...
4
votes
1
answer
217
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 ...
0
votes
1
answer
526
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 ....
1
vote
1
answer
65
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*...
1
vote
0
answers
42
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 ...
1
vote
0
answers
247
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 ...
3
votes
2
answers
2k
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/...
1
vote
1
answer
860
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
...
0
votes
1
answer
337
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 ...
1
vote
3
answers
3k
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 ...
4
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 ...
6
votes
2
answers
634
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:
...
3
votes
1
answer
531
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:...
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 ~/....
1
vote
1
answer
923
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....
2
votes
2
answers
423
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 ...
4
votes
1
answer
636
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, ...
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 ...
2
votes
0
answers
903
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?
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 ...
1
vote
1
answer
416
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 ...
3
votes
1
answer
4k
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 ...
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 ...
1
vote
1
answer
7k
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/...
1
vote
2
answers
728
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-...
2
votes
1
answer
2k
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 ...
8
votes
2
answers
9k
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 ...
2
votes
2
answers
3k
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 ...
4
votes
1
answer
2k
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 -----...
3
votes
2
answers
807
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.
...
1
vote
1
answer
217
views
Does X11 still have a hardcoded limit for application resource strings?
The xterm(1) manual page states:
Due to a hardcoded limit in the X libraries on the total number of resources (to 400), the resources for 256-colors are omitted when wide-character support and ...
0
votes
1
answer
946
views
X resources for keboard layout in ~/.Xresources
I am looking to define the keyboard layout in the ~/.Xresources file.
I tried many variants such as:
Xkb.layout: blah,blah
Xkb*group: ctrl_shift_toggle
Xkb*option.grp_led: scroll
but without ...
2
votes
1
answer
5k
views
Perl plugins don't work on my rxvt-unicode! [closed]
I wanted to add some features to my urxvt so I changed my .Xresources file. for the global effect of plugins I copied them all to /usr/lib/urxvt/perl. but still no multi tab, clickable link or ...
2
votes
3
answers
2k
views
Load X resources when KDE starts on Linux Mint
I previously was using MATE and XTerm always starts with a black background. I'm not sure why, but when I start XTerm in KDE, I get a white background. This is terrible for me so I want to change this ...
3
votes
1
answer
9k
views
.Xresources font names
Many references describing the manipulation of bitmap font face and size for xterm via the ~/.Xresources config file suggest the use of an entry like XTerm.VT100.font: -*-fixed-*-*-*-100-*-*-*-*-*-*-*....
2
votes
1
answer
581
views
Why do some letters or escape sequences not render correctly in urxvt?
With a special combination of shell (zsh w/ syntax hightlighting), terminal (urxvt) and configuration with Xresources, I noticed a strange issue with font rendering that only seems to occur with some ...
10
votes
2
answers
1k
views
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 ...
0
votes
1
answer
920
views
configure xscreensaver through X resource database
I want to get rid of the xscreensaver config file in my home .xscreensaver. I read in man xscreensaver, that:
Options to xscreensaver are stored in one of two places: in a .xscreensaver file in
...
12
votes
2
answers
24k
views
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 ...
2
votes
2
answers
5k
views
Doubts about creating a .Xresources file.
I want to customize the look and feel of my xterm and have read that the way to do it is creating a .Xresources file and saving there the desired configuration. I've also learned that this file can ...