Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File association Ubuntu #37

Open
message opened this issue Jul 30, 2015 · 1 comment
Open

File association Ubuntu #37

message opened this issue Jul 30, 2015 · 1 comment

Comments

@message
Copy link

message commented Jul 30, 2015

Is there a way to open images with trimage? Like "Open with..."
screenshot from 2015-07-30 17 33 22

@Mad182
Copy link

Mad182 commented Dec 30, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants