Support XDG basedir specification

  • Paulo Assis
    Paulo Assis

    The only user specific config produced by guvcview is ~/.guvcviewrc (or ~/.guvcviewrc-videoN... for other video devices besides the default video0).

    So according to XDG Base directory specification these should go into something like ~/.config/guvcview/videoN ?

    This change should be really easy to implement, but what about old configs? should guvcview still check for them (at least for the next couple of versions)? Or do we just drop support for the old config files altogether?