add .xinitrc

This commit is contained in:
dalahast 2021-02-10 22:42:41 +01:00
parent 35c42caf4d
commit d93a1b62db
Signed by: dalahast
GPG Key ID: 504A02165E7FA6B2

30
.xinitrc Normal file

@ -0,0 +1,30 @@
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
userresources=$HOME/.Xresources
#usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
#sysmodmap=/etc/X11/xinit/.Xmodmap
export XDG_SESSION_TYPE=x11
export XDG_CURRENT_DESKTOP=X-cinnamon
export XDG_SESSION_DESKTOP=X-cinnamon
export CLUTTER_BACKEND=x11
export ECORE_EVAS_ENGINE=x11
export ELM_ENGINE=x11
export SDL_VIDEODRIVER=x11
export QT_QPA_PLATFORMTHEME="qt5ct"
#export QT_STYLE_OVERRIDE=gtk2
export QT_QPA_PLATFORM=xcb
export QT_AUTO_SCREEN_SCALE_FACTOR=0
#export QT_SCREEN_SCALE_FACTORS=1
export EDITOR=/usr/bin/nvim
#export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
export SSH_AUTH_SOCK
exec cinnamon-session