Skip to content

Commit

Permalink
Fix flashback.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
gardotd426 committed Feb 1, 2021
1 parent 86f1ac0 commit 3a198d8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions flashback.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
--- regolith-session 2020-06-03 10:15:36.000000000 -0400
+++ regolith-new 2020-12-17 17:09:06.708590002 -0500
@@ -4,12 +4,4 @@
export XDG_CURRENT_DESKTOP="Regolith:GNOME-Flashback:GNOME"
fi

-# gnome-session broke compatability between 19.04 (3.32.0) and 19.10 (3.34.1) versions of Ubuntu (gnome-session-bin).
-GNOME_SESSION_BIN_VERSION=$(dpkg -s gnome-session-bin | grep '^Version:' | cut -d' ' -f 2 | cut -d'-' -f 1)
-COMPACT_VERSION="${GNOME_SESSION_BIN_VERSION//.}"
-
-if [ $COMPACT_VERSION -gt 3320 ]; then
exec gnome-session --builtin --session=regolith --disable-acceleration-check "$@"
-else
- exec gnome-session --session=regolith --disable-acceleration-check "$@"
-fi

0 comments on commit 3a198d8

Please sign in to comment.