31 lines
786 B
Bash
31 lines
786 B
Bash
#!/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
|