2019-12-15 17:31:59 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
export XKB_DEFAULT_LAYOUT=fi
|
2021-07-25 17:02:55 +03:00
|
|
|
export XKB_DEFAULT_VARIANT=fi
|
2019-12-15 17:31:59 +02:00
|
|
|
export XKB_DEFAULT_MODEL=pc105
|
|
|
|
|
|
|
|
#export XDG_RUNTIME_DIR=/tmp/wayland
|
|
|
|
#export WAYLAND_DISPLAY=wayland-0
|
|
|
|
|
2021-07-25 17:08:17 +03:00
|
|
|
# configure wayland backend
|
2019-12-15 17:31:59 +02:00
|
|
|
export GDK_BACKEND=wayland
|
2021-07-25 17:02:55 +03:00
|
|
|
export QT_QPA_PLATFORM=wayland # wayland-egl?
|
2022-04-03 22:54:40 +03:00
|
|
|
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
|
|
|
export QT_AUTO_SCREEN_SCALE_FACTOR=1
|
2019-12-15 17:31:59 +02:00
|
|
|
export CLUTTER_BACKEND=wayland
|
|
|
|
export SDL_VIDEODRIVER=wayland
|
|
|
|
export EWOL_BACKEND=wayland
|
2022-04-03 22:54:40 +03:00
|
|
|
|
2021-07-25 17:02:55 +03:00
|
|
|
# firefox
|
|
|
|
export MOZ_ENABLE_WAYLAND=1
|
|
|
|
export MOZ_DBUS_REMOTE=1
|
2019-12-15 17:31:59 +02:00
|
|
|
|
2022-04-03 22:54:40 +03:00
|
|
|
|
2021-07-25 17:02:55 +03:00
|
|
|
# auth
|
2022-04-03 22:54:40 +03:00
|
|
|
#eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
|
|
|
|
#export SSH_AUTH_SOCK
|
2021-07-25 17:02:55 +03:00
|
|
|
|
|
|
|
# start!
|
2022-04-03 22:54:40 +03:00
|
|
|
XDG_CURRENT_DESKTOP=sway XDG_SESSION_TYPE=wayland sway
|
|
|
|
#XDG_CURRENT_DESKTOP=kde XDG_SESSION_TYPE=wayland dbus-run-session startplasma-wayland
|
|
|
|
#XDG_CURRENT_DESKTOP=gnome XDG_SESSION_TYPE=wayland dbus-run-session gnome-shell --wayland
|