From bdab3ab7345affaf999fb6a853ce29b109032403 Mon Sep 17 00:00:00 2001 From: lub Date: Mon, 15 Jun 2020 01:45:38 +0200 Subject: [PATCH] remove GDK_BACKEND workarounds --- dotfiles/bash/.bashrc | 2 +- dotfiles/bin/.bin/code | 1 - dotfiles/bin/.bin/disable_wayland | 13 ------------- dotfiles/bin/.bin/firefox | 6 ------ dotfiles/bin/.bin/riot-desktop | 1 - dotfiles/bin/.bin/zygor | 1 - 6 files changed, 1 insertion(+), 23 deletions(-) delete mode 120000 dotfiles/bin/.bin/code delete mode 100755 dotfiles/bin/.bin/disable_wayland delete mode 100755 dotfiles/bin/.bin/firefox delete mode 120000 dotfiles/bin/.bin/riot-desktop diff --git a/dotfiles/bash/.bashrc b/dotfiles/bash/.bashrc index 278505c..cd8ac96 100644 --- a/dotfiles/bash/.bashrc +++ b/dotfiles/bash/.bashrc @@ -20,7 +20,7 @@ fi # enable wayland export QT_QPA_PLATFORM=wayland-egl -export GDK_BACKEND=wayland +export MOZ_ENABLE_WAYLAND=1 function q1 { echo 'Important and Urgent' diff --git a/dotfiles/bin/.bin/code b/dotfiles/bin/.bin/code deleted file mode 120000 index 9fb7ce9..0000000 --- a/dotfiles/bin/.bin/code +++ /dev/null @@ -1 +0,0 @@ -disable_wayland \ No newline at end of file diff --git a/dotfiles/bin/.bin/disable_wayland b/dotfiles/bin/.bin/disable_wayland deleted file mode 100755 index c50ba8d..0000000 --- a/dotfiles/bin/.bin/disable_wayland +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -# links to this script disable wayland backends -# to workaround wayland incompatibilities - -unset GDK_BACKEND -unset QT_QPA_PLATFORM - -# name of the link that was called -called_script=$(basename "$0") - -real_bin=$(which --skip-tilde "$called_script") -"${real_bin}" "$@" \ No newline at end of file diff --git a/dotfiles/bin/.bin/firefox b/dotfiles/bin/.bin/firefox deleted file mode 100755 index d547682..0000000 --- a/dotfiles/bin/.bin/firefox +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -echo $@ - -real_firefox=$(which --skip-tilde firefox) - -GDK_BACKEND=wayland "${real_firefox}" "$@" diff --git a/dotfiles/bin/.bin/riot-desktop b/dotfiles/bin/.bin/riot-desktop deleted file mode 120000 index 9fb7ce9..0000000 --- a/dotfiles/bin/.bin/riot-desktop +++ /dev/null @@ -1 +0,0 @@ -disable_wayland \ No newline at end of file diff --git a/dotfiles/bin/.bin/zygor b/dotfiles/bin/.bin/zygor index af34516..9c268a0 100755 --- a/dotfiles/bin/.bin/zygor +++ b/dotfiles/bin/.bin/zygor @@ -7,5 +7,4 @@ mkdir Zygor cp -a Settings Zygor/ # disable wayland -unset GDK_BACKEND "$HOME/.zygor.AppImage"