I want to write bash - a script that starts a gvim session directly in a maximally maximized window.
This is my bash script:
#!/bin/bash - set -o nounset cd /home/alexthebird/vim-stuff;
Do you have any idea how to do this with bashscript? Gvim should be maximized only when it runs on this script. Of course, any other ideas on how to do this are welcome.
I am using Ubuntu 11.04 with gnome.
Thanks for taking the time to read my post.
AlexTheBird
This script works:
#!/bin/bash - set -o nounset
Thank you all for your time.
EDIT: I just found out that the solution above works only for desktop with unity-2d (without 3D acceleration) . It is good for me. It does not work with the standard Ubuntu desktop, which uses the 3D version of Unity with acceleration.
source share