Open message opened 9 years ago
You can create a desktop entry:
gedit ~/.local/share/applications/trimage.desktop
[Desktop Entry]
Name=Trimage image compressor
Comment=A cross-platform tool for optimizing PNG and JPG files.
Terminal=false
Icon=trimage
Exec=trimage -f %f
Type=Application
StartupNotify=true
MimeType=image/jpeg;image/png;
Categories=Application;Qt;Graphics;
Note that AFAIK Trimage does not currently accept file names as arguments for starting in graphical mode. Pressing the "Open with Trimage" will instantly optimize the image(s) and quit, not showing the Trimage window.
Is there a way to open images with trimage? Like "Open with..."