Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rnbdsh@negateWindow: error during installation #595

Open
qadzek opened this issue Apr 9, 2024 · 2 comments
Open

rnbdsh@negateWindow: error during installation #595

qadzek opened this issue Apr 9, 2024 · 2 comments
Labels

Comments

@qadzek
Copy link
Contributor

qadzek commented Apr 9, 2024

Extension version/Build date

Version 0.02

Cinnamon version

Cinnamon 6.0.4

Distribution

Linux Mint 21.3

Graphics hardware and driver used

No response

Extension name and maintainer

rnbdsh@negateWindow @rnbdsh

What happened?

Hi @rnbwdsh, thanks for creating this extension.

When installing the extension, I receive this error:

Something went wrong while loading rnbdsh@negateWindow. Please make sure you are using the latest version, and then report the issue to its developer.

~/.xsession-errors shows this error:

 Gjs-Message: 13:33:16.184: JS LOG: [LookingGlass/error]
  [rnbdsh@negateWindow]: Type name Gjs_InvertWindowEffect is already registered
  [rnbdsh@negateWindow]: Error importing extension.js from rnbdsh@negateWindow
  Gjs-Message: 13:33:16.184: JS LOG: [LookingGlass/trace]

As noted by @aherrman on the extension's page, the solution is simply to change the name field on line 18 in ~/.local/share/cinnamon/extensions/rnbdsh@negateWindow/extension.js to something more unique.

By the way, it would also be nice if the Super+i key binding wasn't hardcoded, but was configurable in the Extensions GUI instead.

Other information

No response

@qadzek qadzek added the BUG label Apr 9, 2024
@rnbwdsh
Copy link
Contributor

rnbwdsh commented Apr 10, 2024

Hi.
I can't reproduce that.
I tried checking out the whole extensions repo and running rg InvertWindowEffect ., shows no other files that use that name. Same for my local ~/.local/share/....

@qadzek
Copy link
Contributor Author

qadzek commented Apr 10, 2024

Thanks for your reply.
I can't find another file on my system or in the Linux Mint GitHub repositories that uses that name.
I have two workstations, both using the same versions of Linux Mint and Cinnamon, and only one of them has this issue, on the other I could install the extension without any problem.
So I don't have any idea what could be causing this. There was at least one other user who encountered this though.

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

No branches or pull requests

2 participants