bashrc file, to make the terminal maximize even earlier. You can try moving the line you added in the second step to the beginning of. This solution will not affect the size of the terminal window initially, but rather maximize it shortly after it opens, usually in a matter of milliseconds. bashrc files if needed, for example, for "root" user ( /root/.bashrc). Install "wmctrl": sudo apt-get install wmctrlĪdd this line to the very end of your ~/.bashrc file: wmctrl -i -r $WINDOWID -b add,maximized_vert,maximized_horz 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. 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. Now no matter how I open the terminal, it always opens maximized. usr/bin/gnome-terminal-original -maximize it executable: sudo chmod x gnome-terminal Sudo mv gnome-terminal gnome-terminal-originalĬreate a new file in /usr/bin named gnome-terminal with the Rename original gnome-terminal executable to The solutions below are tested up to 16.04 LTS. I've asked same question on Unix
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |