Browser link to html

Hi

I am a simple user, with Ubuntu-Mate 24.04.4 LTS as of today.

Say, I put a website html link on my desktop (e.g. for instance this site or whatsapp web).
Before the last few updates such link was opening the webpage automatically with my default browser (e.g. Firefox).
Now it doesn’t it…it opens something else.
Each time I reboot the computer I have to open by associating through right-clicking ‘open with’ or by going to Properties. If I close the page and re-open, it keeps it while the laptop is powered up, though.
There is more soul searching issues then this, mind you…, but any of you know why it is not persistent any more ?
Or about this simple thing to do that I haven’t identified ?

Thank

W

1 Like

can you show properties of the file, it should be HTML document (text/html)

made a bob.desktop, edited as:

[Desktop Entry]
Encoding=UTF-8
Name=Link to YouTube
Type=Link
URL=https://youtube.com/
Icon=mate-fs-bookmark

when I click, FF starts and displays the YT page.

Edited the file again as:

[Desktop Entry]
Encoding=UTF-8
Name=Link to whatsapp
Type=Link
URL=https://web.whatsapp.com/
Icon=mate-fs-bookmark

when I click on it, it brings the whatsapp page and asks me to sync my phone.

FF has a toolbar (right click on the first line of FF where Help is),
Bookmark Toolbar always show
then you can drag the whatsapp there instead of your Desktop.

I prefer this method so my Desktop is completely empty.
here’s screenshot from another pc with many links
image

1 Like

Hmm… Create a launcher?

My UM 24.04 correctly launches html link created by drag & drop.

1 Like

To confirm, issue is with a “drag+drop” URL from browser address box to desktop. Correct? If so …

[1] - Launcher Content

If you open the *.desktop file with a text editor, what does that contain?

If you create a “link” with your new OS image, is the format of the launcher contents different from the format for an “ancient” launcher created before your latest OS upgrade?


[2] - Launcher Privileges

Sometimes, that launcher needs to be assigned “execute” privileges. That could be on an individual launcher basis, or you need to set a generic global setting using dconf-editor.


[3] - Default App not set for filetype

On the URL launcher (not a stored htm/html file),

  • right-click to choose “Open With”
  • then choose “Other Application”
  • then choose the preferred browser App
  • then click the checkbox for “make default for all …”, as shown below

1 Like