GNOME 40 login is to the activities/overview mode, how do you disable this?

It depends. It does what it says on the tin, that is, it disables the overview altogether. For the users who are only asking for not logging into the overview, that’s quite a downside.

I don’t find the overview to be blocked in my Fedora 34 VM:

Then you are lucky and the hasOverview change happens after the session-updated handler that updates the overview.

Try after locking the screen …

Well, after resuming from lock, it does not block the overview either…
I must say I did test that before posting the test-code here :slight_smile:

Ah right, I see why that is working. Still, that’s very much incidental, so you don’t get to complain if something breaks in a future update.

One thing I see that will be broken are the super+number shortcuts to activate a dash icon (until the screen is locked, which should reset hasOverview to the “correct” value again)

Ok, let’s try this. For users, the legacy code still is commented out in extension.js. I’ll revert this new version if it turns to show hidden side effects bugs. Florian, I included a timeout to restore hasOverview to true, to avoid keeping this fake value to false.

This is the safest and most correct version I can think of off-hand:

class Extension {
    constructor() {
        this._realHasOverview = Main.sessionMode.hasOverview;

    enable() {
        if (!Main.layoutManager._startingUp)

        Main.sessionMode.hasOverview = false;
            () => (Main.sessionMode.hasOverview = this._realHasOverview));

    disable() {
        Main.sessionMode.hasOverview = this._realHasOverview;

It doesn’t do anything when enabled inside the session (rather than during startup), and resets the session mode value to the original after the startup animation (instead of after an arbitrary timeout).

1 Like

Ok thanks!
I tested this and did not have any issue nor message in logs. The hasOverview value is restored. So, let’s go for it.

Do you know a way to know if gnome is cold starting vs back from sleep vs back from screen-lock?

No really.

From an extension, Main.layoutManager._startingUp can be used to determine whether it is enabled before any user interaction is possible (that is, as part of the session startup).

Assuming a logind system, LoginManager's prepare-for-sleep signal has an aboutToSuspend parameter that indicates whether the computer is going to (true) or coming back from sleep (false).

But there’s not really a way to differentiate from an extension whether it is enabled explicitly by the user (installing via the website, toggling in Extensions/Tweaks) or automatically by gnome-shell on unlock.

1 Like

Thank you for the extension and collaboration on proper implementation of it. My thought process behind {topic} is not technical, it’s psychological. When I log in, I want a brief moment of peace to sip my coffee. see my background, take a deep breath, then decide when I want to take that first action for work for the day. I don’t need my OS telling me when I log in that “You must do something immediately!”.

I don’t usually use Activities to launch programs, I use keyboard shortcuts (at least for the most common apps like browser and terminal). Therefore the forced Activities mode on launch is an annoyance for me. It’s a bit like that spurious clock screen (“shield”) that Gnome shows on each wakeup: Not a big inconvenience, but it kind of reminds me every day that I’m using a desktop environment that I can’t configure properly. I use Gnome because it’s the default, it’s well supported, and quite customizable. I like Gnome, I really do. But Linux users love freedom. Please, guys, would it really hurt so much to add a few more settings?

I usually press “win” key and then search for an app to start. Starting gnome in overview mode brakes down this habit.
I vote for a setting to start Gnome with empty desktop and not in overview mode.

The default to overview is a great annoyance to me personally.
I have applications I always want to have open start on login automatically and launch other apps via keyboard shortcuts only. I neither use the dock nor the application menu.

This forced start in overview forces me to press the super key once after every login to be able to interact with applications which already are launched and waiting.


Okay, time to close this topic, since it’s just a bunch of irrelevant “me too” and “I’ve seen a desktop once listen to me” posts, and people have clearly stopped reading.

1 Like