From 08c524d75d092ee75b7503d4c4469e2d2d84eb89 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Mon, 19 Nov 2018 13:25:18 -0600 Subject: [PATCH] Fix xinit scripts? --- de/x/initrc | 19 ++++++++++++------- de/x/profile | 9 +++++++++ 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/de/x/initrc b/de/x/initrc index 3f2a2c9..985c521 100644 --- a/de/x/initrc +++ b/de/x/initrc @@ -3,6 +3,8 @@ # as far as I can tell, this file is only executed when you run startx from the # TTY +# you probably want to modify xprofile + echo '' > "$HOME/.xstartup_log" echo "xinitrc" >> "$HOME/.xstartup_log" @@ -20,21 +22,24 @@ if [ -f "$HOME/.xmodmap" ]; then xmodmap "$HOME/.xmodmap" fi +echo "a" > ~/.xinitrc.log + eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh) export SSH_AUTH_SOCK -xcape -e 'Control_L=Escape' & +# xcape -e 'Control_L=Escape' & -pulseaudio --start & +# pulseaudio --start & -xset s off -dpms & +# xset s off -dpms & -redshift & +# redshift & -urxvtd & +# urxvtd & -autocutsel -fork & -autocutsel -selection PRIMARY -fork & +# autocutsel -fork & +# autocutsel -selection PRIMARY -fork & +# autocutsel -selection SECONDARY -fork & # fire up wm exec "$DOTFILES_PATH/de/wmstart" diff --git a/de/x/profile b/de/x/profile index 06b8ca2..082d8f7 100644 --- a/de/x/profile +++ b/de/x/profile @@ -32,6 +32,15 @@ if command -v redshift >/dev/null 2>&1; then redshift -r -l 39.0997:-94.5786 -t 6500K:3000K & fi +if [ -f "$HOME/.xmodmap" ]; then + xmodmap "$HOME/.xmodmap" +fi + if [ -f "$HOME/.env_xprofile" ]; then source "$HOME/.env_xprofile" fi + +xcape -e 'Control_L=Escape' & + +autocutsel -fork & +autocutsel -selection PRIMARY -fork &