diff options
Diffstat (limited to 'xdg_session_type.patch')
-rw-r--r-- | xdg_session_type.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/xdg_session_type.patch b/xdg_session_type.patch new file mode 100644 index 000000000000..f1d8e5a3aa9c --- /dev/null +++ b/xdg_session_type.patch @@ -0,0 +1,12 @@ +--- src/usr/bin/upwork 2018-11-08 21:07:12.000000000 +0200 ++++ upwork.patched 2019-03-05 20:42:12.082295838 +0200 +@@ -6,5 +6,9 @@ + export XDG_CURRENT_DESKTOP=Unity + fi + ++if [ $XDG_SESSION_TYPE == 'tty' ]; then ++ export XDG_SESSION_TYPE=x11 ++fi ++ + cd /usr/share/upwork + exec ./upwork "$@" |