XFCE terminal + utempter
Guido Falsi
mad at madpilot.net
Tue Apr 20 07:44:56 UTC 2021
On 20/04/21 04:56, Daniel O'Connor via freebsd-xfce wrote:
> Hi,
> I had to recompile xfce4-terminal for a client because they weren't getting UPS notifications (via wall) - I had to add '--with-utempter' to 'CONFIGURE_ARGS'.
While I understand the need this looks like an ancient way of doing such
things. Also if I have ten terminal windows open I'd get ten notifications?
>
> This system is a bit old but it seems the current port does not have that flag either (although I am not sure if perhaps it would be auto detected in the latest ports).
>
> If it isn't picked up, can the flag be added to the port? With that done it because a user configuration item (defaults to off though it seems).
It is not automatically detected. Upstream has the flag off by default
and the port is simply leaving it there.
Just looking at the xfce4-terminal configure file I'm not sure how you
got it working though, since the configure file does not look for the
correct library on FreeBSD. ( at least according to utempter_add_record(3) )
Please notice I am not an expert on utmp/wtmp/utmpx and such so I'm not
sure of the implications right away, I need research to get a clear
understanding.
Anyway I can do some testing, but I'd rather avoid any default behaviour
changes, so I'd evaluate adding this as an option turned off by default.
--
Guido Falsi <mad at madpilot.net>
More information about the freebsd-xfce
mailing list