You are not logged in.
I want to be extend the PATH environement variable so that I can run custom script via the run command prompt (Alt+F2).
I tried this to do it via .profile and .bashrc
λ › cat .profile
export PATH=/home/cedlemo/.gem/ruby/2.5.0/bin:$PATH
λ › cat .bashrc
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
export PATH=/home/cedlemo/.gem/ruby/2.5.0/bin:$PATH
It works fine on the Xorg backend but not on the Wayland backend.
I also tried to create a *.conf file in the ~/.config/environment.d/ directory. So I have that too:
λ › cat ~/.config/environment.d/80-ruby.conf
PATH=/home/cedlemo/.gem/ruby/2.5.0/bin:$PATH
But it does not work. I asked the same question on the gnome mailing list but it appears that the previous solutions were working on Fedora and Debian for the Wayland backend. Did someone here have been able to extend its PATH variable on the wayland backend?
Last edited by cedlemo (2018-06-20 20:11:52)
Offline