Skip to content

Instantly share code, notes, and snippets.

@Xarkam
Last active October 24, 2024 13:02
Show Gist options
  • Save Xarkam/b8e518e56ae4880fc07a030b2fa9ae95 to your computer and use it in GitHub Desktop.
Save Xarkam/b8e518e56ae4880fc07a030b2fa9ae95 to your computer and use it in GitHub Desktop.
Ubuntu 24.04 black screen vmware

VMWare

VmWare Tools

sudo apt install open-vm-tools open-vm-tools-desktop

Fix Freezing Ubuntu 24.04 on VMware and Enable Accelerated Graphics

sudo add-apt-repository ppa:oibaf/graphics-drivers
sudo apt update && sudo apt upgrade

Use inter font

sudo apt install fonts-inter-variable
gsettings set org.gnome.desktop.interface font-name 'Inter Variable 11'

Refresh snap-store

killall snap-store && sudo snap refresh snap-store

Add Mozilla Team repository

Install the repository key

wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- | gpg --dearmor | sudo tee /etc/apt/keyrings/packages.mozilla.org.gpg > /dev/null

Create a deb822-formatted .sources file in /etc/apt/sources.list.d/mozilla.sources with the following content

Types: deb
URIs: https://packages.mozilla.org/apt
Suites: mozilla
Components: main
Signed-By: /etc/apt/keyrings/packages.mozilla.org.gpg

Set the apt repository priority

Creating/editing the file /etc/apt/preferences.d/mozilla with the following content:

Package: firefox*
Pin: origin packages.mozilla.org
Pin-Priority: 1001

Allow unattended upgrades for the mozilla repository

Creating/editing the file /etc/apt/apt.conf.d/51unattended-upgrades-firefox with the following content:

Unattended-Upgrade::Origins-Pattern { "archive=mozilla"; };

Remove the snap and apt installation of Firefox

sudo snap remove firefox
sudo apt remove firefox

Update the package list

sudo apt update

Install Firefox from the Mozilla repository

sudo apt install firefox

Firefox Tanslation package

Install additional translations with the packages firefox-l10n-XX where XX is the language identifier sudo apt install firefox-l10n-fr

Prepare for Microsoft repository

sudo apt-get install wget gpg
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
sudo install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg
rm -f packages.microsoft.gpg
sudo apt install apt-transport-https

Install Visual Studio Code

echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" |sudo tee /etc/apt/sources.list.d/vscode.list > /dev/null
sudo apt update
sudo apt install code

Install Edge browser

echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/edge stable main" |sudo tee /etc/apt/sources.list.d/microsoft-edge.list > /dev/null
sudo apt update
sudo apt install microsoft-edge-stable

Microsoft Fonts

sudo apt install ttf-mscorefonts-installer

JetBrains Toolbox

sudo apt install libfuse2

Synology Chat

  • Go to /opt/and rename Synology Chatto SynologyChat
  • Delete /etc/alternatives/synochatand recreate with update-alternatives --install /usr/bin/synochat synochat /opt/SynologyChat/synochat 1
  • Edit /usr/share/applications/synochat.desktop and change Exec="/opt/Synology Chat/synochat" %Uby Exec="/opt/SynologyChat/synochat" %U

Finally, run this to avoid problem in chat gui sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0

Microsoft Teams for linux

https://github.com/IsmaelMartinez/teams-for-linux/releases

Gnome Evolution & Office 365

On Identity, uncheck in botton window to auto detect account configuration.
On server listbox, use Exchange Web Services.
Change url to https://outlook.office365.com and click Fetch Url.
Give password and on each password window, click ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment