Support XDG basedir specification

2012-12-05
2013-01-07
  • Paulo Assis
    Paulo Assis
    2013-01-07

    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?