Menu

#94 Non-Win32: Use xdg config dir instead of current dir

Latest SVN
closed-fixed
None
5
2010-01-29
2010-01-22
No

This patch will make Desmume use the user-specific config directory (usually $HOME/.config/desmume) instead of the current directory. Also patches the GTK and GTK-Glade ports to use config.ini in this directory instead of $HOME/.desmume.ini

This patch was made to keep my homedir from getting cluttered with saves and savestates.

Discussion

  • Jan Steffens

    Jan Steffens - 2010-01-22
     
  • Magliocchetti Riccardo

    • assigned_to: nobody --> riccardom
     
  • Magliocchetti Riccardo

    This is something that annoys me too. Still have to take a look the patch but thanks for doing so.

     
  • Magliocchetti Riccardo

    reworked patch, use gtk config stuff for glade too

     
  • Magliocchetti Riccardo

    What about the attached patch? it tries to copy the old config file to the new location (dropped .ini) and convert the glade frontend to the gtk config code. Can you give it a try please?

     
  • Jan Steffens

    Jan Steffens - 2010-01-29

    That works. :)
    Maybe also g_unlink the old config file?

     
  • Magliocchetti Riccardo

    • status: open --> closed-fixed
     
  • Magliocchetti Riccardo

    g_rename instead of silly copying is even better, anyway applied, thank you.

     

Log in to post a comment.