From b7be00a2818fdc2c5b47a318a67c95bde3fda7f1 Mon Sep 17 00:00:00 2001 From: David Runge Date: Fri, 11 Mar 2016 12:29:32 +0100 Subject: .xprofile: Adding setxkbmap, xmodmap, xrdb settings to xprofile. Starting lxpolkit as polkit auth handler, if it is installed. --- .xprofile | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to '.xprofile') diff --git a/.xprofile b/.xprofile index dc372e2..2c5e0e7 100644 --- a/.xprofile +++ b/.xprofile @@ -1,6 +1,22 @@ #!/usr/bin/env bash -setxkbmap de & +#X11 keyboard maps +setxkbmap -layout de & + +# use .Xmodmap +if [[ -f ~/.Xmodmap ]]; then + /usr/bin/xmodmap ~/.Xmodmap & +fi + +# use .Xresources +if [[ -f ~/.Xresources ]];then + /usr/bin/xrdb ~/.Xresources & +fi + +# start lxpolkit to have polkit authentication +if [ -x /usr/bin/lxpolkit ]; then + /usr/bin/lxpolkit & +fi if [ -x "$HOME/bin/lid-switch-action" ] && [ "$HOSTNAME" = dvzrv ]; then $HOME/bin/lid-switch-action login & -- cgit v1.2.3-54-g00ecf