Installation on Mandrake (Linux)

Questions, suggestions, and answers for XnView on all Un*x platforms (Linux, HP-UX, AIX, ...)

Moderators: XnTriq, xnview

mikiwoo
Posts: 1
Joined: Wed Jun 16, 2004 12:18 am

Installation on Mandrake (Linux)

Postby mikiwoo » Wed Jun 16, 2004 12:26 am

Hi!

This is my first post here. I just installed XnView on Mandrake 10.0 official (RPM) and everything went fine but now I can not find the software installed in any of the menus.

Where is it? I'm really a novice with linux.

Can someone help me? I have the Windows version and it's great.

User avatar
Remi
Posts: 23
Joined: Mon May 24, 2004 5:08 pm
Location: France, Champagne
Contact:

Postby Remi » Sat Jul 03, 2004 3:05 pm

Hello.

Here is some info i've post some time ago on the french forum.

It's for adding XnView in the gnome menu. Test Ok under Fedora. Don't know for other distribution (Mandrake) or other window manager (Kde)

Create next files
/usr/share/pixmaps/xnview.png (what you what in a 48x48 image)
/usr/share/applications/xnview.desktop

Code: Select all

[Desktop Entry]
Name=XnView
TryExec=xnview
Exec=xnview
Icon=xnview.png
Terminal=0
Type=Application
Categories=Application;Graphics;X-Red-Hat-Base

This file describe an entry in the menu.
You can compare it with a file from another application.
/usr/share/application-registry/xnview.applications

Code: Select all

XnView
   command=xnview -all
   name=XnView
   can_open_multiple_files=true
   expects_uris=false
   requires_terminal=false
   mime_types=image/bmp, image/gif,image/jpeg,image/png,image/tiff

XnView-Browser
        command=xnview -browser
        name=XnView
        can_open_multiple_files=false
        expects_uris=false
        requires_terminal=false
        mime_types=x-directory/normal

This file describe some of the "mime_type" XnView handle.

/usr/share/mime-info/xnview.keys

Code: Select all

image/bmp
        short_list_application_ids_for_novice_user_level=XnView
        short_list_application_ids_for_intermediate_user_level=XnView
        short_list_application_ids_for_advanced_user_level=XnView
image/gif
        short_list_application_ids_for_novice_user_level=XnView
        short_list_application_ids_for_intermediate_user_level=XnView
        short_list_application_ids_for_advanced_user_level=XnView
image/png
        short_list_application_ids_for_novice_user_level=XnView
        short_list_application_ids_for_intermediate_user_level=XnView
        short_list_application_ids_for_advanced_user_level=XnView
image/tiff
        short_list_application_ids_for_novice_user_level=XnView
        short_list_application_ids_for_intermediate_user_level=XnView
        short_list_application_ids_for_advanced_user_level=XnView
image/jpeg
        short_list_application_ids_for_novice_user_level=XnView
        short_list_application_ids_for_intermediate_user_level=XnView
        short_list_application_ids_for_advanced_user_level=XnView
x-directory/normal
        short_list_application_ids_for_novice_user_level=XnView-Browser
        short_list_application_ids_for_intermediate_user_level=XnView-Browser
        short_list_application_ids_for_advanced_user_level=XnView-Browser


Hope this can help you...
Cordialy


Return to “XnView Un*x”

Who is online

Users browsing this forum: No registered users and 1 guest