-
Notifications
You must be signed in to change notification settings - Fork 6
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
Issue installing on Ubuntu 20.04 #37
Comments
Hi @asarchami , grep -r 'AnotherWindowSessionManagerPrefs' /home/ali/.local/share/gnome-shell/extensions/ Please use the above command line to check out how many There is probably another extension using the same name gnome-shell-extension-another-window-session-manager/prefs.js Lines 7 to 10 in 818af8a
The name https://gjs.guide/guides/gobject/subclassing.html#subclassing-gobject |
Does your Ubuntu 20.04 use Gnome 3.36.8? I learned that Ubuntu 20.04 LTS is using Gnome 3.36.8. But currently this extension only supports Gnome 40 and 41. I will check if it supports Gnome 42 recently. P.S. Ubuntu 20.04 LTS has a long-time support, which is until April 2025. Maybe I should consider to support Gnome 3.36 and 3.38. |
I think that's the issue. Thanks. |
Hi! |
I guess there are a lot of changes have been made between Gnome 3.3x and Gnome 40+, I don't have enough time for supporting Gnome 3.3x. I want to support Gnome 3.3.x, but the priority is not high. |
Hi guys, I just tested on Fedora 33 with Gnome shell 3.38.1. The main feature works actually, I mean save, restore and move session. The Preferences is written in Gtk4 and Gnome shell 3.38 and 3.36 only support gtk3, so you cannot open Preferences. |
Hi @nlpsuge Thank you so much for revisiting this issue. It's awesome that it works on older versions, even if no configuration is possible. Thanks again! |
Hi, sorry for not mentioning that important info. I enable it in the page https://extensions.gnome.org/extension/4709/another-window-session-manager/ in Firefox. But I think it's because something is not up to date, so I can enable it. I tested it on the Fedora 33 Live Desktop and didn't update it. If this is not working for you, you can add the gnome shell version to {
"_generated": "Generated by SweetTooth, do not edit",
"description": "Close and save open windows. And restore them. Most importantly, it supports both X11 and Wayland!\n\nMain features:\n- Close open windows\n- Close apps with multiple windows via `ydotool` so you don't lose sessions of this app. Please see https://github.com/nlpsuge/gnome-shell-extension-another-window-session-manager#how-to-restore-a-session-at-startup to learn how to make `Close by rules` work\n- Save open windows\n- Restore session(s)\n- Restore a session at startup. Please note that this feature is disabled by default. See https://github.com/nlpsuge/gnome-shell-extension-another-window-session-manager#how-to-restore-a-session-at-startup to learn how to enable and use it\n- Restore window state, including Always on Top, Always on Visible Workspace and maximization\n- Restore window workspace, size and position\n- Move windows to their own workspace according to a saved session\n- Support multi-monitor\n- Trash saved session\n- Search saved session by the session name fuzzily",
"name": "Another Window Session Manager",
"shell-version": [
"3.38",
"40",
"41",
"42"
],
"url": "https://github.com/nlpsuge/gnome-shell-extension-another-window-session-manager",
"uuid": "[email protected]",
"version": 24
} |
And recently the https://extensions.gnome.org/local/ allow you to enable incompatible / outdated extensions. |
@nlpsuge I'm using Debian 11 with GNOME Shell 3.38.6. Two weeks ago, the extensions still worked, but now there is this error 🤔 : The settings of extension [email protected] had an error:
Stack trace:
|
|
@nlpsuge I'm not sure, if I understood it correctly: I've checked now that there is no duplicate folder of this session-manager somewhere in Are there any files (e.g., stored session files) stored outside the folder |
Can you search for And you can also modify vim ~/.local/share/gnome-shell/extensions/[email protected]/prefs.js
# search AnotherWindowSessionManagerPrefs and modify it
|
Where are saved session data stored on disk? Using grep, results in:
Interesting observation:
The settings of extension [email protected] had an error:
Stack trace:
The settings of extension [email protected] had an error:
Stack trace:
|
They are in
Please note that this extension supports Gnome 40+. There will be some problems when you are using it on versions that less than Gnome 40.
Did the gnome shell update recently? And try to use the previous version of AWSM, you can download it from https://extensions.gnome.org/extension/4709/another-window-session-manager: |
What is the version of |
The thing is, that all my stored sessions vanished from the list and only the buttons Now, when I delete the whole session folder and then save a new session, it shows up in the extension's session list as usual. But I can observe, when I now disable and again enable the extension, the sessions again vanish in the list. I think, that neither I've tested all other version of the extension as well. They all behave in the same way, with the errors. I must have overlooked something. But I don't want to bother you with the problem, since your extension is only supported for Gnome 40+. :) |
When I try to install the extension I get the following error.
I
Error: Type name AnotherWindowSessionManagerPrefs is already registered
Stack trace:
_init/GObject.Object._classInit@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:448:27
registerClass@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:94:22
@/home/ali/.local/share/gnome-shell/extensions/[email protected]/prefs.js:7:23
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:204:33
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132:13
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:175:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
run@resource:///org/gnome/gjs/modules/script/package.js:222:19
start@resource:///org/gnome/gjs/modules/script/package.js:206:5
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17
The text was updated successfully, but these errors were encountered: