Le Mon, 02 May 2022 13:26:35 +0200,
Hukadan <me@hukadan.org> a écrit :
> Le 2022-05-02 13:14, Solène Rapenne a écrit :
> > Le Mon, 2 May 2022 14:08:23 +0300,
> > Mihai Popescu <mihscu@gmail.com> a écrit :
> >
> >> For gnome readme, there is this sequence:
> >>
> >> # cat <<'EOF' >>/etc/login.conf
> >>
> >> gnome:\
> >> :datasize-cur=1024M:\
> >> :tc=default:
> >>
> >> EOF
> >>
> >> It is a verbatim copy of what is displayed on the screen, Still I was
> >> not able to figure out what key to press or how to type to accomplish
> >> this :). I gave up and edited the file directly.
> >>
> >> Thanks.
> >>
> >
> > just for posterity the following text is a shell code
> >
> > cat <<'EOF' >>/etc/login.conf
> >
> > gnome:\
> > :datasize-cur=1024M:\
> > :tc=default:
> >
> > EOF
> >
> >
> > this tells cat to take input until it sees EOF and add the text to
> > /etc/login.conf file. Then we feed it the text we want to append, and
> > we tell it we finished by typing EOF. This is a command to type from a
> > shell.
> >
> > However, if it's not clear, maybe we should reword that part to tell
> > "add theses lines to /etc/login.conf" or something like that.
> Hi,
>
> Isn't it a case where it should go in /etc/login.conf.d/gnome now?
>
> I am genuinely asking, not proposing a change.
>
> Thanks.
I don't think so because this is for your user and not for some user
installed by the package. Here is the beginning of that section.
The default limits set in login.conf(5) are not high enough to properly run
GNOME. The default "datasize" must be bumped. There are several ways to do this:
- bump the "default" class "datasize-cur" to 1024M (*not* recommended)
- add users to the "staff" class (*not* recommended)
- create a "gnome" login class and add users to it (recommended, see below)
No comments:
Post a Comment