Xorg or Wayland Environment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Not a everyday systemd service writer....

I've written a user service file to start an app on login.  It works well for Xorg with Environment=DISPLAY=:0.

But I've found that under Wayland the DISPLAY=:1 after a logout of Xorg and login to a
Wayland session.

What would be the proper way to get the DISPLAY environment varible use it as opposed
to "hard" coding it?



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux