Argos menus won't open on Ubuntu 20.04 - Is it a known issue?
iyuvalk opened this issue · comments
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?
have you tried this version that seems to work with gnome 3.38?
https://github.com/rammie/argos/tree/gnome-3.36
@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/argos@pew.worldwidemann.com/menuitem.js:25:5
_processOutput@/home/yuval/.local/share/gnome-shell/extensions/argos@pew.worldwidemann.com/button.js:200:20
wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:82:27
_update/<@/home/yuval/.local/share/gnome-shell/extensions/argos@pew.worldwidemann.com/button.js:95:16
spawnWithCallback/<@/home/yuval/.local/share/gnome-shell/extensions/argos@pew.worldwidemann.com/utilities.js:268:7
readStream/<@/home/yuval/.local/share/gnome-shell/extensions/argos@pew.worldwidemann.com/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?
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, {-:
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?