Page 1 of 1
Microsoft Edge browser Linux version (deb package)
Posted: Fri Dec 22, 2023 7:46 pm
by bigpup
Microsoft Edge browser for Linux
Download web site:
https://www.microsoft.com/en-us/edge/do ... orm=MM145U
Below the nice pictures for the other OS's it has:
Microsoft Edge is now available on Linux.
Click on Download for Linux (.deb) to get the deb package of it.
After installing it by clicking on the deb package that downloaded.
To run it from the menu entry in menu ->Internet
It requires running with command: --no-sandbox added to the exec command.
Navigate to /usr/share/applications
Open the microsoft edge.desktop file in a text editor.
Add --no-sandbox to the exec line so it looks like this:
Code: Select all
Exec=/usr/bin/microsoft-edge-stable %U --no-sandbox
save the change.
Now it should run by clicking on it's menu entry.
I just did this, so I have no info on how to use it or do anything with it.
I guess we will all learn together!
from help: Microsoft Edge
Version 120.0.2210.91 (Official build) (64-bit)
This browser is made possible by the Chromium open source project and other open source software.
Microsoft Edge
© 2023 Microsoft Corporation. All rights reserved.
Working for me installed in Bookworm Pup64 10.0.3
.
.
- Screenshot(10).jpg (130.58 KiB) Viewed 3329 times
Re: Microsoft Edge browser Linux version
Posted: Fri Dec 22, 2023 11:48 pm
by mikewalsh
@bigpup :-
Erm; I hate to say it, Bigs, but.....you're a wee bit "late to the party" on this one. (Around 3 years too late, I believe...)
viewtopic.php?t=1150
Mind you, it's only in the last year or so it's finally started supporting Nvidia cards correctly under Linux. This is a function of some of MyCrudSoft's "custom" libraries they've bundled in with this; specifically written for some of Edge's 'special' (!!) features. These didn't play nice with the kernel for a long time....and the first two years-worth of Linux releases were strictly alpha/beta development builds, anyway.
It's probably fair to say it's been 'usable' as a daily browser for about 15 months, at this point. Do make sure you pay attention to the settings, and watch 'em like a hawk. M$ have a nasty habit of making the 'disable' for many functions 'enable' a bunch of other stuff you don't want, either! It's nearly as bad as the Yandex browser.......except instead of 'phoning home' to the KGB, you're 'phoning home' to the NSA instead.....
You really need to check the settings every time it updates.
(shrug...)
Mike.
Re: Microsoft Edge browser Linux version
Posted: Sat Dec 23, 2023 12:07 am
by rockedge
Tip:
To preserve the original .desktop
file:
Copy /usr/share/applications/microsoft-edge.desktop
to /root/.local/share/applications/microsoft-edge.desktop
In each section of the .desktop
file modify the line with Exec=
statements in /root/.local/share/applications/microsoft-edge.desktop
with:
Code: Select all
Exec=/usr/bin/microsoft-edge-stable --no-sandbox
All .desktop
files in /root/.local/share/applications/
take precedence and will not be over-written during any updates.
Re: Microsoft Edge browser Linux version
Posted: Sat Dec 23, 2023 5:14 am
by bigpup
@mikewalsh
Well, nothing says we cannot have a topic for the one you can download from Microsoft and a topic for your portable version.
They are actually two different packages.
This one is a deb package.
I am sure someone is going to go to the Microsoft web site for Edge and try to do what I report in this topic.
With your post having a link to the other topic.
Seems all bases are covered.
Thanks for the info on using the settings!
Re: Microsoft Edge browser Linux version (deb package)
Posted: Wed Jan 31, 2024 12:03 pm
by MartilloG
Ese código lo usé por mucho tiempo, pero ya no funciona esa solución como antes.
Code: Select all
Code: Select all
Exec=/usr/bin/microsoft-edge-stable --no-sandbox
Las más adecuadas y sin errores, es desde una terminal escribir cualquiera de estas:
Code: Select all
run-as-spot /opt/microsoft/msedge/microsoft-edge
Code: Select all
run-as-spot /usr/bin/microsoft-edge-stable
Code: Select all
run-as-spot /usr/bin/microsoft-edge
Saludos
Re: Microsoft Edge browser Linux version (deb package)
Posted: Wed Jan 31, 2024 1:00 pm
by MartilloG
Yo acabo de hacer esto. En la ruta:
/usr/share/applications
Crear un archivo nuevo, o si gustan modificar el archivo que ya existe para edge
Code: Select all
[Desktop Entry]
Version=1.0
Name=Microsoft Edge 01
GenericName=Web Browser 01
Comment=Access the Internet
Exec=run-as-spot /usr/bin/microsoft-edge-stable
StartupNotify=true
Terminal=false
Icon=microsoft-edge.png
Type=Application
Categories=WebBrowser
Re: Microsoft Edge browser Linux version (deb package)
Posted: Wed Jan 31, 2024 1:43 pm
by trawglodyte
MartilloG wrote: Wed Jan 31, 2024 12:03 pm
Las más adecuadas y sin errores, es desde una terminal escribir cualquiera de estas:
Code: Select all
Exec=run-as-spot /usr/bin/microsoft-edge-stable
Exec=/usr/bin/microsoft-edge-stable --no-sandbox
I've tested both "run-as-spot" and "--no-sandbox" with Brave browser and Vivaldi. Good to know Microsoft Edge can be hacked this way too. Pros and cons to either method. It seems to me the browser "complains" a bit with --no-sandbox, but the benefit is you can use it with your root account and have instant access to folders and files for upload/download at /root/. @MartilloG is correct that "run-as-spot" seems more error-free, less glitchy. But I went to upload a file this way and realized of course I can't reach my files at /root/ straight-away, (I'm sure people who do run-as-spot have ways to address this). But, yah, as far as browsers that don't launch when you install as root user, seems either hack will make them launch and either is good depending on what you want.
¡Saludos!
Re: Microsoft Edge browser Linux version (deb package)
Posted: Tue Feb 13, 2024 6:48 am
by MartilloG
Exec=/usr/bin/microsoft-edge-stable --no-sandbox
he intentado en diferentes instalaciones y Edge ya no inicia con ese comando, aunque anteriormente si iniciaba. Por eso recomendé el código nuevo
Re: Microsoft Edge browser Linux version (deb package)
Posted: Fri Jun 07, 2024 3:24 pm
by cumaron
Hello, I added the '--no-sandbox' to every Exec line in the .desktop file, restarted the XWindow system, but it did not work. There was simply no reaction when starting Microsoft Edge from the menu.
When I tried the terminal window, it started ok. What is the problem?
Many thanks
FossaPup64 version 9.6, released Mar 2023
Re: Microsoft Edge browser Linux version (deb package)
Posted: Fri Jun 07, 2024 6:32 pm
by rockedge
@cumaron Copy the /usr/share/applications/microsoft-edge.desktop
to /root/.local/share/applications/microsoft-edge.desktop
Open /root/.local/share/applications/microsoft-edge.desktop
with geany
and make the change here ->
Code: Select all
Exec=/usr/bin/microsoft-edge-stable --no-sandbox %U
and save it. Now run fixmenus
from a terminal or from the menu. This should work if the .deb
installed correctly
If it does not, make sure the symlink to the binary is in /usr/bin
Re: Microsoft Edge browser Linux version (deb package)
Posted: Fri Jun 07, 2024 10:03 pm
by sonny
rockedge wrote: Fri Jun 07, 2024 6:32 pm
@cumaron Copy the /usr/share/microsoft-edge.desktop
to /root/.local/share/applications/microsoft-edge.desktop
Open /root/.local/share/applications/microsoft-edge.desktop
with geany
and make the change here ->
Code: Select all
Exec=/usr/bin/microsoft-edge-stable --no-sandbox %U
and save it. Now run fixmenus
from a terminal or from the menu. This should work if the .deb
installed correctly
If it does not, make sure the symlink to the binary is in /usr/bin
Not to this one?
Re: Microsoft Edge browser Linux version (deb package)
Posted: Fri Jun 07, 2024 10:53 pm
by rockedge
@sonny yes, also in /home/spot/.local/share/applications
but with the --no-sandbox
parameter omitted.
Re: Microsoft Edge browser Linux version (deb package)
Posted: Sat Jun 08, 2024 3:18 pm
by cumaron
Thank you!! It works now.
Re: Microsoft Edge browser Linux version (deb package)
Posted: Mon Aug 05, 2024 12:12 pm
by AQUAR
I downloaded the latest .deb being Version 127.0.2651.86 (Official build) (64-bit).
The last exec line in the .desktop file has an extra inprivate flag see below (I added the --no-sandbox)
Viz Exec=/usr/bin/microsoft-edge-stable --inprivate --no-sandbox
Is the inprivate flag a new one?
Also Edge complained that --no-sandbox is an unsupported flag - is it still needed?
Despite the questions, edge seems to run fine on fossapup64 (but I never really used it before so time will tell).
Hopefully it won't freeze like firefox whilst navigating a particular banks web site.
What is the %U for that is shown sometimes after the --no-sandbox flag?
The other option to run as spot also worked for me (and without the --no-sandbox flag edge doesn't complain about unsupported flags).
Running the script in the opt directory (just following sym links here) tells you it can't run without the --no-sandbox option - find it interesting in learning these bit and pieces.
Re: Microsoft Edge browser Linux version (deb package)
Posted: Mon Aug 05, 2024 8:51 pm
by rockedge
What is the %U for that is shown sometimes after the --no-sandbox flag?
It's a parameter for the Exec key in .desktop files (defined in the Desktop Entry Specification) that describes how arguments to the program (from the file manager/program launcher, e.g. multiple selected files) should be handled:
-
%u
A single URL. Local files may either be passed as file: URLs or as file path.
-
%U
A list of URLs. Each URL is passed as a separate argument to the executable program. Local files may either be passed as file: URLs or as file path.
So, e.g., /usr/share/applications/gedit.desktop
contains:
Exec=gedit %U
which means that arguments to gedit will be treated as a list of URLs (or local files).