From ebf0ef7e34aa933f87b51ad5c36225aa29a0bc6c Mon Sep 17 00:00:00 2001 From: William Carroll Date: Mon, 16 Mar 2020 15:28:24 +0000 Subject: 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. --- configs/.xsessionrc | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 configs/.xsessionrc 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 -keynav daemonize - -# Startup Emacs (and EXWM). This is built by calling `make install` from within -# ~/dotfiles/emacs. -dbus-launch --exit-with-session wpcarros-emacs -- cgit 1.4.1