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

Argos menus won't open on Ubuntu 20.04 - Is it a known issue? #120

Open
iyuvalk opened this issue Oct 13, 2020 · 5 comments
Open

Argos menus won't open on Ubuntu 20.04 - Is it a known issue? #120

iyuvalk opened this issue Oct 13, 2020 · 5 comments

Comments

@iyuvalk
Copy link

iyuvalk commented Oct 13, 2020

I'm using this script (from the README):

#!/usr/bin/env bash

echo "top"
echo "---"

if [ "$ARGOS_MENU_OPEN" == "true" ]; then
  # http://stackoverflow.com/a/14853319
  TOP_OUTPUT=$(top -b -n 1 | head -n 20 | awk 1 ORS="\\\\n")
  echo "$TOP_OUTPUT | font=monospace bash=top"
else
  echo "Loading..."
fi

When I click the icon on the bar nothing happens. Is this normal?

@plegrand1
Copy link

have you tried this version that seems to work with gnome 3.38?
https://github.com/rammie/argos/tree/gnome-3.36

@iyuvalk
Copy link
Author

iyuvalk commented Oct 16, 2020

@plegrand1, Thanks for the quick response!! I tried it now (removed argos, cloned it, copied it to ~/.local/share/gnome-shell/extensions/, restarted Gnome by Alt+F2 and clicked 'r' and enabled it again) and it didn't work too. ):

I ran journalctl /usr/bin/gnome-shell -f and this is what I found:

-- Logs begin at Fri 2020-07-17 03:00:18 IDT. --
Oct 16 13:06:33 yuvalk gnome-shell[2458]: JS ERROR: Error: Tried to construct an object without a GType; are you using GObject.registerClass() when inheriting from a GObject type?
                                          ArgosMenuItem@/home/yuval/.local/share/gnome-shell/extensions/[email protected]/menuitem.js:25:5
                                          _processOutput@/home/yuval/.local/share/gnome-shell/extensions/[email protected]/button.js:200:20
                                          wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:82:27
                                          _update/<@/home/yuval/.local/share/gnome-shell/extensions/[email protected]/button.js:95:16
                                          spawnWithCallback/<@/home/yuval/.local/share/gnome-shell/extensions/[email protected]/utilities.js:268:7
                                          readStream/<@/home/yuval/.local/share/gnome-shell/extensions/[email protected]/utilities.js:280:7

I also looked at the "About" window and found out that my Gnome version is 3.36.3.

Do you have any other idea?

@iyuvalk
Copy link
Author

iyuvalk commented Oct 16, 2020

Oh... That was silly.... I cloned it from the master and not from the branch and now it works perfectly (-:

Sorry for the trouble... <-:

Tnx, {-:

@iyuvalk
Copy link
Author

iyuvalk commented Oct 17, 2020

Just one last thing... This version works well and the menus do open but for some reason I cannot set the text color... the background color works correctly though.

Is that normal?

@plegrand1
Copy link

plegrand1 commented Oct 18, 2020 via email

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