Skip to content

Instantly share code, notes, and snippets.

@fukata
Created August 1, 2018 22:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fukata/38cc88371e991dc062db464babf352ec to your computer and use it in GitHub Desktop.
Save fukata/38cc88371e991dc062db464babf352ec to your computer and use it in GitHub Desktop.
Launch gnome terminal fullscreen to desktop 1
#!/usr/bin/env bash
# see https://askubuntu.com/questions/374877/trying-to-launch-application-in-full-screen-mode-on-boot
/usr/bin/gnome-terminal &
sleep 5
/usr/bin/wmctrl -r 'Terminal' -t 1
/usr/bin/wmctrl -r 'Terminal' -b toggle,fullscreen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment