Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Oct 2020 21:51:10 +0200
From:      Olivier Duchateau <duchateau.olivier@gmail.com>
To:        freebsd-xfce@freebsd.org
Subject:   Re: FreeBSD Port: x11-wm/xfce4-desktop
Message-ID:  <20201005215110.26c9d094@lenovo.errements.net>
In-Reply-To: <3312f9e6-3358-403e-969f-78cff16c7f3c@Spark>
References:  <581d181c-595c-4022-86ac-54a93406b4c8@Spark> <3312f9e6-3358-403e-969f-78cff16c7f3c@Spark>

next in thread | previous in thread | raw e-mail | index | archive | help
Le Mon, 5 Oct 2020 20:13:22 +0100,
Christopher Tipper <chris.tipper@gmail.com> a =C3=A9crit :

> I noticed a curiosity in the xdg/xfce4/xinitrc using a call to linux
> systemd to activate dbus it does not look like this file has been
> patched for freebsd compatibility
>=20
> I notice that the FreeBSD Handbook at
>=20
> https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html
> (last section on configuring Xfce)
>=20
> asks the user to install this file either as .xinitrc or .xsession
>=20
> An unsuspecting user following the Handbook is going to have an
> unpleasant surprise.
>=20
> Christopher Tipper
>=20
> --
> Sent with Spark
> _______________________________________________
> freebsd-xfce@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
> To unsubscribe, send any mail to
> "freebsd-xfce-unsubscribe@freebsd.org"

Hi,

xinitrc file works fine under FreeBSD, it does not required to be
patched.

The Handbook is very outdated. I'm planning to submit an update for the
next stable release (4.16).

If you want to launch your session:

1. Add dbus_enable=3D"YES" in /etc/rc.conf

2. Add a login manager (LightDM is recommended application)
Xfce is gettext compliant, so if you want a session with your locale,
you must create (or update) file located in
/var/db/AccountsService/users/

This file matches your login account. It contains these following lines:
[User]
Language=3Dyour preferred locale (accountsservice understands only UTF-8,
e.g. fr_FR.UTF-8)
Session=3Dxfce (in fact any files in /usr/local/share/xsessions/)
XSession=3D(optional, same value above)
SystemAccount=3Dfalse

xinitrc file is required for Xdm, Slim or without login manager. With
LightDM is not necessary.

Note: Even if LightDM is a cross-desktop display manager, gnome-shell
does not work, it needs Gdm!

Regards,

--=20
olivier



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201005215110.26c9d094>