ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > RocketCake
forum topic indicator [Suggestion] [Linux] Preview Folder Location & Cleanup
person icon
adler
Registered User
Quote
2026-04-23 19:32:42

Currently, when previewing a website, RocketCake creates a folder in the home directory ("/home/user/rocketCakeTmpPreview"). But this clutters the user’s home folder.

So It would be better to store preview files in a more appropriate location, such as:

/home/user/.rocketcake/tmpPreview, or
/home/user/.cache/rocketcakePreview (temporary/cache data following XDG standards)

Additionally, it would be helpful to include an option that automatically deletes the preview folder when RocketCake is closed.

Or an simpler approach would be to place the preview folder in "/tmp/", so "/tmp/rocketcakePreview", which is designed for temporary files and is typically cleared automatically on system reboot.

person icon
niko
Moderator
Quote
2026-04-24 07:28:03

Yes - I wanted do do this but the problem is that most users now have their browser (like Firefox) installed via flatpak - and it cannot access these folders for the preview. This was the workaround for now.

person icon
micaelo
Registered User
Quote
2026-04-24 10:06:57

it would be helpful to include an option that automatically deletes the preview folder when RocketCake is closed

I don’t think an auto-clean function would be a good idea, at least not if the sole aim is to avoid clutter. If I look into my /AppData/Local/Temp/ folder (Windows) I find it's cluttered anyway. Also, on "Preview" RocketCake overwrites existing files with same file names. So it doesn't add much clutter.
But there is another reason why I wouldn't like an auto-clean: If a website uses self-hosted fonts, I like to put the /fonts/ folder into the preview folder, so to view the website with the preferred font face already in Preview. If there was an auto-clean on RocketCake closure, the fonts would be lost and I had to put them back again when I resume working on the website.
If at all, I would vote for a "Clear Preview Folder" menu item.

person icon
adler
Registered User
Quote
2026-04-26 02:59:07

niko wrote:
Yes - I wanted do do this but the problem is that most users now have their browser (like Firefox) installed via flatpak - and it cannot access these folders for the preview. This was the workaround for now.


Yeah, That makes sense, but:

No, most users do not have their browser installed via Flatpak, especially since Firefox (typically) comes preinstalled (as a system package, or on Ubuntu, as snap (snap is also sandboxed, so maybe similiar issues occur)).

If Flatpak applications have access to "/home/user/", then they can also access its subdirectories, such as "/home/user/.cache".

But the best solution would probably be to simply add an option that allows users to choose the location of the preview folder themselves.

person icon
niko
Moderator
Quote
2026-04-26 18:30:07

That' true. I'll add a feature like a menu "Clear Preview Folder" to the TODO list.


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |