Re: Fedora 33 System-Wide Change proposal: Make nano the default editor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday, June 25, 2020 10:27:06 PM CEST Michael Catanzaro wrote:
> On Thu, Jun 25, 2020 at 8:40 pm, Ian McInerney 
> <Ian.S.McInerney@xxxxxxxx> wrote:
> 
> > Are you sure this will work? I just ran a test, and putting a new 
> > config file inside /usr/lib/environment.d only works for Gnome, and 
> > doesn't work for Mate, Cinnamon or SSH (tested by opening a terminal 
> > in the respective session and examining the environment variables). 
> > From what I gather in [1], systemd is not a standard way of 
> > interacting with the user's environment variables, and only Gnome has 
> > decided to use it. So this method of implementing this change seems 
> > to be making the default editor for Gnome be nano and not changing 
> > the defaults for anyone else.
> 
> 
> Erm... well, no. Plan foiled?
> 
> The goal of using /usr/lib/environment.d was to avoid setting more 
> environment variables in random places in various shell scripts. But if 
> that only works in GNOME, I guess it's not a great solution after all.

Gentoo Linux uses the /etc/env.d tree to globally set environment variables:

    https://devmanual.gentoo.org/tasks-reference/environment/index.html

It worked there long time before systemd was invented.  But clearing this
up in Fedora would ask for a separate system-wide change I guess...

Kamil

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux