-
-
Save emamut/b3b1f72d21af999e78fa to your computer and use it in GitHub Desktop.
How to set the terminal to open maximized
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| The selected answer didn't work for me on fully updated Ubuntu 12.04 LTS, so I decided it was time for a more drastic approach. | |
| Rename original gnome-terminal executable to gnome-terminal-original: | |
| cd /usr/bin | |
| mv gnome-terminal gnome-terminal-original | |
| Create a new file in /usr/bin named gnome-terminal with the following content: | |
| #!/bin/bash | |
| /usr/bin/gnome-terminal-original --maximize $@ | |
| Make it executable: | |
| chmod +x gnome-terminal | |
| Now no matter how I open the terminal, it always opens maximized. The only downside I see for this approach is that you have to repeat these steps every time you might update gnome-terminal with a new version via update manager or apt-get upgrade. | |
| Note: the $@ parameter means that all arguments that might get passed to gnome-terminal will still get passed to gnome-terminal-original, along with --maximize argument. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment