-
Notifications
You must be signed in to change notification settings - Fork 295
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
[Feature]: start wave in full-screen mode #1933
Comments
This should be doable, though starting the app with |
It's not possible and you can't set it to full screen with F11 button when you're inside the Wave terminal However, I found a partial solution to the problem [ChatGPT] using the Linux window manager called Create a chmod +x waveterm-full-screen.sh and place the following code inside it #!/bin/bash
# Start Waveterm with the passed parameters
waveterm "$@" &
# Define a maximum wait time (in seconds)
MAX_WAIT_TIME=10
WAIT_INTERVAL=0.5
elapsed_time=0
# Loop until the "Wave" window is open or the maximum time is reached
while ! wmctrl -l | grep -q "Wave"; do
sleep $WAIT_INTERVAL
elapsed_time=$(echo "$elapsed_time + $WAIT_INTERVAL" | bc)
# Check if the maximum time has been reached
if (( $(echo "$elapsed_time >= $MAX_WAIT_TIME" | bc -l) )); then
echo "The 'Wave' window was not found after $MAX_WAIT_TIME seconds."
exit 1
fi
done
# Set the "Wave" window to fullscreen
wmctrl -r "Wave" -b toggle,fullscreen Now create a link for your new command in sudo ln -s ~/<YOUR_SCRIPTS_FOLDER>/waveterm-full-screen.sh /usr/bin/fwaveterm and edit the sudo nano /var/lib/snapd/desktop/applications/waveterm_waveterm.desktop and edit it [Desktop Entry]
X-SnapInstanceName=waveterm
Name=Wave
X-SnapAppName=fwaveterm
Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/waveterm_waveterm.desktop fwaveterm %U
Terminal=false
Type=Application
Icon=/snap/waveterm/100/meta/gui/icon.png
StartupWMClass=Wave
Comment=Open-Source AI-Native Terminal Built for Seamless Workflows
Keywords=developer;terminal;emulator;
Categories=TerminalEmulator; |
What OS are you on? |
If I haven't said anything, it's because it's Linux (Ubuntu 24.10). |
Not a given, but thank you for confirming. I think this is certainly doable, I also did some research and at least on Windows and Linux it seems like while F11 is not default-mapped to full-screen, it's also not default-mapped to anything else so we should be able to do this. I'd prefer to handle the launch in full-screen mode as a user setting since we don't currently have a way to pass arguments when launching waveterm |
Feature description
Open
waveterm
directly in full screen (F11 button) is not working:Implementation Suggestion
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: