Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with PANEL_FIFO variable #21

Open
joeyfurness opened this issue Apr 17, 2019 · 1 comment
Open

Issue with PANEL_FIFO variable #21

joeyfurness opened this issue Apr 17, 2019 · 1 comment

Comments

@joeyfurness
Copy link

joeyfurness commented Apr 17, 2019

Under Adding A Panel -> Configuration , setting the environment variable $PANEL_FIFO="/tmp/panel-fifo" doesn't point to a directory that exists. Does /tmp/panel_fifo need to be created ? or is that something that is created from one of the example scripts ?

When I echo $PANEL_FIFO i just get a blank output.

@joeyfurness
Copy link
Author

joeyfurness commented Apr 17, 2019

I found a fix for the problem:

OS: Debian GNU/Linux 9.8 (stretch) x86_64
Model: VirtualBox 1.2
Kernel: 4.9.0-8-amd64
DM: lightdm

For anyone who is in a similar situation, lightdm does not read from .profile or /etc/profile. dm's like lightdm read from the Xsession configs, such as $HOME/.xsession and HOME/.xsessionrc (Both of these need to be created manually). When lightdm opens a new Xsession it will read from these and configure your session accordingly.

My solution was to create a custom script in Xsession.d (these are numbered and will execute in order) that sources /etc/profile with the following code . /etc/profile.

I then created a .xsessionrc file in my home directory and sourced .profile from there using . $HOME/.profile.

Hopefully this will help clear up some confusion for those of us using a dm like lightdm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant