You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create the Thumbnailer Script: sudo nano /usr/local/bin/bsp-thumbnailer
#!/bin/bash
input_file="$1"
output_file="$2"
size="$3"
# Replace this with the command to generate a thumbnail from your application
/path/to/your/application --render-thumbnail "$input_file" --output "$output_file" --size "$size"
Create a new MIME type definition file in /usr/share/mime/packages/ for each file type.
Add support to run model-viewer as a cli tool to generate png thumbnails previews for files for the operating system.
For example, to create a thumbnailer for .bsp files:
sudo nano /usr/share/thumbnailers/bsp.thumbnailer
Create the Thumbnailer Script:
sudo nano /usr/local/bin/bsp-thumbnailer
Create a new MIME type definition file in /usr/share/mime/packages/ for each file type.
sudo nano /usr/share/mime/packages/quake2-resources.xml
Update the MIME database:
sudo update-mime-database /usr/share/mime
The text was updated successfully, but these errors were encountered: