The chromium.desktop file became corrupted after the latest stable update
System details
Omarchy stable 3.3.3
What's wrong?
After latest update I can't find the Chromium in the Walker menu and other Web Apps can't not be run. But chromium CAN be run from terminal command.
It turns out the file /usr/share/applications/chromium.desktop is corrupted and include not replaced template changes.
For example:
I'm not sure if it's a problem with omarchy or chromium itself.
I can confirm replacing the chromium.desktop file with a previous version fixed my Chrome desktop file, and fixed everything for me while they have a look at the problem
Hope that helps.
~ ❯ diff chromium.desktop.backup chromium.desktop. original.broken 3c3 < Name=Chromium
Name=@@MENUNAME 108c108 < Exec=/usr/bin/chromium %U
Exec=/usr/bin/@@usr_bin_symlink_name %U 111c111 < Icon=chromium
Icon=@@PACKAGE 114c114 < MimeType=application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/http;x-scheme-handler/https;
MimeType=application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/http;x-scheme-handler/https;@@uri_scheme 115a116 @@extra_desktop_entries 169c170 < Exec=/usr/bin/chromium
Exec=/usr/bin/@@usr_bin_symlink_name 221c222 < Exec=/usr/bin/chromium --incognito
Exec=/usr/bin/@@usr_bin_symlink_name --incognito.
Same issue here. I noticed with more application that issue exists. When trying to start "Discord", I get the same error.
I'm on Omarchy 3.3.3, stable channel.
Why are these changes on the stable channel?
@1r0n-ZA Can you please show fix instructions?
@Wannabeloved you have to:
- replace
@@MENUNAMEwithChromium - replace
@@usr_bin_symlink_namewithchromium - replace
@@PACKAGEwithchromium - remove
@@extra_desktop_entries - remove
@@uri_scheme
confirm bug.
For those who are still facing this issue, use the following command to fix it:
sudo sed -i \
-e 's/@@MENUNAME/Chromium/g' \
-e 's/@@usr_bin_symlink_name/chromium/g' \
-e 's/@@PACKAGE/chromium/g' \
-e 's/@@uri_scheme//g' \
-e '/^@@extra_desktop_entries/d' \
/usr/share/applications/chromium.desktop
For those who are still facing this issue, use the following command to fix it:
sudo sed -i \ -e 's/@@MENUNAME/Chromium/g' \ -e 's/@@usr_bin_symlink_name/chromium/g' \ -e 's/@@PACKAGE/chromium/g' \ -e 's/@@uri_scheme//g' \ -e '/^@@extra_desktop_entries/d' \ /usr/share/applications/chromium.desktop
Can confirm this issue on a completely fresh install - did a full wipe and manual installation of Arch + Omarchy today, and the chromium.desktop file shipped broken from the start. So it's not just the update path, the package on the Omarchy repo itself has the unsubstituted placeholders.
The sed fix from @midsphere-digital-ocean works, but note it will likely get overwritten on the next omarchy-update until the package is rebuilt on the repo side.
here's a summary to reproduce in case @dhh wants to have a look/reroute
System details
Fresh manual installation of Arch Linux + Omarchy (via curl -fsSL https://omarchy.org/install | bash) on a dual-boot system.
What's wrong?
The chromium package from the Omarchy Package Repository (pkgs.omarchy.org) ships with unsubstituted build template placeholders in /usr/share/applications/chromium.desktop. This causes omarchy-launch-browser (and the Super + B keybinding) to fail with:
Error: Path "/usr/bin/@@usr_bin_symlink_name" does not exist!
The Omarchy menu also displays @@MENUNAME instead of "Chromium" in the application list.
Affected file
/usr/share/applications/chromium.desktop contains the following broken placeholders:
Exec=/usr/bin/@@usr_bin_symlink_name(should be/usr/bin/chromium)Name=@@MENUNAME(should beChromium)Icon=@@PACKAGE(should bechromium)@@uri_schemeappended toMimeType@@extra_desktop_entriesat end of file
Reproduction
- Install Omarchy via the manual installation method (or ISO - likely the same result)
- Press
Super + Bto launch browser → fails with the error above - Open Omarchy menu (
Super + Alt + Space) → shows@@MENUNAMEinstead of Chromium - Inspect the file:
grep "@@" /usr/share/applications/chromium.desktop
Notes
- This persists across a complete wipe and fresh reinstall - the issue is in the packaged
.desktopfile on the Omarchy repo, not a local build/config problem. which chromiumreturns/usr/bin/chromiumcorrectly - the browser binary itself is fine.xdg-settings get default-web-browserreturnschromium.desktopcorrectly.grep "@@" $(which omarchy-launch-browser)returns nothing - the launch script is fine, it's the.desktopfile it reads that's broken.
Workaround
Manually replace the placeholders:
sudo sed -i 's|@@usr_bin_symlink_name|chromium|g' /usr/share/applications/chromium.desktop
sudo sed -i 's|@@MENUNAME|Chromium|g' /usr/share/applications/chromium.desktop
sudo sed -i 's|@@PACKAGE|chromium|g' /usr/share/applications/chromium.desktop
sudo sed -i 's|@@uri_scheme||g' /usr/share/applications/chromium.desktop
sudo sed -i 's|@@extra_desktop_entries||g' /usr/share/applications/chromium.desktop
Note: These fixes will likely be overwritten on the next omarchy-update or pacman -Syu if the package on the repo isn't fixed.
Thank you for this sed command. Now chromium has shown up in walker and is working like before.
For those who are still facing this issue, use the following command to fix it:
sudo sed -i \ -e 's/@@MENUNAME/Chromium/g' \ -e 's/@@usr_bin_symlink_name/chromium/g' \ -e 's/@@PACKAGE/chromium/g' \ -e 's/@@uri_scheme//g' \ -e '/^@@extra_desktop_entries/d' \ /usr/share/applications/chromium.desktop
THank you for posting the sed command to fix it.
For those who are still facing this issue, use the following command to fix it:
sudo sed -i \ -e 's/@@MENUNAME/Chromium/g' \ -e 's/@@usr_bin_symlink_name/chromium/g' \ -e 's/@@PACKAGE/chromium/g' \ -e 's/@@uri_scheme//g' \ -e '/^@@extra_desktop_entries/d' \ /usr/share/applications/chromium.desktop
Tnks bro, same bug here!
> sudo sed -i \
> -e 's/@@MENUNAME/Chromium/g' \
> -e 's/@@usr_bin_symlink_name/chromium/g' \
> -e 's/@@PACKAGE/chromium/g' \
> -e 's/@@uri_scheme//g' \
> -e '/^@@extra_desktop_entries/d' \
> /usr/share/applications/chromium.desktop
This also fixed it for me. Well done on the quick fix.
Confirming both the problem (this morning's omarchy-update broke my access to browser from the Omarchy menu) and the fix posted upthread working to correct it. And, yes, I'm on the master branch, nothing exotic.
Same issue - Fresh install, 3.3 iso straight into update. Rollbacks did not work. west-matt's fix did not work. Reinstalling.
Hour 1 on Linux. All good. Chef's choice was for the OS to break immediately. No free will.
Hi everyone, I've been using a slightly different method to access Chromium until the problem is resolved directly in a future omarchy-update. It's a temporary solution until the problem is fixed and also avoids using any separate commands.
I simply use the name google in the applications menu, and this redirection opens Chromium.
It's a basic way until the problem is actually solved.
https://github.com/user-attachments/assets/6f88b55f-297b-43a4-887a-7816ce844add
A hotfix migration has been pushed for master to switch from the Omarchy Chromium fork to the mainline Chromium release. This fixes the issue. We no longer needed a fork now that all theme support has been accepted upstream. If you run Update > Omarchy you should get this. Sorry for the trouble!
Why we are using Chromium , why not firefox
Updated again after the hotfix and it didn't help, also tried reinstalling and didn't work either