0

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 ~/.Xresources

But when I run xrdb ~/.Xresources from the terminal, the colors change to values configured in .Xresources

closed as off-topic by jasonwryan, G-Man, Anthon, Satō Katsura, GAD3R May 6 '17 at 9:35

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – jasonwryan, G-Man, Anthon, Satō Katsura, GAD3R
If this question can be reworded to fit the rules in the help center, please edit the question.

1

In your .xinitrc you need to execute xrdb first and then launch i3. E.g:

#!/bin/sh

xrdb -merge ~/.Xresources
exec i3
  • startx wont' work with such configuration (i3 is not launching) – kswr May 5 '17 at 19:23
  • Is it working with new example from my answer? – anlar May 5 '17 at 20:09
  • It should be xrdb -merge ~/.Xresources – Gayan Weerakutti May 7 '17 at 6:36

Not the answer you're looking for? Browse other questions tagged or ask your own question.