I let my gnome-terminal automatically run at the start-up and now I want the window to be automatically maximized as well.
So I did some browsing online and found out about wmctrl.
It works fine when I type the following from the gnome-terminal:
wmctrl -r guest@localhost:~/Projects -b toggle,maximized_vert,maximized_horz
However, I am having a tough time on passing the above command to gnome-terminal as an argument.
gnome-terminal --working-directory=/home/guest/Projects --command wmctrl -r guest@localhost:~/Projects -b toggle,maximized_vert,maximized_horz &
I tried to wrap it with ' or " but did not work either.
Can anyone help me with this?