Webmaster Key - Discussion Forums


Welcome, Guest. Please login or register.
Did you miss your activation email?
February 09, 2012, 09:44:13 AM

Login with username, password and session length
Welceome to Forums!

Important information for guests and new members:

In order to understand the full benefits of becoming an active member of this forum, please review the following information on guest and new member restrictions. These forum changes have been prompted by an overwhelming and unreasonable amount of bot postings and incoherent guest spam messages. We wish to prevent these events from happening in the future and make our community a more comfortable place for all of our members.

For guests:

Guests are not allowed to open new topics, polls, or posts attachments.
If you wish to open up new discussions on this forum, we encourage you to register.

For new members:

New members with less than five posts are not allowed to modify additional profile information such as avatars, contact information, biographies, and signatures. However, new members are encouraged to post their own topics or reply to topics initiated by other members. Become active on the forums and 5 posts should be an easy task!

We are a diverse community with members from all over the world. We encourage new ideas and interesting conversation. Do not be afraid to post webmaster/computer-related questions or problems, as our active members are always willing to help when they are able. Interested? Join us.

+ Webmaster Key Forums
|-+ General Discussion
| |-+ Tech Corner
| | |-+ Linux Discussions and Help (Moderator: donecweb)
| | | |-+ XnView
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Stumble Upon! Digg It! del.icio.us! Add to Technorati! ReddIt!  Send this topic Print
Author Topic: XnView  (Read 3806 times)
donecweb
Administrator
Veteran
*****
Posts: 1 303


DonecWeb


« on: February 27, 2007, 11:10:53 PM »

I have been using XnView for many years under Windows and have not found any other free program that is as good IMO. I have now switched to using SimplyMepis Linux (SML) and have only been using Windows for testing and to keep up with how to use it so I can help others that have not changed. The problem is XnView comes in a Linux version also but there are several visions and I don't know which one I should use and since I have never installed a program from a tgz format (since SML comes with either everything you could want or it can be gotten from the synaptic package or Kpackage) I am not sure how to do it. Here is a link to the download page for XnView......
http://perso.orange.fr/pierre.g/xnview/endownloadlinux.html

I am currently running XnView under wine but would rather use the Linux version and see if it is as good as the windows version.
Report to moderator   Logged

DonEc Web

Links and accurate information provide the best answer, while garbage in provides garbage out.
SensoVision
Administrator
Veteran
*****
Posts: 5 857


I'm proud user of Debian GNU/Linux OS


WWW
« Reply #1 on: February 28, 2007, 01:01:51 AM »

Hi Don! I was fan of XnView as well and used it for long time when was on Windows. When I've switched to Linux I've tried it as well but found that Linux version isn't so good as Windows one Undecided I guess that developers mainly work on Windows one and have less time for Linux as from what I see it wasn't updated for quite a while... that's why I'm using gThumb which works very well for me.

Quote
The problem is XnView comes in a Linux version also but there are several visions and I don't know which one I should use and since I have never installed a program from a tgz format (since SML comes with either everything you could want or it can be gotten from the synaptic package or Kpackage) I am not sure how to do it. Here is a link to the download page for XnView......
Although XnView only offer RPM (for RedHat distributions) and tgz (Slackware) you can convert either of this packages into .deb which could be used in Debian based distributions.
This can be done with package called Alien which convert packages from other distributions into .deb format.
From what I remember I've tried converting RPM, here is what need to be done as root:
apt-get install alien
wget http://download.xnview.com/XnView-static-fc4.i386.rpm
alien XnView-static-fc4.i386.rpm

after this you should got file called something like this: XnView-static-fc4.i386.2_all.deb
once you got it just add it to your repository in order to install through synaptic or just do
dpkg -i xnview-static-fc4.i386.2_all.deb
after this you should be able to run it with xnview command as user.
Hope it helps, let me know if you need more help with it.
Report to moderator   Logged

Denis
donecweb
Administrator
Veteran
*****
Posts: 1 303


DonecWeb


« Reply #2 on: February 28, 2007, 04:58:43 AM »

Hi Don! I was fan of XnView as well and used it for long time when was on Windows. When I've switched to Linux I've tried it as well but found that Linux version isn't so good as Windows one
That is what has been said in other forums about Linux XnView. But running Windows XnView under wine is not quite as good as XnView under Windows either. I was wondering if there is something out there that runs Windows programs better than wine? gThumb is good but not quite as complete as XnView.

The first 2 lines of your instructions worked just fine but when I (cd /root) change to the root directory and run the third line (alien XnView-static-fc4.i386.rpm) in Konsole I get....

32 lines that say     error: open of <html> failed: No such file or directory and then ......

argument is not an RPM package
argument is not an RPM package
cpio: premature end of archive
sh: line 0: cd: OLDPWD not set
chmod: invalid option -- /
Try `chmod --help' for more information.
error: open of <html> failed: No such file or directory
error: open of <html> failed: No such file or directory
mkdir: invalid option -- /
Try `mkdir --help' for more information.
-/debian/changelog: No such file or directory at /usr/share/perl5/Alien/Package/Deb.pm line 330.
find: invalid predicate `-'

I think once I got a deb file I could make it work.
Report to moderator   Logged

DonEc Web

Links and accurate information provide the best answer, while garbage in provides garbage out.
SensoVision
Administrator
Veteran
*****
Posts: 5 857


I'm proud user of Debian GNU/Linux OS


WWW
« Reply #3 on: February 28, 2007, 02:11:02 PM »

I see, don't have much time now but if you're not low on bandwidth try to download .tgz package and convert it, in result you'll probably get XnView directory under / and will need to run it manually e.g. sh /XnView/bin/xnview (or something like this).
Regarding using wine, can you tell what exactly is wrong with it, maybe I can give you idea how customize it using winecfg or some other way?

Quote
(cd /root)
I only mean to login as root not change to it's home folder, or you have downloaded program there?
Report to moderator   Logged

Denis
donecweb
Administrator
Veteran
*****
Posts: 1 303


DonecWeb


« Reply #4 on: February 28, 2007, 06:56:35 PM »

I see, don't have much time now but if you're not low on bandwidth try to download .tgz package and convert it, in result you'll probably get XnView directory under / and will need to run it manually e.g. sh /XnView/bin/xnview (or something like this).
Regarding using wine, can you tell what exactly is wrong with it, maybe I can give you idea how customize it using winecfg or some other way?
I only mean to login as root not change to it's home folder, or you have downloaded program there?

No hurry Denis, I didn't know it would work with anything but rpm so I'll try the tgz package. In fact I had already downloaded the Linux tgz package as I read XnView doesnot need anything special done to it to be used just put it in a directory you want to use and it would work. So I tried this and while the program started It was a small window that only had 3 items in the menu. I opened one and selected browse and the program shut down so I figured something more was needed.

I am quite satisfied with wine but I have some problems with fonts in some of the programs and quicken sometimes quits at the wrong time. I have heard that there are other options and so I want to know more about them.

I understand about running the terminal / Konsole in root. I just mentioned the cd /root because following your instructions exactly placed the file in the root directory and I didn't think about it in advance to change the final location of the download. I don't know the syntax for such a change but I am sure I could find it if I tried.
Report to moderator   Logged

DonEc Web

Links and accurate information provide the best answer, while garbage in provides garbage out.
SensoVision
Administrator
Veteran
*****
Posts: 5 857


I'm proud user of Debian GNU/Linux OS


WWW
« Reply #5 on: March 05, 2007, 09:54:14 PM »

Quote
No hurry Denis, I didn't know it would work with anything but rpm so I'll try the tgz package. In fact I had already downloaded the Linux tgz package as I read XnView doesnot need anything special done to it to be used just put it in a directory you want to use and it would work.
Hi Don, have you already had a chance to try convert .tgz into .deb? Wonder if it was successfully.

Quote
So I tried this and while the program started It was a small window that only had 3 items in the menu.
that's default state of how XnView starting from what I remember, when you hit browse it should start looking more like Windows version.
Quote
I opened one and selected browse and the program shut down so I figured something more was needed.
not sure why it didn't work maybe you didn't have some libraries necessary for this program, if you keep getting program crashes maybe can run xnview from terminal and tell about output when it shutting down? there could be useful information of what is missing.
Report to moderator   Logged

Denis
donecweb
Administrator
Veteran
*****
Posts: 1 303


DonecWeb


« Reply #6 on: March 06, 2007, 02:27:49 AM »

Hi Denis, I tried it through terminal twice and this is what I got when it crashed.....
./xnview
** XnView v1.70 Copyright 1991-2005 Pierre-E Gougelet (Sep  6 2005/15:28:24) **
        Version for Linux x86/Motif (All rights reserved)
** This is freeware software (for non commercial use)

     Type ./xnview -help, for more information
X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  45 (X_OpenFont)
  Serial number of failed request:  3705
  Current serial number in output stream:  3722


./xnview
** XnView v1.70 Copyright 1991-2005 Pierre-E Gougelet (Sep  6 2005/15:28:24) **
        Version for Linux x86/Motif (All rights reserved)
** This is freeware software (for non commercial use)

     Type ./xnview -help, for more information
X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  45 (X_OpenFont)
  Serial number of failed request:  3712
  Current serial number in output stream:  3729
Report to moderator   Logged

DonEc Web

Links and accurate information provide the best answer, while garbage in provides garbage out.
SensoVision
Administrator
Veteran
*****
Posts: 5 857


I'm proud user of Debian GNU/Linux OS


WWW
« Reply #7 on: March 07, 2007, 02:24:23 AM »

it looks like some font or function to handle font request couldn't be found but I'm not sure why this is happening and what font is missing. It's probably some problem with installed libraries on your system, they could miss something but I can't say right now what exactly. If you're not tied to bandwidth maybe try to download older release of XnView and see if it works with packages you have installed currently?
You can also try install packages with fonts you don't have yet installed.

Quote
I am quite satisfied with wine but I have some problems with fonts in some of the programs and quicken sometimes quits at the wrong time.
when I used Wine I didn't had problem with unexpected crashes(but I probably just have good luck or applications which are prone to this), Wine is keep improving so hopefully this would problem will be resolved in future.

Quote
I have heard that there are other options and so I want to know more about them.
Sure there are few flavors for running Windows applications, I've mentioned about them long time ago here.

During this time appeared new free emulator application which let you run Windows, Linux and even Mac OS if I'm not wrong, It's QEMU http://fabrice.bellard.free.fr/qemu/index.html and I've used it myself for a while when need to run Borland C++ for writing some applications for university. Should say that it's running very well and speed wasn't slow at least for me.

There is free program which help you install some libraries and setup Wine to run IE6, Office and some other applications called Wine Tools - http://www.von-thadden.de/Joachim/WineTools/
Can't tell much about them as I didn't had time to try them myself.

Also if you mostly interested in running office applications maybe you should try CrossOver Office, I didn't tried it for a while as Wine do everything I need but I've heard really good feedback about it.
They offering 30 day free trial http://www.codeweavers.com/products/download_trial_linux/ so maybe you can try it and let us know how does it worked for you? Roll Eyes
« Last Edit: March 07, 2007, 02:46:55 AM by SensoVision » Report to moderator   Logged

Denis
Pages: [1] Go Up Stumble Upon! Digg It! del.icio.us! Add to Technorati! ReddIt!  Send this topic Print 
+ Webmaster Key Forums
|-+ General Discussion
| |-+ Tech Corner
| | |-+ Linux Discussions and Help (Moderator: donecweb)
| | | |-+ XnView

Jump to:  
« previous next »


Our Partners
RelmaxTOP Ranking System Web Hosting RelmaxTOP Ranking System
Staff Sites
12Noon[12Noon Gallery] Andy[Urgentclick]
Tamuril[Tamuril's Digital Art Exhibit] Sensovision
Powered by MySQL Powered by PHP We are hosted by Relmax Inc. |Our Privacy Policy | Sitemap
Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC
Forum design by Tamuril © 2005.
Valid XHTML 1.0! Valid CSS!