Delete .xsessionrc

Nix home-manager generates an .xsession file for me. I believe there are a few
files for managing X-sessions:
- .xinitrc
- .xsession
- .xsessionrc: Only exists on Debian systems, which is why home-manager
  generates an .xsession file instead. gLinux is a Debian system.

Whenever I close Emacs, another Emacs initializes. I believe this is because
after I allowed home-manager to manage my X-sessions, I unintentionally
supported two X-session configuration files: .xsession and .xsessionrc; both of
these files initialize Emacs.

I'm deleting my .xsessionrc, and I'm hoping that will remove the issue.
This commit is contained in:
William Carroll 2020-03-16 15:28:24 +00:00
parent 1487d06660
commit ebf0ef7e34

View file

@ -1,22 +0,0 @@
#!/bin/sh
# Might be unnecessary...
. ~/.profile
export DESKTOP_SESSION=cinnamon # gnome for trusty.
# Desktop background color.
xsetroot -solid "#333333"
# Set fallback cursor.
xsetroot -cursor_name left_ptr
# `unclutter` hide the cursor in when it is inactive
unclutter &
# Control X's pointer with the keyboard. Activate by pressing <C-;>
keynav daemonize
# Startup Emacs (and EXWM). This is built by calling `make install` from within
# ~/dotfiles/emacs.
dbus-launch --exit-with-session wpcarros-emacs