I'm looking to edit the way for nautilus to handle the zoom.
Since Ubuntu 13.04, when you use the zoom in nautilus it only changes the thumbnails/icons size, and the filename text stay the same.
Is there a way to make the zoom function change the size of the filename font?
In image:
I tried to look for a hidden option inside dconf-editor (org.gnome.nautilus.*) but nothing concur to what I'm looking for.
Any tips !?
Notes: I'm using a desktop version of Ubuntu as 'Tv' that I control from my couch, when I was on Ubuntu 11.04 I could simply zoom at 200% and read the filenames easily from the distance, but now, it's just the icons…
There is also the exemple of my father who have a poor sight, the old zoom function was perfect for him too.
Best Answer
You can try to edit the Nautilus source code to scale the font in the zoom like in Nautilus 3.4.
NOTE: In this example I'm running ubuntu 13.04 with nautilus (files) 3.6.3. You can test this in a virtual machine to see if everything is OK.
First of all, I set the Nautilus Prefereces in "List View" as Default View and "200%" the zoom in List View Defaults.
By default the result with no scale font would be:
1) Make sure you have enable the Source code repository
Open a Terminal window and type:
sudo apt-get update
2) In the Terminal type the following to install the necessary packages.
sudo apt-get install build-essential quilt
3) Install build dependencies.
sudo apt-get build-dep nautilus
4) Create a folder to download the source code.
mkdir ~/Downloads/src
cd ~/Downloads/src
5) Download the source code & Export variables.
apt-get source nautilus
export QUILT_PATCHES=debian/patches
export EDITOR=gedit
6) Create the patch and Edit the source code.
cd nautilus-3.6.3/
quilt new my_custom_zoom.patch
quilt edit src/nautilus-list-view.c
After line 133 add:
After line 2506 add:
After line 2569 add:
Remove lines 3051 & 3052.
7) Build the deb packages.
quilt refresh
fakeroot dpkg-buildpackage
8) Install the deb packages.
cd ..
sudo dpkg -i *deb
9) Finally you can Logout and Login to see the changes.
Result:
NOTE: You can zoom in, zoom out with the Ctrl + Mouse Whell or with Ctrol++ & Ctrol+- keys.
Hope it helps.