Open GaurangTandon opened 4 years ago
I tried installing by pipx
(for v3.7.0) but I can't run it, logs:
~ pipx install guake
installed package guake 3.7.0, Python 3.8.2
These apps are now globally available
- guake
- guake-toggle
done! ✨ 🌟 ✨
~ guake-toggle
Traceback (most recent call last):
File "/home/gt/.local/bin/guake-toggle", line 8, in <module>
sys.exit(toggle_guake_by_dbus())
File "/home/gt/.local/pipx/venvs/guake/lib/python3.8/site-packages/guake/guake_toggle.py", line 2, in toggle_guake_by_dbus
import dbus
ModuleNotFoundError: No module named 'dbus'
~ guake
Traceback (most recent call last):
File "/home/gt/.local/bin/guake", line 5, in <module>
from guake.main import exec_main
File "/home/gt/.local/pipx/venvs/guake/lib/python3.8/site-packages/guake/main.py", line 41, in <module>
from guake.support import print_support
File "/home/gt/.local/pipx/venvs/guake/lib/python3.8/site-packages/guake/support.py", line 5, in <module>
import gi
ModuleNotFoundError: No module named 'gi'
I have the same problem in Ubuntu 20.04, and I have to manually launch Guake on boot, The output of the command is:
Same case here, running Xubuntu 20.04
Same here, Ubuntu 20.04. In my case, even if I open the "main app" from the menu, it fails to load. It only loads the terminal dock if I open the "preferences app". I've tried a variety of ways to auto start, including manually tinkering with the "Start up applications" of Ubuntu. None of the preference settings seem to have a positive effect.
For @GaurangTandon, try the following commands:
sudo apt-get install python3-gi
pip install dbus
And that should resolve your dependency issues. dbus not installing as a dependency is probably an error, will check our packaging, and we're going to need to figure out a way to install the gi dependency from just pip. For the others, you may not be experiencing the exact same issue as the original poster; can you run guake
from a terminal and report back on the error message?
@Davidy22 Thanks for your response! Unfortunately, it seems dbus is not even a package on the pypi repo so I'm not sure how the pip install is going to work. When I run it I get the error:
ERROR: Could not find a version that satisfies the requirement dbus (from versions: none)
ERROR: No matching distribution found for dbus
as expected.
Oh, whoops, dbus-python. Should have import name dbus.
@Davidy22 Sorry for my late followup. See the logs, I ran them on a fresh Ubuntu install:
$ sudo apt-get install python3-gi
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-gi is already the newest version (3.36.0-1).
python3-gi set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ python3 -m pip install dbus-python
Requirement already satisfied: dbus-python in /usr/lib/python3/dist-packages (1.2.16)
$ pipx install guake
installed package guake 3.7.0, Python 3.8.10
These apps are now globally available
- guake
- guake-toggle
done! ✨ 🌟 ✨
$ guake-toggle
Traceback (most recent call last):
File "/home/gt/.local/bin/guake-toggle", line 8, in <module>
sys.exit(toggle_guake_by_dbus())
File "/home/gt/.local/pipx/venvs/guake/lib/python3.8/site-packages/guake/guake_toggle.py", line 2, in toggle_guake_by_dbus
import dbus
ModuleNotFoundError: No module named 'dbus'
I also tried installing into the virtualenv itself:
$ source ~/.local/pipx/venvs/guake/bin/activate
(guake) $ pip install dbus-python
Requirement already satisfied: dbus-python in /usr/lib/python3/dist-packages (1.2.16)
Please suggest what else to do.
Oh, don't install via pipx, Guake has dependencies outside python that aren't seen inside the pipx environment, just use pip to install guake. Uninstall via pipx to be sure that it doesn't continue to try to open the pipx version
@Davidy22 That didn't help, unfortunately :/ I launched guake
via terminal, set auto-start on login in preferences, but it still does not autostart.
Hrm. For now, you can use ubuntu's general startup programs menu, and we'll look into this a bit more
Hrm. For now, you can use ubuntu's general startup programs menu, and we'll look into this a bit more
No. As guake remove itself from startup programs.
I still need to launch guake manually on ubuntu 22.04:
If the guake checkbox to open on startup doesn't work and guake doesn't show up on ubuntu's startup programs list, you can also try just setting the guake shell command to run at startup
Everytime I restart my pc, I have to manually launch Guake on boot. Here is my settings screenshot:
As you can see "Start Guake on login" is checked, so I am not sure what else to do.
Please run
$ guake --support
, and paste the results here. Don't put backticks (`
) around it! The output already contains Markdown formatting. And make sure you run the command OUTSIDE the Guake.$ guake --support
Guake Version: 3.6.3 Vte Version: 0.60.3 Vte Runtime Version: 0.60.3 -------------------------------------------------- GTK+ Version: 3.24.20 GDK Backend: GdkX11.X11Display -------------------------------------------------- Desktop Session: ubuntu -------------------------------------------------- Display: :0 RGBA visual: True Composited: True * Monitor: 0 - BOE eDP-1 * Geometry: 1360 x 768 at 0, 0 * Size: 344 x 193 mm² * Primary: True * Refresh rate: 59.96 Hz * Subpixel layout: unknown