How do I change the number of columns in the application overview in Gnome 3.18?
The appDisplay.js file which could be used to set icon size and grid properties of the application overview (Super+A) in Ubuntu Gnome 14.04 is not available any more in Ubuntu 16.04 shipping with Gnome 3.18.
In most displays, having only the default six columns leave a large empty space on each side of the application grid, which could be used to avoid scrolling three or four pages down in the all-applications display and simply make better use of the available space. Where is that value defined? Is it possible to configure the number of columns to be computed according to the available space or to set it to a higher value?
Solution 1:
It is possible to change without re-compiling gnome-shell, by editing libgnome-shell.so in the hex editor.
Here is the proof:
Make a backup of 'libgnome-shell.so' just in case something goes wrong.
Open 'libgnome-shell.so' with an hex editor (I use Bless) and search for 'MAX_COLUMNS = 6' as a text.
Replace 6 with ascii value of the number of columns that you want. (For 2 digit number of the colums replace space and 6)
You can do the same for the number of rows by changing 'MIN_ROWS', and for the icon size by changing "ICON_SIZE" (search for 'const ICON_SIZE').
Save and replace 'libgnome-shell.so'
Restart gnome-shell, do Alt+F2 and in the popup type 'r' or 'restart' and press enter
Solution 2:
FWIW, there seems be an shell extensions nowadays - More columns in applications view, to be found here: https://extensions.gnome.org/extension/1305/more-columns-in-applications-view/ that seems to do exactly whats is being asked.
Note however, that you may need to tweak the grid icon and item sizes too, if you really want to have more columns displayed, as the default sizes are likely too large to fit more columns. So tweak /usr/share/gnome-shell/theme/ubuntu.css
or whichever of its siblings is actually in use. Tweak the section /* App Vault/Grid */
and then restart the shell - alt-F2
-r
-<enter>