The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 6,189β€…    Votes:  4β€…
Tags: nautilus   thumbnails  
Link: πŸ” See Original Answer on Ask Ubuntu ⧉ πŸ”—

URL: https://askubuntu.com/q/1099186
Title: Nautilus: Show image thumbnails at more than 200% size
ID: /2018/12/07/Nautilus_-Show-image-thumbnails-at-more-than-200_-size
Created: December 7, 2018
Upload: April 8, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


Here is a script that is easier for β€œgrandma” to use:

zoom - Script to set Nautilus Thumbnail size

#!/bin/bash

# NAME: zoom
# DESC: Change nautilus thumbnail size based on parameter 1
#       For Ask Ubuntu question: https://askubuntu.com/questions/1097934
#       /nautilus-show-images-with-more-than-200-size

# DATE: December 7, 2018

if [[ $# -ne 1 ]]; then
    echo "Usage: 'zoom 999'" 
    echo "Where 999 is zoom factor, eg 400 = 400% zoom"
    exit 1
fi

gsettings set org.gnome.nautilus.icon-view thumbnail-size "$1"
nautilus -q

exit 0

Installation and Usage

Place the file zoom in your search path.

Mark the file executable with chmod a+x /search-path-name/zoom

Call the script from terminal using zoom 999 where 999 is the zoom factor. For example zoom 400 will have nautilus zoom by 400%.

The script can be enhanced to use zenity for a desktop shortcut with GUI pop up window that prompts for zoom percentage.

⇧ Wrong lsb-release after release upgrade Big Number Calculator (human readable format)  β‡©