Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

So, this is a really embarrassing question: is there a reliable guide for how to use these? I've been googling, (and DDGing and Ecosia-ing), but everything seems to be out of date. I don't have, for instance, a .Xresources file. At least not one that 'locate' can find.

Or do these commands go in .bashrc? or .vimrc? Thanks.



You just create a ~/.Xresources file and when you log into X11, the session should source that file.

You can also force-load it (into your current X11 session) with:

  xrdb -merge ~/.Xresources
or

  xrdb -load ~/.Xresources
It's also possible to put it in the ~/.Xdefaults file, though I'm not sure what the difference is.


.Xdefaults do the same thing, but it looks this file is deprecated. I may recomend the Arch Linux Wiki: https://wiki.archlinux.org/index.php/X_resources .


Thank you both.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: