about summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-03-16T15·28+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-03-16T15·28+0000
commitebf0ef7e34aa933f87b51ad5c36225aa29a0bc6c (patch)
tree20d4304900bf9711f5a557e28f6bf27b162a97e1 /configs
parent1487d0666061f2ced7a87152e3e7c3f36378962c (diff)
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.
Diffstat (limited to 'configs')
-rw-r--r--configs/.xsessionrc22
1 files changed, 0 insertions, 22 deletions
diff --git a/configs/.xsessionrc b/configs/.xsessionrc
deleted file mode 100644
index 2c266af491fc..000000000000
--- a/configs/.xsessionrc
+++ /dev/null
@@ -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