Back to the main site

Why it's not possible to remove games completely anymore?

Maybe I’m not supposed to ask this type of questions here, but I’m completely new to this forum thing. Hopefully, I’m not doing something wrong. I just wonder why it’s not possible to remove the game from Lutris anymore (with the last update, I guess)? I noticed that now you can only hide it.

1 Like

If you select a game then click on the arrow next to the play button there should be a popup menu with a ‘Remove’ option, yes? I think that should do it.

Yes, but it still remains in the library, except if I hide it. It’s not a big deal, but I don’t get it why there’s not option to remove it completely, like it was before. Last update changed it, if I’m not mistaken.

1 Like

Well I suppose effectively it’s the same thing as far as what you can see in Lutris. You can still uninstall the game and hide it from your library but just by using buttons with different labels than before. But I suppose what you want to do is completely remove the game from your library as if to say you don’t even own it anymore. The only way I can think of to do that is to login to the Lutris website, go to the game page and press the button that says ‘In my library’ to remove it.

In 5.8, the tick options to remove all files and remove from library have gone.

Recently did another playthrough of Phoenix Point, and I now have two ghost icons where I’ve uninstalled it. Looking at pga.db with sqlite3, can see two entries.
I shut Lutris, opened the pga.db with sqlite3, and ran
DELETE from games where name like ‘Phoenix Point’;
Which removed them.
(Note: Not 100% they are not elsewhere, but .dumped all the tables and I couldn’t find anything)

Also, I have only 3 things registered to my online Lutris account, and I have installed a bunch of stuff since, none of which show up online. Maybe the sync to the account DB wasn’t working for a while?

Same problem, it’s really boring.

The only way I can think of to do that is to login to the Lutris website, go to the game page and press the button that says ‘In my library’ to remove it.

It remains impossible to delete if we manually create a prefix that does not have a page on lutris.net

And this is really weird, there is no .yml in ~/.config/lutris/games related to the removed prefix.

5.8 … removing the game, whether manual prefix added, or downloaded from Lutris.net, deletes the yml, but leaves the ghost entry in the library. As I said, the ghost entry can be removed by deleting it from pga.db.

However, for stuff we built ourselves in a prefix, then added to Lutris, if we delete it, Lutris wipes the directory (the only option) but has no idea how to reinstall, so it’s gone for good cough backups.

To replicate the old behaviour, you’d need to delete your custom .yml, and then manually wipe it from the DB.

Thanks for all responses. I’m not an advanced user, so I’ll just leave it be, but I think it would be good to give people the option. So far the only flaw I’ve experienced with Lutris. Awesome program, no question. Thank’s guys once again.

Thanks for the tip! I had several failed install/run attempts haunting in my library, and the only way to remove them was to hack the pga.db database, as you said.
Easy enough to do, but it really sucks that I need to do it that way. Hopefully they fix it in future versions.

Having the same issue. It’s a big hassle for people writing installers, I’m literally plagued with like 60 ghost games.