When I first installed Lutris I was just starting with Linux, so I went with the .deb since pop shop showed me that first… now I have several games and hundreds of hours of playtime and I’d rather keep everything (both playtime and Wine configurations… prefixes and all) as is but also move to flatpak since updating via flatpak is easier (just update through pop shop).

Besides, I’d love to know how to backup everything in case something goes wrong, since I like keeping track of play time but apparently there’s not an easy way to manually edit it for each game? If there was I’d just make a fresh install and then edit it myself

Any suggestions?

Thanks!

  • Fisch@lemmy.ml
    link
    fedilink
    arrow-up
    10
    ·
    5 months ago

    Look for Lutris’ files in .local/share and .config in your home folder. I don’t know where exactly they are but Lutris should have its own folder in one of those 2 directories. Then install Lutris as a flatpak and open it once (so it creates it’s new directory). Open the terminal and do flatpak list to get Lutris’ ID (e.g. com.example.app) and go into .var/app/[app ID]. You should find the same folder structure as in Lutris’ current files (the ones you found at the beginning) somewhere in either config or data. Now just copy them to this new location.

    Btw these steps work for almost all apps, I’ve done it for multiple myself. Not Lutris specifically tho.

    • さようなら@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      6
      ·
      edit-2
      5 months ago

      OK, this mostly worked. I had to point the new Lutris install to the games’ directories and playtime didn’t carry over, but the Flatpak version allows you to input it manually, so no issues here. Also lost GOG login token and some other configs but nothing too bad. Thanks again for the help!

      Actually, now that I uninstalled the .deb, I have no Lutris icon in the app list. How to fix it? Edit: nvm reboot fixed it