Advertisement
Guest User

xinitrc

a guest
Apr 22nd, 2020
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. if test -z "$DBUS_SESSION_BUS_ADDRESS"; then
  2. eval $(dbus-launch --exit-with-session --sh-syntax)
  3. fi
  4. systemctl --user import-environment DISPLAY XAUTHORITY
  5.  
  6. if command -v dbus-update-activation-environment >/dev/null 2>&1; then
  7. dbus-update-activation-environment DISPLAY XAUTHORITY
  8. fi
  9.  
  10.  
  11. # Disable access control for the current user.
  12. xhost +SI:localuser:$USER
  13.  
  14. # Make Java applications aware this is a non-reparenting window manager.
  15. wmname LG3D
  16. export _JAVA_AWT_WM_NONREPARENTING=1
  17.  
  18. # Set default cursor.
  19. xsetroot -cursor_name left_ptr
  20.  
  21. # Set keyboard repeat rate.
  22. xset r rate 200 60
  23.  
  24. sh /home/greghab/nextcloud/dev/scripts/nixInit.sh &
  25.  
  26. # Finally start Emacs
  27. exec emacs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement