Guake / guake

Drop-down terminal for GNOME
https://guake.github.io
GNU General Public License v2.0
4.37k stars 577 forks source link

Guake fails to start. #2237

Closed davidctinescu closed 3 months ago

davidctinescu commented 3 months ago

Describe the bug

Guake fails to start.

Expected behavior

Guake starts normally.

Actual behavior

Guake exits with an error:

Guake not running, starting it
Loading Gnome schema from: /home/user/.local/lib/python3.10/site-packages/guake/data
Language previously loaded from: /home/user/.local/lib/python3.10/site-packages/guake/po
Guake Terminal 3.10
VTE 0.68.0
Gtk 3.24.33
created fresh notebook for workspace 0
Spawning new terminal at /home/user
current workspace is 0
can't bind show-focus key
Guake initialized
Calling startup script: zsh -c "fortune | cowsay"
Traceback (most recent call last):
  File "/home/user/.local/bin/guake", line 8, in <module>
    sys.exit(exec_main())
  File "/home/user/.local/lib/python3.10/site-packages/guake/main.py", line 664, in exec_main
    if not main():
  File "/home/user/.local/lib/python3.10/site-packages/guake/main.py", line 646, in main
    pid = subprocess.Popen(  # pylint: disable=consider-using-with
  File "/usr/lib/python3.10/subprocess.py", line 971, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.10/subprocess.py", line 1863, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'zsh -c "fortune | cowsay"'

To Reproduce

Running Guake normally


$ guake --support Guake Version: 3.10 Vte Version: 0.68.0 Vte Runtime Version: 0.68.0 -------------------------------------------------- GTK+ Version: 3.24.33 GDK Backend:
davidctinescu commented 3 months ago

Had to run: guake --save-preferences pref.txt Then modify the file to remove startup-script='zsh -c "fortune | cowsay"' and [hooks] show="zsh -c "fortune | cowsay"" And finally restore the preferences using: guake --restore-preferences pref.txt