Created
February 26, 2022 20:47
-
-
Save nneul/1b4f98ecaac5c87603604d54ef3d6ffb to your computer and use it in GitHub Desktop.
Modify linux MS Teams installation to add titlebar / disable client side decorations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is obviously an ugly little hack, but will return the ability to do windowshade or similar operations | |
if your window manager (XFce in my case) doesn't allow for forcing display of window frame/titlebar. | |
# run in teams/resources | |
cd /usr/share/teams/resources | |
if [ ! -e orig-app.asar ]; then | |
cp app.asar orig-app.asar; | |
fi | |
cp orig-app.asar app.asar | |
rm -rf asar-extracted | |
mkdir -p asar-extracted | |
(cd asar-extracted && asar extract ../app.asar .) | |
perl -pi -e 's|frame:!1|frame:1|go' asar-extracted/main.bundle.js | |
rm app.asar | |
asar pack asar-extracted app.asar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment