特殊:Badtitle/NS100:Wine/IrfanView:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Wikibot留言 | 贡献
无编辑摘要
Wikibot留言 | 贡献
无编辑摘要
 
第6行: 第6行:
Q: Can I use [[UbuntuHelp:Wine/IrfanView|IrfanView]] on Linux?
Q: Can I use [[UbuntuHelp:Wine/IrfanView|IrfanView]] on Linux?
A: Yes. There is no native-Linux version of [[UbuntuHelp:Wine/IrfanView|IrfanView]]. However, you can use [[UbuntuHelp:Wine/IrfanView|IrfanView]] in conjunction with Linux programs like [[UbuntuHelp:Wine|Wine]], Windows Linux emulators and Linux-based virtual machines.  
A: Yes. There is no native-Linux version of [[UbuntuHelp:Wine/IrfanView|IrfanView]]. However, you can use [[UbuntuHelp:Wine/IrfanView|IrfanView]] in conjunction with Linux programs like [[UbuntuHelp:Wine|Wine]], Windows Linux emulators and Linux-based virtual machines.  
== Setting up Wine for Ubuntu 9.10 (Karmic Koala) ==
<pre><nowiki>
sudo apt-get install wine
</nowiki></pre>
The new version should be '''1.0.1''' as of December 12, 2009.
== Setting up Wine for Ubuntu 7.10 (Gutsy Gibbon) ==
== Setting up Wine for Ubuntu 7.10 (Gutsy Gibbon) ==
A brief synopsis from [http://winehq.org/site/download-deb Wine homepage] is posted below:
A brief synopsis from [http://winehq.org/site/download-deb Wine homepage] is posted below:
第32行: 第37行:
</nowiki></pre>
</nowiki></pre>
Follow the on-screen instructions and click OK when the installer prompt you to reboot the computer.  Do not reboot, this is not needed for Ubuntu.
Follow the on-screen instructions and click OK when the installer prompt you to reboot the computer.  Do not reboot, this is not needed for Ubuntu.
Alternatively, directly copy mfc42.dll from a Windows <code><nowiki>%SystemRoot%\system32</nowiki></code> directory into <code><nowiki>/home/username/.wine/drive_c/windows/system32</nowiki></code>.
== Downloading and installing IrfanView ==
== Downloading and installing IrfanView ==
Follow a link to [http://www.irfanview.com]] and download [[Wine/IrfanView IrfanView] installation and plugins.
Follow a link to [http://www.irfanview.com]] and download [[Wine/IrfanView IrfanView] installation and plugins.
Download the installer into your home directory. Open a terminal and run the following command.  When installer finishes, it will prompt you to run [[UbuntuHelp:Wine/IrfanView|IrfanView]].  Do not run it yet.
Download the installer into your home directory. Open a terminal and run the following command.  When installer finishes, it will prompt you to run [[UbuntuHelp:Wine/IrfanView|IrfanView]].  Do not run it yet.
<pre><nowiki>
<pre><nowiki>
wine iview410_setup.exe
wine iview425_setup.exe
</nowiki></pre>
or
<pre><nowiki>
wine IrfanView.exe
</nowiki></pre>
</nowiki></pre>
If you haven't downloaded [[UbuntuHelp:Wine/IrfanView|IrfanView]] Plugins (irfanview_plugins_410_setup.exe) yet, download them now.
If you haven't downloaded [[UbuntuHelp:Wine/IrfanView|IrfanView]] Plugins (irfanview_plugins_425_setup.exe) yet, download them now.
Run
Run
<pre><nowiki>
<pre><nowiki>
wine irfanview_plugins_410_setup.exe
wine irfanview_plugins_425_setup.exe
</nowiki></pre>
</nowiki></pre>
Start [[UbuntuHelp:Wine/IrfanView|IrfanView]].  If you chose so, a link will be placed on your Desktop, alternatively, find a launcher in Applications/Wine/Programs/Irfan''''''View/Irfan''''''View
Start [[UbuntuHelp:Wine/IrfanView|IrfanView]].  If you chose so, a link will be placed on your Desktop, alternatively, find a launcher in Applications/Wine/Programs/Irfan''''''View/Irfan''''''View, or start it via <code><nowiki>wine "C:/Program Files/IrfanView/i_view32.exe"</nowiki></code>.
== Troubleshooting ==
If [[UbuntuHelp:Wine/IrfanView|IrfanView]] won't start up after the installation, and you see output like <code><nowiki>wine: Unhandled page fault on read access...</nowiki></code> when started from a terminal, the problem is the new toolbar.
Delete or rename <code><nowiki>/home/username/.wine/drive_c/Program Files/IrfanView/i_view32.ini</nowiki></code> after installing [[UbuntuHelp:Wine/IrfanView|IrfanView]]; the toolbar with the new (and pretty) icons will disappear and you have the standard icons, but a working [[UbuntuHelp:Wine/IrfanView|IrfanView]]!
== More information ==
== More information ==
* About [[UbuntuHelp:Wine|Wine]]
* About [[UbuntuHelp:Wine|Wine]]
* [http://wine-review.blogspot.com/2007/10/irfanview-410-on-linux-with-wine.html Blog entry about IrfanView on Linux, with pictures].
* [http://wine-review.blogspot.com/2007/10/irfanview-410-on-linux-with-wine.html Blog entry about IrfanView on Linux, with pictures].
* [http://www.boekhoff.info/?pid=linux&tip=install-irfan-view-on-linux Blog entry including instruction to create a launcher Desktop icon].
* [http://www.wine-reviews.net/wine-reviews/wine/irfanview-423-on-linux-with-wine.html Workaround for segfaulting IrfanView by deleting i_view32.ini].
----
----


[[category:UbuntuHelp]]
[[category:UbuntuHelp]]

2010年5月20日 (四) 01:01的最新版本

{{#ifexist: :Wine/IrfanView/zh | | {{#ifexist: Wine/IrfanView/zh | | {{#ifeq: {{#titleparts:Wine/IrfanView|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Wine/IrfanView|1|-1|}} | zh | | }}

Introduction

IrfanView is a popular freeware (but not open-source) simple yet powerful image viewer and editor for Windows. It is arguably the best software for quick processing of digital camera pictures, for example, simple resizing, compression, lossless rotation and possibly redeye reduction. IrfanView can run on Ubuntu under Wine. From IrfanView FAQ: Q: Can I use IrfanView on Linux? A: Yes. There is no native-Linux version of IrfanView. However, you can use IrfanView in conjunction with Linux programs like Wine, Windows Linux emulators and Linux-based virtual machines.

Setting up Wine for Ubuntu 9.10 (Karmic Koala)

sudo apt-get install wine

The new version should be 1.0.1 as of December 12, 2009.

Setting up Wine for Ubuntu 7.10 (Gutsy Gibbon)

A brief synopsis from Wine homepage is posted below:

wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/winehq.list
sudo apt-get update

Make sure apt-get doesn't produce any errors; for example, Synaptic Package Manager must be closed.

sudo apt-get install wine

The new version should be 0.9.51 as of December 28, 2007.

Setting up required Windows libraries

Certain libraries are required for execution of many Windows applications, including IrfanView. Here is a brief synopsis of commands that will install these libraries.

sudo apt-get install cabextract

Download mfc42.cab from Microsoft into /tmp using this link: [1]

cd /tmp
cabextract mfc42.cab
wine /tmp/mfc42.exe

Follow the on-screen instructions and click OK when the installer prompt you to reboot the computer. Do not reboot, this is not needed for Ubuntu. Alternatively, directly copy mfc42.dll from a Windows %SystemRoot%\system32 directory into /home/username/.wine/drive_c/windows/system32.

Downloading and installing IrfanView

Follow a link to [2]] and download [[Wine/IrfanView IrfanView] installation and plugins. Download the installer into your home directory. Open a terminal and run the following command. When installer finishes, it will prompt you to run IrfanView. Do not run it yet.

wine iview425_setup.exe

If you haven't downloaded IrfanView Plugins (irfanview_plugins_425_setup.exe) yet, download them now. Run

wine irfanview_plugins_425_setup.exe

Start IrfanView. If you chose so, a link will be placed on your Desktop, alternatively, find a launcher in Applications/Wine/Programs/Irfan'View/Irfan'View, or start it via wine "C:/Program Files/IrfanView/i_view32.exe".

Troubleshooting

If IrfanView won't start up after the installation, and you see output like wine: Unhandled page fault on read access... when started from a terminal, the problem is the new toolbar. Delete or rename /home/username/.wine/drive_c/Program Files/IrfanView/i_view32.ini after installing IrfanView; the toolbar with the new (and pretty) icons will disappear and you have the standard icons, but a working IrfanView!

More information