There is no way for me to view pdf files inside obsidian in ubuntu

I can’t view pdf files inside obsidian in ubuntu (using 24.04). I already tried the solutions given to other users, like reinstalling, downloading different viewers, removing wslu from the terminal. Nothing worked. It just stays without preview and if I press “open in default application” it also throws an invalid parameter error. Anyway, I would like to know if there is a solution to this because I saw that many linux users have had this problem and few have been able to solve it.

I am on KUbuntu 24.04 and PDF files show up for me no problem. Not sure what the difference might be, but it might be something Gnome specific?

Sorry I can’t be of more help.