Local mail is never checked
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-terminal (Ubuntu) |
New
|
Low
|
Unassigned |
Bug Description
Description: Ubuntu 19.10
Release: 19.10
gnome-terminal:
Installed: 3.34.2-1ubuntu1
Candidate: 3.34.2-1ubuntu1
Context : In a typical daily use scenario, a Ubuntu user is not expected to use a console login with "Ctrl-Alt Fx".
Instead it is expected to use gnome-terminal for command-line interaction.
That being said :
What I expect to happen when I launch gnome-terminal :
I expect the bash shell started by gnome-terminal to check local mail (in /var/mail/$USER ) and reports accordingly "You have new mail" if there is new mail.
What happens instead :
gnome-terminal invokes bash with $MAIL variable not set. So mail is not checked, and the user is never informed about new local mail.
Workaround :
Put
export MAIL=/var/
in ~/.bashrc
description: | updated |
Changed in gnome-terminal (Ubuntu): | |
importance: | Undecided → Low |
It is really, really not the terminal emulator's job to set basic environment variables.
It should either be done by the environment in which gnome-terminal is started (e.g. systemd --user), so that the terminal just transparently passes this on; or should be done by the shell initialization files, as in your workaround.