Skip to content

22 comments

Try starting ff with the -silent switch. I think that should load it without starting the GUI and keep it running when you close the window. Check the mozillazine article for details tho.

10 points

Profile Sync Daemon might be what you are looking for. It is in the AUR.

https://github.com/graysky2/profile-sync-daemon

https://aur.archlinux.org/packages/profile-sync-daemon/

8 points

I recommend this solution.

1 points

It's a stupid solution.

  1. It isn't keeping Firefox in memory, its keeping the profile (so not what OP asked).
  2. Firefox can already be configured to not use a disk cache and keep the entire cache in ram if you tell it so.

So you aren't gaining anything over straight up configuring Firefox and risking your profiles integrity instead.

Its redundant. Its addressing a "problem" in the wrong place. Not to mention the kernel has a disk caching and dirty writeback mechanisms for a reason.

http://archlinux.2023198.n4.nabble.com/TU-application-from-graysky-tp4685175p4685193.html

I have strong feelings against even the concept of profile-sync-daemon, and transitively (although moreso), anything-sync-daemon.

  1. You, as a user, cannot possibly manage memory more effectively than the kernel. Do not intentionally thwart the page cache.
  1. To claim that you're saving your precious SSD "unnecessary writes" is advanced silliness. Recent controllers don't have nearly the same problems early SSDs had.
  1. The only conceivable "benefit" is to move the startup time to bootup, rather than to when you first run the program.
  1. Shell is inherently dangerous. If you're bent on writing something dangerous, you'd better know all the pitfalls of shell and what will eventually go wrong in your script. To wit, reading the bbs threads about these daemons will show at least 1 user who has suffered data loss simply by upgrading the profile-sync-daemon package
5 points
  1. Minimize it
  2. Put it on a different workspace
  3. Get Android, Windows 8 or some shit that doesn't let you close apps easily.
7 points

Windows 8 allows the closing of apps about as easily as any other operating system. The method is a bit different on the Metro apps, but about as equally as easy. Though they brought some of the desktop methods in Windows 8.1 Update to the Metro apps, so that's pretty nice.

And it's been awhile since I used Androids method, but I believe it depended on what launcher you were using. On mine there was a way to bring up a scrolling "list" of apps with a screenshot of the last use and you just pulled up.

To more directly answer the question of the OP, I don't know of a way, but generally speaking it's better to allow the kernel to figure out what to cache in RAM and what to not cache. If you're really not using it, and you're not satisfied with minimizing, you might have to deal with it taking a little bit to go to disk.

5 points

easily

I've got 8.1 on my laptop in dual boot for gaming and yes, thankfully alt+f4 is there. No close button for the average joe though, might as well use my tiling window manager since difficulty is the same.

And yes, Android can provide you easier ways depending on your phone. But for example, on my Galaxy S3 i9300, with the default TouchWiz in Android ICS even pulling the list of apps and wiping them there wasn't enough. Only on CyanogenMod KitKat with Trebuchet launcher can I now do it properly.

-1 points

Push it to a different workspace or minimize it. Or are you wanting it to act like Chrome, where it keeps tasks running in the background when you close hte main window?

6 points

So you want to put Firefox in the memory?

mount -t ramfs ram directory

chown <usrrname>:users directory

cp -r /usr/lib/firefox directory

4 points
unknown author

Deleted before we saved it.

1 points

Perhaps you can make a ramdisk (tmpfs?), put the firefox binary and files there, and link them back in /usr/bin? This should speed up loading I guess.

2 points
unknown author

Did you mean the option you can choose to load tabs from last browsing session? Or did you mean keep and load things into ram for faster browsing/use, if so there's some helpful apps like zram and preload.

1 points
unknown author

Deleted before we saved it.

-2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.