1

Like 98% of the time I open a Terminal or Nautilus, I want to use it snapped to the right/left... especially if I am using more than one instance of them.

Can I configure my Ubuntu to open any instance of Nautilus or Terminal in 'snapped' mode?

I am using Ubuntu 15.10.

2 Answers2

1

What you could use is the -geometry option for nautilus shortcut.

For instance, I could set Super+E (which is same as Windows shortcut for opening "My Computer" ) to nautilus --geometry 250x250+0+0 . The geometry option is defined in man X page as WIDTH+HEIGHT+XOFFSET+YOFFSET. +/- can be used and man page defines the corners as:

+0+0 upper left hand corner.

-0+0 upper right hand corner.

-0-0 lower right hand corner.

+0-0 lower left hand corner.

With terminal , that's a little different because gnome-terminal treats geometry option as in rows by columns. So gnome-terminal--geometry="250x250+0+0"` will open a window that is just horribly large.

What you also could do is to alter the .desktop files in /usr/share/applications folder, particularly the Exec= line to have the geometry option, so that launcher icons also can spawn windows with specific size

0

You could install the Compiz Config Settings Manager:

sudo apt-get install compiz-config-settings-manager

Run it from Dash and then under the Window Manager heading you should find options that let you customize how you want to mange your windows.