Sublime Forum

Printing and Temp HTML Files

#1

Using ST4 on Arch Linux with CUPS.

Printing works fine, and I understand the reasoning for the method; generate HTML to send to preserve coloring and other formatting when you print. Makes sense, works fine.

My question is; why does ST4 send the temp HTML files to the Downloads folder of my browser, Librefox? Can I change a setting to point it at a temp directory or something? It’s a pain to clean those out every time I want to print, and this is the only app doing it.

0 Likes

#2

ST uses the downloads folder on Linux because if you’re using some kind of sandbox (flatpak or snap) then any temporary folders are not shared between apps. So if either your browser or ST is using flatpak or snap - the default some popular distros - then printing would not work.

2 Likes