Thu 16 Feb 2017

Dotfiles

There are linux config files, usually starting with .

  • .profile: set environment variabiles and so on when you log in. Doesn't appear to be loaded by default, so I deliberately source it
  • .xprofile: equivalent of .profile for X
  • .XSessionrc: loaded when you log in to X
  • .XResources: also loaded when you log in to X
    • Use xrdb to force load changes
    • Sets a resources string on the main X window
    • Works with X forwarding
  • .XDefaults: obsolete version of .XResources which programs can query every time they are launched.
  • .XModmap: keys
  • .xshrc: loaded when you launch zsh