Microsoft Edge Setup
Installation
flatpak install flathub com.microsoft.EdgeFix Copilot (Missing HubApps File)
The HubApps file tells Edge which sidebar apps to load — Copilot being the primary one.
Edge on Linux ships without a required configuration file called HubApps. Without it, the Copilot sidebar will not appear. Adding the HubApps file returns the sidebar functionality.
Download the HubApps file.
You can copy it from a Windows Edge installation at:
AppData\Local\Microsoft\Edge\User Data\Default\HubAppsAlternatively, download the community-maintained copy here.
Create the target directory if it does not already exist:
mkdir -p ~/.var/app/com.microsoft.Edge/config/microsoft-edge/Default/Copy the file to
~/.var/app/com.microsoft.Edge/config/microsoft-edge/Defaultcp HubApps ~/.var/app/com.microsoft.Edge/config/microsoft-edge/Default/HubAppsRestart Edge. Copilot should now appear in the sidebar.
Enable Touchpad Gestures
By default, the Flatpak version of Edge does not enable touchpad swipe for back/forward navigation. A flags configuration file fixes this.
Create the flags file:
nano ~/.var/app/com.microsoft.Edge/config/edge-flags.confAdd the following line and save:
~/.var/app/com.microsoft.Edge/config/edge-flags.conf--enable-features=TouchpadOverscrollHistoryNavigationSave with
Ctrl + O,Enter, then exit withCtrl + X.Restart Edge to apply the flag.
Fix Web App Icons on Wayland
When you install websites as web apps from Edge, their taskbar icons may not appear correctly on Wayland. This happens because the .desktop files generated by Edge use an outdated StartupWMClass format that Wayland compositors do not recognise.
The fix updates all affected .desktop files to use the correct format.
| Before | After |
|---|---|
StartupWMClass=crx__APPID-PROFILE | StartupWMClass=msedge-_APPID-PROFILE |
StartupWMClass=crx__eigpmdhekjlgjgcppnanaanbdmnlnagl-Default | StartupWMClass=msedge-_eigpmdhekjlgjgcppnanaanbdmnlnagl-Default |
It is suggested to use VSCode to create a local git repository in ~/.local/share/applications to track changes and make edits.
Contributors
Changelog
1ae6c-Fix incorrect info and stylingonb5534-Change team name, fixing links.onf544c-Restructuring assets and minor typo fixes.one08ae-Add Microsoft Edge setup guide with installation and configuration stepson