Guest User

50-systemd-user.sh

a guest
Mar 14th, 2023
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. #!/bin/sh
  2. # SPDX-License-Identifier: LGPL-2.1-or-later
  3. #
  4. # This file is part of systemd.
  5. #
  6. # systemd is free software; you can redistribute it and/or modify it
  7. # under the terms of the GNU Lesser General Public License as published by
  8. # the Free Software Foundation; either version 2.1 of the License, or
  9. # (at your option) any later version.
  10.  
  11. systemctl --user import-environment DISPLAY XAUTHORITY
  12.  
  13. if command -v dbus-update-activation-environment >/dev/null 2>&1; then
  14. dbus-update-activation-environment DISPLAY XAUTHORITY
  15. fi
  16.  
Advertisement
Add Comment
Please, Sign In to add comment