From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 27132158083 for ; Sun, 1 Sep 2024 19:08:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C96F2BC025; Sun, 1 Sep 2024 19:08:19 +0000 (UTC) Received: from smtp.hosts.co.uk (smtp.hosts.co.uk [85.233.160.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CA0B42BC013 for ; Sun, 1 Sep 2024 19:08:18 +0000 (UTC) Received: from host81-136-75-24.range81-136.btcentralplus.com ([81.136.75.24] helo=[192.168.1.99]) by smtp.hosts.co.uk with esmtpa (Exim) (envelope-from ) id 1skpvt-000000000TC-8oRf for gentoo-user@lists.gentoo.org; Sun, 01 Sep 2024 20:08:17 +0100 Message-ID: <3359f138-9e6e-411c-9c25-f09e2209bec0@youngman.org.uk> Date: Sun, 1 Sep 2024 20:08:16 +0100 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [gentoo-user] Firefox, Seamonkey to if I can, and memory limits. To: gentoo-user@lists.gentoo.org References: <6442a869-f24c-5fc7-ef03-34b01bd85dcb@gmail.com> <9330460.CDJkKcVGEf@rogueboard> <428b05d4-0828-45f2-add6-48123ba9073e@youngman.org.uk> Content-Language: en-GB From: Wols Lists In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Archives-Salt: 1b61b02e-3a6e-42e7-8e40-c843dc1fd7de X-Archives-Hash: 4a6239d2efed2163c35731252a72eb07 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