TypeError: Main.panel.statusArea.activities is undefined

Problem: Gnome menu is missing on top panel. Was forced to create hotkeys for GUI applications since there is no accessible menu and it errors out when trying to access extensions.


 ██████████████████  ████████     ryan@xmg
 ██████████████████  ████████     OS: Manjaro 21.3.1 Ruah
 ██████████████████  ████████     Kernel: x86_64 Linux 5.18.9-262-tkg-pds
 ██████████████████  ████████     Uptime: 1h 56m
 ████████            ████████     Packages: 1466
 ████████  ████████  ████████     Shell: zsh 5.9
 ████████  ████████  ████████     Resolution: 3840x2160
 ████████  ████████  ████████     DE: GNOME 42.3
 ████████  ████████  ████████     WM: Mutter
 ████████  ████████  ████████     WM Theme: 
 ████████  ████████  ████████     GTK Theme: Adwaita-dark [GTK2/3]
 ████████  ████████  ████████     Icon Theme: Papirus-Dark
 ████████  ████████  ████████     Font: Noto Sans 14
 ████████  ████████  ████████     Disk: 179G / 941G (20%)
                                  CPU: 11th Gen Intel Core i7-11800H @ 16x 2.3GHz [48.0°C]
                                  GPU: NVIDIA GeForce RTX 3080 Laptop GPU
                                  RAM: 18676MiB / 64089MiB
journalctl -b 0 | grep -i "TypeError: Main.panel.statusArea.activities is undefined"                                                                                                                                                                          INT ✘ 
Jul 03 15:21:38 xmg gnome-shell[1218]: JS ERROR: Extension arcmenu@arcmenu.com: TypeError: Main.panel.statusArea.activities is undefined
Jul 03 15:22:10 xmg gnome-shell[1218]: JS ERROR: TypeError: Main.panel.statusArea.activities is undefined
Jul 03 15:22:16 xmg gnome-shell[1218]: JS ERROR: TypeError: Main.panel.statusArea.activities is undefined
Jul 03 15:22:23 xmg gnome-shell[1218]: JS ERROR: TypeError: Main.panel.statusArea.activities is undefined
Jul 03 15:22:32 xmg gnome-shell[1218]: JS ERROR: TypeError: Main.panel.statusArea.activities is undefined
Jul 03 15:22:32 xmg gnome-shell[1218]: JS ERROR: TypeError: Main.panel.statusArea.activities is undefined
Jul 03 15:22:36 xmg gnome-shell[1218]: JS ERROR: TypeError: Main.panel.statusArea.activities is undefined

Third-party kernels / repos are not supported.

What version of Arc Menu do you have installed? You should have v35.

pacman -Qi gnome-shell-extension-arcmenu

Either way, I can’t reproduce the issue. Try disabling all extensions, logging off and back in. Then only enable Arc Menu to see if you can reproduce it. If not, there is another conflicting extension.

I need to provide more information. After fighting for a while with Wayland/Nvidia/Gnome, I switched back to X11. In the route, at some point I broke the standard login template.

I had moved to SDDM temporarily and back to GDM.

I even reinstalled all the packages with
pacman -Qqn | pacman -S -

/usr/share/xsessions/gnome-classic-xorg.desktop

Comment=This session logs you into GNOME Classic
Exec=env GNOME_SHELL_SESSION_MODE=classic gnome-session
TryExec=gnome-session
Type=Application
DesktopNames=GNOME-Classic;GNOME;
X-GDM-SessionRegisters=true

/etc/X11/xorg.conf.d/90-nvidia.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 375.26
Section "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
    Option "AllowEmptyInitialConfiguration" "true"
EndSection

Section "Extensions"
    Option      "Composite" "Enable"
    Option	"RENDER" "Enable"
EndSection

And output of desktop echo

# echo $DESKTOP_SESSION
gnome-classic-xorg
# echo $XDG_SESSION_TYPE
x11

Why are you logged into a GNOME Classic session? :thinking: From the login screen, choose GNOME on Xorg.

1 Like

I stopped using Gnome Classic and removed all the profiles in /usr/share/xsessions . Reinstalled gnome-session to revert to default and am using Gnome regular without problems again.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.