linuxmint / pix

Image management application
GNU General Public License v2.0
210 stars 43 forks source link

Auto open in fullscreen #149

Closed eboye closed 2 years ago

eboye commented 2 years ago
 * Pix version (pix --version)
pix 2.8.4, Copyright © 2001-2010 Free Software Foundation, Inc.
 * Distribution - (Mint 17.2, Arch, Fedora 25, etc...)
Manjaro Qonos 21.2.2

Issue

Directly opening the image is in windowed mode, can it be opened in full screen by default?

Steps to reproduce

In file manager open file by pressing enter or double click when Pix is default image viewer.

Expected behaviour

Open image in fullscreen

Other information

I think this would be great as an option.

darkshram commented 2 years ago
cat << EOF > /usr/share/applications/pix-fullscreen.desktop
[Desktop Entry]
Name=Pix (full screen)
GenericName=Image Viewer
Comment=View your images in full screen
Categories=GNOME;GTK;Graphics;Viewer;RasterGraphics;2DGraphics;Photography;
Exec=pix -f %U
Icon=pix
MimeType=image/bmp;image/jpeg;image/gif;image/png;image/tiff;image/x-bmp;image/x-ico;image/x-png;image/x-pcx;image/x-tga;image/xpm;image/svg+xml;image/webp;image/x-webp;
StartupNotify=true
Terminal=false
Type=Application
EOF
eboye commented 2 years ago

@darkshram thanks a bunch!