Skip to content

Unable to edit/update catalog #3

@karthick-kk

Description

@karthick-kk

I have a problem editing the content inline from shellmarks catalog. When I click the edit button, below error is seen on the terminal

Failed to open script for editing: The EDIT action is not supported on the current platform!
java.lang.UnsupportedOperationException: The EDIT action is not supported on the current platform!
	at java.desktop/java.awt.Desktop.checkActionSupport(Unknown Source)
	at java.desktop/java.awt.Desktop.edit(Unknown Source)
	at ca.weblite.shellmarks.Main$5.lambda$editScript$6(Main.java:1812)
	at java.base/java.lang.Thread.run(Unknown Source)

(java:20395): Gdk-WARNING **: 09:49:14.987: XSetErrorHandler() called with a GDK error trap pushed. Don't do that.

This is on Ubuntu 20.04 Gnome 3.36, GTK 3. Tried to fallback to GTK2(shellmarks -Djdk.gtk.version=2), neither didn't help.
Tried next on WSL with display export. Got the same message"EDIT action is not supported on the current platform!"

Is there any documentation reference explaining the platform requirements for complete gui functionality of catalo.

My second query is on the customizing the default catalog section. This looks to come from https://github.com/shannah/shellmarks/blob/master/src/main/resources/ca/weblite/shellmarks/welcome.adoc However I do not find an adoc in ~/.shellmarks folder. Is there a way to customize this content?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions