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

Main.util is undefined #217

Open
lsatenstein opened this issue Oct 20, 2019 · 3 comments
Open

Main.util is undefined #217

lsatenstein opened this issue Oct 20, 2019 · 3 comments

Comments

@lsatenstein
Copy link

I discovered, using xorg, alt-f2-->lg
With Centos 8 streamer, taskbar works as it did before all the Gnome changes to api's
With Fedora 31 Main.Util is undefined.
How do I find it's replacement? If I can do the change, I may have a gnome 3.34 working taskbar to upload.
TaskBar is what Frippery application should be aiming to provide.

Help with info to resolve Main.Util.

@c0ldplasma
Copy link

c0ldplasma commented Jan 5, 2020

I fixed it on Fedora 31 Gnome 3.34.

Steps:

  1. Add const Util = imports.misc.util; in extension.js at the top section where all the imports are.
  2. Replace all occurrences of Main.Util.trySpawnCommandLine with Util.spawnCommandLine in extension.js
  3. Replace all occurences of global.screen with global.workspace_manager in extensions.js AND windows.js

Fixed version: TaskBar@zpydr_gnome_3.34_fix.zip

@c0ldplasma
Copy link

Created a fork for supporting new gnome versions: https://github.com/c0ldplasma/gnome-shell-extension-taskbar/

@lsatenstein
Copy link
Author

I have an older taskbar that mostly works. It only stops if I enable/disable a concurrent extension.
I prefer taskbar to dash-to- whatever

I will try your fork and get back to you ASAP

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

No branches or pull requests

2 participants