On Fri, Jun 1, 2012 at 12:18 PM, Michael Biebl <bi...@debian.org> wrote: > Package: imagemagick > Version: 8:6.7.7.2-1 > Severity: important > File: /usr/share/applications/display.im6.desktop > > Hi, > > the latest upload of imagemagick added a .desktop file for the display > utility. GNOME already has an integrated image viewer, so making it show > up in the menu is a bit confusion. It also has a low resolution icon > which looks really bad in gnome-shell (see attached screenshot). > What's worse, when clicking on the menu icon, nothing happens. > It seems to be only useful in the context menu of a file manager, i.e. > when it is passed a image file. > > Please consider adding "NotShowIn=GNOME;" to the .desktop file so it won't > show up at all in GNOME, or at least add a "NoDisplay=true". This way it > doesn't show up in the menus but can still be started via the file > association in the file manager. > > Michael
No it should work but it does not. try on the console: /usr/bin/display.im6 you will see display the problem is different, in fact imagemagick read if you do not specify stdin, and from menu entry stdin is /dev/null, therefore it close immediatly. Now if you are on console it use isatty before opening tty. Thus we need to create a wrapper and use it on the deskop file: something like this: #!/bin/sh if [ $# -ge 1 ]; then /usr/bin/display.im6 "$@" else /usr/bin/display.im6 magick:logo fi thanks for the bug report. > > > -- System Information: > Debian Release: wheezy/sid > APT prefers unstable > APT policy: (500, 'unstable'), (200, 'experimental') > Architecture: amd64 (x86_64) > > Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores) > Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > > Versions of packages imagemagick depends on: > ii libbz2-1.0 1.0.6-1 > ii libc6 2.13-32 > ii libfontconfig1 2.9.0-6 > ii libfreetype6 2.4.9-1 > ii libglib2.0-0 2.32.3-1 > ii libgomp1 4.7.0-11 > ii libice6 2:1.0.8-2 > ii libjpeg8 8d-1 > ii liblcms2-2 2.2+git20110628-2.2 > ii liblqr-1-0 0.4.1-1.1 > ii libltdl7 2.4.2-1 > ii liblzma5 5.1.1alpha+20110809-3 > ii libmagickcore5 8:6.7.7.2-1 > ii libmagickwand5 8:6.7.7.2-1 > ii libsm6 2:1.2.1-2 > ii libtiff4 3.9.6-5 > ii libx11-6 2:1.4.99.901-2 > ii libxext6 2:1.3.1-2 > ii libxt6 1:1.1.3-1 > ii zlib1g 1:1.2.7.dfsg-11 > > Versions of packages imagemagick recommends: > ii ghostscript 9.05~dfsg-6 > ii libmagickcore5-extra 8:6.7.7.2-1 > ii netpbm 2:10.0-15+b1 > ii ufraw-batch 0.18-1.1+b2 > > Versions of packages imagemagick suggests: > ii autotrace <none> > ii cups-bsd [lpr] 1.5.3-1 > ii curl 7.26.0-1 > ii enscript <none> > ii ffmpeg <none> > ii gimp 2.8.0-2 > ii gnuplot 4.6.0-8 > ii grads <none> > ii groff-base 1.21-7 > ii hp2xx <none> > ii html2ps <none> > ii imagemagick-doc <none> > ii libwmf-bin 0.2.8.4-10 > ii mplayer <none> > ii povray <none> > ii radiance <none> > ii sane-utils 1.0.22-7.1 > ii texlive-binaries [texlive-base-bin] 2012.20120530-2 > ii transfig <none> > ii xdg-utils 1.1.0~rc1+git20111210-6 > > -- no debconf information > > > > _______________________________________________ > Pkg-gmagick-im-team mailing list > pkg-gmagick-im-t...@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-gmagick-im-team -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org