Re: [gentoo-user] Setting default user environments in /etc/profile.d/

2012-05-01 Thread Stroller
On 2 May 2012, at 03:26, Pandu Poluan wrote: >> Actually, if you look at the contents of my essential_defaults file, I'm not >> so interested in the pager as the MANPAGER setting. I find that after using >> `most` as my man-pager, it's quite horrible using `less` on a new system. >> For anythi

Re: [gentoo-user] Setting default user environments in /etc/profile.d/

2012-05-01 Thread Stroller
On 1 May 2012, at 23:52, Walter Dnes wrote: > On Tue, May 01, 2012 at 07:11:37PM +0100, Stroller wrote >> So /etc/profile contains the following message: >> >> # You should override these in your ~/.bashrc (or equivalent) for per-user >> # settings. For system defaults, you can add a new file i

Re: [gentoo-user] Setting default user environments in /etc/profile.d/

2012-05-01 Thread Pandu Poluan
On May 2, 2012 2:48 AM, "Stroller" wrote: > > > On 1 May 2012, at 19:27, Michael Orlitzky wrote: > > > On 05/01/2012 02:11 PM, Stroller wrote: > >> So /etc/profile contains the following message: > >> > >> # You should override these in your ~/.bashrc (or equivalent) for per-user > >> # settings.

Re: [gentoo-user] Setting default user environments in /etc/profile.d/

2012-05-01 Thread Walter Dnes
On Tue, May 01, 2012 at 07:11:37PM +0100, Stroller wrote > So /etc/profile contains the following message: > > # You should override these in your ~/.bashrc (or equivalent) for per-user > # settings. For system defaults, you can add a new file in /etc/profile.d/. > export EDITOR=${EDITOR:-/bin/na

Re: [gentoo-user] Setting default user environments in /etc/profile.d/

2012-05-01 Thread Stroller
On 1 May 2012, at 19:38, Alex Schuster wrote: >> … >> The file is world-readable (mode 644), and I even tried setting the >> execute bit (`chmod +xxx`). > > It needs to be readable by your user, more is not needed. Yeah, I thought not, but I thought I'd mention trying it. Stroller.

Re: [gentoo-user] Setting default user environments in /etc/profile.d/

2012-05-01 Thread Stroller
On 1 May 2012, at 19:20, Remy Blank wrote: > Stroller wrote: >> What am I doing wrong or misunderstanding, please? > > Rename your file to "essential_defaults.sh". Only files with a ".sh" > extension are sourced (assuming you are using bash). Many thanks! That's it. Stroller.

Re: [gentoo-user] Setting default user environments in /etc/profile.d/

2012-05-01 Thread Stroller
On 1 May 2012, at 19:27, Michael Orlitzky wrote: > On 05/01/2012 02:11 PM, Stroller wrote: >> So /etc/profile contains the following message: >> >> # You should override these in your ~/.bashrc (or equivalent) for per-user >> # settings. For system defaults, you can add a new file in /etc/profi

Re: [gentoo-user] Setting default user environments in /etc/profile.d/

2012-05-01 Thread Alex Schuster
Stroller writes: > Therefore I have created a plain text > file /etc/profile.d/essential_defaults [...] > Yet when I log in, these environment variables are not set. > > The file is world-readable (mode 644), and I even tried setting the > execute bit (`chmod +xxx`). It needs to be readable by

Re: [gentoo-user] Setting default user environments in /etc/profile.d/

2012-05-01 Thread Michael Orlitzky
On 05/01/2012 02:11 PM, Stroller wrote: > So /etc/profile contains the following message: > > # You should override these in your ~/.bashrc (or equivalent) for per-user > # settings. For system defaults, you can add a new file in /etc/profile.d/. > export EDITOR=${EDITOR:-/bin/nano} > export PAGE

[gentoo-user] Setting default user environments in /etc/profile.d/

2012-05-01 Thread Stroller
So /etc/profile contains the following message: # You should override these in your ~/.bashrc (or equivalent) for per-user # settings. For system defaults, you can add a new file in /etc/profile.d/. export EDITOR=${EDITOR:-/bin/nano} export PAGER=${PAGER:-/usr/bin/less} Therefore I have created