Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
customized XDG env in gnome wayland
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
suddenkiller
n00b
n00b


Joined: 24 Aug 2008
Posts: 10

PostPosted: Tue Dec 15, 2015 4:54 am    Post subject: customized XDG env in gnome wayland Reply with quote

hi all,
i have moved to gnome3.18+wayland recently, but find that there is no way to set customized global env.
the following env are what i want
Code:

export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
export XDG_CACHE_HOME="/tmp/${USER}/.cache"
if test -z "${XDG_RUNTIME_DIR}"; then
 export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir/.cache
 if ! test -d "${XDG_RUNTIME_DIR}"; then
 mkdir "${XDG_RUNTIME_DIR}"
 chmod 0700 "${XDG_RUNTIME_DIR}"
 fi
fi


/etc/profile.d/local.sh , /etc/env.d/99local ~/.xprofile ~/.xinitrc isn't loaded by gnome with wayland where it used to be under X11.
~/.bashrc will be loaded under gnome-terminal, but gnome-shell isn't
so is there any place to put customized env to take effect under gnome with wayland ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum