From: Wols Lists <antlists@youngman.org.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Firefox, Seamonkey to if I can, and memory limits.
Date: Sun, 1 Sep 2024 20:08:16 +0100 [thread overview]
Message-ID: <3359f138-9e6e-411c-9c25-f09e2209bec0@youngman.org.uk> (raw)
In-Reply-To: <f4b96a32-fa64-107d-474a-f3699933d6b7@gmail.com>
On 01/09/2024 15:24, Dale wrote:
> From that link, it looks like that is done manually. In other words,
> when I start Firefox, I have to add the process to the cgroup by hand.
> Shouldn't there be a way to do it automatically? Like add it to the
> command that runs the program name in the application menu?
That was that bit about cgexec! I start a whole bunch of programs from
the terminal, including iirc thunderbird and firefox.
Or I start them by clicking on an icon which fires them up for me.
So just read up on cgexec (including where to find it - I've just tried
and it's not on my system), then edit the .desktop behind your icon to
start firefox *from* cgexec.
Then you (presuming you don't start it by typing firefox at the command
line) will just start as normal, the only change being the icon starts
cgexec and uses that to start firefox rather than starting firefox directly.
Cheers,
Wol
next prev parent reply other threads:[~2024-09-01 19:08 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-23 18:38 [gentoo-user] Firefox, Seamonkey to if I can, and memory limits Dale
2024-08-23 21:22 ` Wol
2024-08-23 23:03 ` Matt Jolly
2024-08-24 0:42 ` Dale
2024-08-24 4:25 ` Matt Jolly
2024-08-24 8:30 ` Walter Dnes
2024-08-25 15:20 ` Dale
2024-08-31 17:32 ` Michael
2024-08-31 18:39 ` Dale
2024-09-01 9:35 ` Wols Lists
2024-09-01 14:24 ` Dale
2024-09-01 19:08 ` Wols Lists [this message]
2024-09-01 19:36 ` Dale
2024-09-01 20:45 ` Wol
2024-09-01 21:36 ` Dale
2024-09-02 6:49 ` Wols Lists
2024-08-24 9:15 ` Wol
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3359f138-9e6e-411c-9c25-f09e2209bec0@youngman.org.uk \
--to=antlists@youngman.org.uk \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox