Bug 1269878 - gnome wayland session: .bash_profile ignored
Summary: gnome wayland session: .bash_profile ignored
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-session
Version: 23
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-08 12:11 UTC by Fabio Valentini
Modified: 2015-11-11 12:30 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-11-11 12:30:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 736660 0 'Normal' 'RESOLVED' 'wayland session does not process .bash_profile' 2019-11-18 17:14:16 UTC

Description Fabio Valentini 2015-10-08 12:11:42 UTC
Steps to Reproduce:

1. log in to GNOME (Wayland)

2. $ cat .bash_profile
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
	. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/.local/bin:$HOME/bin

export PATH


3. $ echo $PATH
/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin

Comment 1 Fabio Valentini 2015-11-11 12:00:57 UTC
Is there anything happening to find out what causes this bug?
Because it is really annoying.

Comment 2 Ray Strode [halfline] 2015-11-11 12:30:28 UTC
We're tracking this upstream here:

https://bugzilla.gnome.org/show_bug.cgi?id=736660

The issue is right now the start up path contains a tower of shell scripts that have nothing to do with the graphical session, and wayland is an opportunity to break away from that.

Obviously we need a way for users to set environment variables, though. See the upstream bug for more details.


Note You need to log in before you can comment on or make changes to this bug.