0

In this bash script, I want the last command (the Chrome one) to open a maximized (or better yet, full screen) window.

Is that possible?

!/bin/bash 

killall vlc

banshee --pause

clementine --play /mnt/4E46682B4668164D/Users/Fiksdal/Music/iTunes/iTunes\ Media/Music/Jonny\ Greenwood/Norwegian\ Wood\ OST/05\ Toki\ No\ Senrei\ O\ Ukete\ Inai\ Mono.mp3

cvlc /mnt/4E46682B4668164D/Users/Fiksdal/Music/iTunes/iTunes\ Media/Music/Kural/Kural/Puja\ Cropped.m4a &

sh /home/fiksdal/Google\ Drive/Scripts/foo.sh

/opt/google/chrome/google-chrome --profile-directory=Default --app-id=kefmolhnnppgijjgjcfhlpngbggjlkgf
Fiksdal
  • 2,181

1 Answers1

0

I installed xdotool and used xdotool key [systemwide keyboard shortcut to full screen] It worked well.

Edit: I found that it also worked to install wmctrl and use wmctrl -r :ACTIVE: -b toggle,maximized_vert,maximized_horz

Fiksdal
  • 2,181