Re: Is `/etc/sysconfig/desktop` still used?

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

 



On Tue, 26 Jul 2022 10:09:39 +0100
Ankur Sinha <sanjay.ankur@xxxxxxxxx> wrote:

> Hi folks,
> 
> While updating this quick-doc, I came across the last section where
> `/etc/sysconfig/desktop` is mentioned as a config file to change default
> desktop environment etc.
> 
> https://docs.fedoraproject.org/en-US/quick-docs/switching-desktop-environments/
> 
> I haven't been able to find any documentation on it, and no package in
> Fedora owns this file either. Would someone please be able to note if
> this file is still in use, and point to some documentation we could
> refer to?
> 
> I've also got a PR updating the page here. Reviews most most welcome:
> https://pagure.io/fedora-docs/quick-docs/pull-request/474
> 
> -- 

>From my older configurations, it seems as '/etc/sysconfig/desktop':

1) was sourced in '/etc/X11/prefdm' for envvar 'DISPLAYMANAGER'; this
variable should contain one from recognized DM nickname (GNOME, KDE,
WDM or XDM) or path to displaymanager binary.
'/etc/X11/prefdm' was file in package 'initscripts' and was started as
sysV init/upstart/systemd service. The prefdm file was last seen in F17
and EL7 distros, then it is no longer in use - thus nor 'DISPLAYMANAGER'
envvar.

2) is still sourced from '/etc/X11/xinit/Xclients' for two envvars:
- 'DESKTOP' - nickname for one from recognized sessions (GNOME, KDE, MATE
or LXDE).
- 'PREFERRED' - in case when 'DESKTOP' unset/unrecognized, this variable
should be path for program starting graphical session (for example,
'/usr/bin/mate-session').
'/etc/X11/xinit/Xclients' file is in package 'xorg-x11-xinit' and is
needed e.g. for manual X session start via startx or xinit.
This file/package is actual, present in Fedora 36 (not sure about
Centos/RHEL, I'm not using its now).

---
S pozdravem Franta Hanzlík
_______________________________________________
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
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[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