Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: [konsole] How to run a command, then leave the shell open?
Date: Wed, 22 Feb 2012 03:27:43
Message-Id: ji1n8f$eeq$1@dough.gmane.org
In Reply to: Re: [gentoo-user] [konsole] How to run a command, then leave the shell open? by Hilco Wijbenga
1 On 22/02/12 05:08, Hilco Wijbenga wrote:
2 > On 21 February 2012 18:36, Felix Kuperjans<felix@××××××××××××××.com> wrote:
3 >> Hi Hilco,
4 >>
5 >> answers and suggestions inline.
6 >>
7 >> Am 22.02.2012 03:03, schrieb Hilco Wijbenga:
8 >>> Hi all,
9 >>>
10 >>> Every morning I start konsole, type "emerge --sync", and then go do
11 >>> other stuff. Some time later I look at the output and usually run
12 >>> "emerge ... world". I would like to automate that a bit more.
13 >> Just a suggestion: Do you know the porticron script? Combined with a
14 >> proper setup of ssmtp, it will sync you portage tree daily (in the
15 >> background) and send you an email with all updates, and important
16 >> security notes.
17 >
18 > Thanks, no I did not know about this script.
19 >
20 > I checked it out but I prefer to kick the sync off myself (syncing
21 > really slows down the computer).
22
23 It doesn't have to. You can put these in your make.conf:
24
25 PORTAGE_NICENESS=19
26 PORTAGE_IONICE_COMMAND="sh -c \"schedtool -B \${PID}; ionice -c 3 -p
27 \${PID}\""
28
29 Syncing and emerging should be transparent now. You won't even know
30 it's happening :-)