In Ubuntu 18.04, Plasma desktop, i open dolphin, right-click -> Create new -> Link to location (URL). This creates a weblink using a .desktop file. The contents of my file after creation are

[Desktop Entry]

When I click on the file, I expect a browser to open and load the proper website. Instead, I get

Failed to add a plugin to the panel
No running instance of xfce4-panel was found

This used to work before the OS upgrade. What's going on here?

  • 2
    You write "In Ubuntu 18.04, Plasma desktop" and then later on you have Failed to add a plugin to the panel and No running instance of xfce4-panel was found. Now why would "Ubuntu 18.04, Plasma desktop" come up with such a response? On a pure Kubuntu 18.04, things work just as you describe using Dolphin, no errors or mention of plugins or xfce4-panel: just the creation of a file that when double-clicked opens the default browser to the desired link. To my mind, you have a somewhat mixed-up system. You do mention "OS upgrade". Maybe that has something to do with the confusion? – DK Bose Oct 31 '18 at 13:19
  • 2
    Well, you're seeing the effects of whatever you've installed. On a pure system, things work as you describe. – DK Bose Oct 31 '18 at 14:05
  • 2
    Let's see. Do you know whether you have any application with xfce4 in its name? What does apt list --installed | grep -i xfce4 show you? – DK Bose Oct 31 '18 at 14:11
  • 2
    But you're seeing evidence of that. Anyway, all the best. – DK Bose Oct 31 '18 at 14:27
  • 1
    It would certainly be helpful to add the information that @DKBose's comments brought to light to your question. Assuming there's a way to resolve the conflict, it's surely more likely that someone here will find it for you if we know the cause. Comments are mainly for working to clarify and improve posts, so they are often deleted once that process has been successful – Zanna Oct 31 '18 at 15:52

Try creating a desktop file like so:

[Desktop Entry]
Name=(Name of the site)
Comment=(A description of it)
TryExec=(Path or command for your browser) (URL)
Exec=(Path or command for your browser) %F
Actions=(Any context menu actions you want, each ending with “;”, no whitespace)

Append to the file for each action:

(Empty space)
[Desktop Action (action name)]
Exec=(Command or path)
Name=(Context menu name)
Icon=(The icon for it)

That’s it! It might take longer, but is a workaround for it.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.