Coming soon - Get a detailed view of why an account is flagged as spam!
view details
18
Xterm not loading .Xresources (solved, hope this helps others, not strictly an i3 problem)
Post Body

I just spent way too long trying to get alt Enter to launch a terminal with my ~/.Xresources. When I finally tracked it down I realized that this isn't strictly an i3 issue, but if you're hitting this hopefully this will help you troubleshoot.

First, i3 comes default with a wrapper script for launching the terminal called i3-sensible-terminal which depending on what OS you are using makes tries terminal emulators in order until it finds one that works. https://build.i3wm.org/docs/i3-sensible-terminal.html

This, in itself, is fine. I knew that Debian used xterm and I went about setting some configuration in ~/.Xresources. Nothing happening. I ensured I had run xrdb -m ~/.Xresources... nothing. I checked that my settings were loaded xrdb -q Xterm. Yep, there they were....

In short, Debian also has a terminal wrapper that by default sets a new class with which to configure .Xresources.

-class UXTerm

Long story short, if you're reading this and it seems like your .Xresources never get loaded run a ps faux | grep term and see if you are using the right class.

Author
Account Strength
100%
Account Age
13 years
Verified Email
Yes
Verified Flair
No
Total Karma
85,339
Link Karma
13,185
Comment Karma
72,109
Profile updated: 2 days ago
Posts updated: 10 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
6 years ago