From d93a1b62db2d5799f1be850822c264caabf91310 Mon Sep 17 00:00:00 2001 From: dalahast Date: Wed, 10 Feb 2021 22:42:41 +0100 Subject: [PATCH] add .xinitrc --- .xinitrc | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .xinitrc diff --git a/.xinitrc b/.xinitrc new file mode 100644 index 0000000..6b66eea --- /dev/null +++ b/.xinitrc @@ -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