Skip to content

Instantly share code, notes, and snippets.

@Azq2
Created July 5, 2023 08:12
Show Gist options
  • Select an option

  • Save Azq2/f23799e15c535b7a48dc8c065ca7d177 to your computer and use it in GitHub Desktop.

Select an option

Save Azq2/f23799e15c535b7a48dc8c065ca7d177 to your computer and use it in GitHub Desktop.

Why?

New Unity 7.7 is slightly broken:

  • Slightly broken UI/UX by non-clickable spaces between tray items. Especially for the power icon. I always click to the edge of the screen if I want to open the power menu. But in Unity 7.7 that does not work. Between the power icon and edge of the screen is a big non-clickable area.
  • Panel is too high. Maybe for Yaru that's ok, but Ambience looks really bad. I think the panel height and padding should be configurable.
  • Strange critical bug with fullscreen applications. When trying to exit fullscreen the graphical shell just freezes! This bug stable reproduces in Unity 7.7 and not reproducing in Unity 7.5.

Build old unity from sources

# Install build dependencies
sudo apt-get build-dep unity

# Get sources
git clone https://git.launchpad.net/unity
cd unity

# Switch to Unity 7.5.1
git reset --hard 5ecfd121cba34c11bdacc890637dd67a8e570262

# Now build
# change parallell=8 with your cpu cores count
export DEB_BUILD_OPTIONS='parallel=8 nocheck'
fakeroot debian/rules binary

Install and hold packages

sudo dpkg -i ../libunity-core-6.0-9_7.5.1+22.10.20220818-0ubuntu1_amd64.deb \
../unity_7.5.1+22.10.20220818-0ubuntu1_amd64.deb ../unity-schemas_7.5.1+22.10.20220818-0ubuntu1_all.deb \
../unity-services_7.5.1+22.10.20220818-0ubuntu1_amd64.deb
sudo apt-mark hold libunity-core-6.0-9 unity unity-schemas unity-services
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment