A change that Valve missed in the big recent upgrade of the Steam client, is that on Linux systems either desktop or Steam Deck, removing non-Steam apps should now be cleaner.
In order to run windows games in Linux, the Proton compatibility layer creates a faux windows directory in a folder called “compatdata” in which the game files can refer to each other and the save files. Separately, it also creates shader caches in another folder that are used to help prevent stutters by precalculating assets. This is the same for steam and non-steam games. When steam games are uninstalled, those folders and files were deleted as well. Until this update, they were not automatically deleted for non-steam games, you had to go and do it manually to free up that harddrive space.
In order to run windows games in Linux, the Proton compatibility layer creates a faux windows directory in a folder called “compatdata” in which the game files can refer to each other and the save files. Separately, it also creates shader caches in another folder that are used to help prevent stutters by precalculating assets. This is the same for steam and non-steam games. When steam games are uninstalled, those folders and files were deleted as well. Until this update, they were not automatically deleted for non-steam games, you had to go and do it manually to free up that harddrive space.