Guest User

Untitled

a guest
Nov 17th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. wmctrl -r :ACTIVE: -b toggle,fullscreen
  2.  
  3. $ gnome-terminal --maximize
  4.  
  5. $ gnome-terminal --help
  6. $ gnome-terminal --help-window-options
  7.  
  8. cat /usr/share/applications/gnome-terminal.desktop|sed 's/gnome-terminal/gnome-terminal --maximize/;s/Name=Terminal/& Maximized/' > ~/Desktop/gnome-terminal-maximized.desktop
  9.  
  10. #Increases the terminal size to bigger than the screen.
  11. xdotool windowsize $(xdotool getactivewindow) 100% 100%;
  12.  
  13. #Toggle fullscreen.. twice:
  14. wmctrl -r :ACTIVE: -b toggle,fullscreen;
  15. wmctrl -r :ACTIVE: -b toggle,fullscreen;
Add Comment
Please, Sign In to add comment