-
Notifications
You must be signed in to change notification settings - Fork 53
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
Gnome 41 support #158
Comments
-- Journal begins at Mon 2021-05-10 13:40:14 CST. -- |
In their infinite wisdom the Gnome team decided to just break userspace abruptly: https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1970 Essentially this extension has to be reimplemented using The alternative is using unsafe mode, which you can do by using this: |
Thanks for the heads up. Looks like it won't be an easy change. |
Hello, I'm the author of said extension. Basically, that extension works by enabling unsafe_mode from Mutter global context (which you can always do from LG or from your own extension, just see the source code itself). The problem is this mode is (surprise!) unsafe for end users, since this enable arbitrary code executions (just like ol' GNOME 3 days) by abusing Since security is a big issue, and nobody wants some rogue apps, scripts or extensions running malicious codes on their machine because an extension just open up the possibility to, I've since inactivated the extension, but you can still install the extension from the source code. So you can either:
|
Is there a usable workaround for Gnome 41 now, or not? I just upgraded to Fedora 35 beta and find myself without this very useful extension ;-) thanks for any info on that |
@stefangweichinger Since you're using Fedora 35, you might as well use this: https://copr.fedorainfracloud.org/coprs/yalter/gnome-shell-screenshot-ui/ It has a new "native" screenshot ui that will probably be enough for most people. I'm using that for now. |
@saboya thanks. "Everybody else should avoid this repo." sound good ;-) |
Mmm, really miss this extension. I had a look now at the 'Default Gnome Screenshot tool', and was actually rather positive about it's capabilities: Only thing I miss is your nice 'menu' item... So I wonder (and that would be my question) if it would be doable to 'merge' your menu with the workings of the screenshot tool? |
for those who can't wait any longer, I pushed this branch here https://github.com/OttoAllmendinger/gnome-shell-screenshot/tree/gnome41-unsafe-mode |
Sorry, @OttoAllmendinger, the above "unsafe" fix doesn't work for me; i.e., same |
@moore-bryan that is because there is an error in the code. In his hast @OttoAllmendinger forgot to add I applied these changes manually within my global.context.unsafe_mode = true; Reloaded Gnome-Shell and now it is working like a charm again. |
@BlackDex are you sure about the comma? It is already an array? I checked out the gnome41-unsafe-mode and did the install as written in readme and extension is working here (Debian testing). No comma needed, both with (an optional) and without it works. Only change I see is the 'broken lock' icon, probably because it is 'unsafe'? |
@rduivenvoorde , normally javascript array's need a Could be that it is causing issues now, but maybe no critical items. Also since the metadata just has one element, which is no issue there. |
Well, the comma is irrelevant for me because I'd already adjusted the metadata.json file to include the correct version and adding the code at line 1289 breaks everything; that is, without it, the icon will load but I can't screenshot and with it the extension cannot be enabled at all. |
I'm having the same problem now. I should've known this is my most used extension. |
That is correct. I was also wondering what this icon was... |
My workaround is to have the |
The trouble of memorizing all those shortcuts, especially when you only need screenshots once in a while, was most people's reason for using this extension (imho). No need to remember, just use the convenient menu. |
portal support: #168 |
Version with Gnome 41 support is now active in the store. |
It seems haven‘t gnome 41 ready yet?
The text was updated successfully, but these errors were encountered: