From 43d7925c1249d3a37e4e59d3b13aa2ae482eea3b Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 1 Oct 2026 08:51:01 +0000 Subject: [PATCH] menu: fix Clone and use Console for updates bails-menu called bails-clone, but the script is named bails-cloner, so the Clone button failed with "command not found". The Update Bitcoin Core and Update CipherStick actions launched gnome-terminal. Tails 7 replaced GNOME Terminal with GNOME Console (kgx), so both buttons did nothing. Launch them with kgx instead, keeping the same window titles. Console has no menubar option, so --hide-menubar is dropped. Claude-Session: https://claude.ai/code/session_01CtyDBLAPkZctBPN5U2EjCV --- bails/.local/bin/bails-menu | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bails/.local/bin/bails-menu b/bails/.local/bin/bails-menu index 1c08f2ce..13859b3f 100755 --- a/bails/.local/bin/bails-menu +++ b/bails/.local/bin/bails-menu @@ -69,7 +69,7 @@ Settings - Updates and configuration." \ # Menu options case "$response" in -"Clone") bails-clone ;; +"Clone") bails-cloner ;; "Backup") bails-backup ;; "Settings") response2=$(zenity --window-icon="$XDG_DATA_HOME/icons/bails128.png" --question \ --icon-name=org.gnome.Settings --title=Settings --text="Configure Bitcoin Core on Tails\n\nWarning: Only install or update software retaining a good reputation." \ @@ -89,9 +89,9 @@ case "$response2" in --title="About CipherStick" --icon-name=bails128 --text="$($XDG_DATA_HOME/bails/b --version)\n\nCopyright © 2024 Ben Westgate\n\nPlease contribute if you find CipherStick useful. Visit https://twitter.com/BenWestgate_ for further information about the software.\nThe source code is available from https://github.com/BenWestgate/Bails.\n\nThis is experimental software.\nDistributed under the MIT software license, see the accompanying file COPYING or https://opensource.org/licenses/MIT"; bails-menu ;; "Online Help") xdg-open https://bitcoin-core-on-tails.slack.com/ && \ xdg-open https://t.me/bails_support ;; - "Update Bitcoin Core") gnome-terminal --title="Updating Bitcoin Core..." --hide-menubar \ - -- "install-core" ;; - "Update CipherStick") gnome-terminal --title="Updating CipherStick..." --hide-menubar \ + "Update Bitcoin Core") kgx --title="Updating Bitcoin Core..." \ + -- install-core ;; + "Update CipherStick") kgx --title="Updating CipherStick..." \ -- /bin/bash -c "git clone https://github.com/benwestgate/bails --depth=1 && bails/b --update" ;; "Network Privacy") onlynet_onion; bails-menu ;; "") bails-menu