Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

Error opening x-github-classroom:// on XFCE with workaround #186

Open
klaeufer opened this issue Sep 15, 2020 · 1 comment
Open

Error opening x-github-classroom:// on XFCE with workaround #186

klaeufer opened this issue Sep 15, 2020 · 1 comment

Comments

@klaeufer
Copy link

OS: GalliumOS 3.1 (based on Xubuntu 18.04)

When starting classroom-assistant, the following error message appears

[16:36:05.820] [warn] Failed to set Protocol Handler on Linux: Error: Command failed: xdg-settings set default-url-scheme-handler x-github-classroom classroom-assistant.desktop
xdg-settings: default-url-scheme-handler not implemented for xfce

During the subsequent OAuth sequence, the redirect from the browser back to classroom-assistant does not work.

It started working after executing the following command, which seems to be more widely supported than xdg-settings:

xdg-mime default classroom-assistant.desktop x-scheme-handler/x-github-classroom
@dranidis
Copy link

dranidis commented Jan 19, 2021

OS: 5.10.2-2-MANJARO KDE

Same problem here.

Adding the line:

MimeType=x-scheme-handler/x-github-classroom

in /usr/share/applications/classroom-assistant.desktop did the trick for me.

Run:

sudo update-desktop-database

after editing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants