I have an Ubuntu 22.04.5 LTS and I'm trying to save a pdf file on okular. Problem is that it shows the error "Could not open the temporary file for saving" whenever I try to save it.
This happened after I did
sudo systemctl restart NetworkManager
I'm new to linux and hence don't know much about the terminal stuff so I just google my problems and copy paste the code in terminal.
This was a problem I couldn't find a solution to online hence I come here.
EDIT : I also tried to open another file in the default pdf viewer and tried to save. This time it said:
Failed to create a directory'/tmp/evince-70133':Read-only file system
df -hand add the output to your question. Use the{}button to mark it as code.