0.51 Ubuntu: Can't open files containing spaces
Moderators: helmut, XnTriq, xnview
-
- Posts: 8
- Joined: Thu Aug 23, 2012 7:17 am
0.51 Ubuntu: Can't open files containing spaces
Hello,
I'm using XnView (0.51) as my favuorite image viewer on Linux Ubuntu. I've noticed that if you open on an image file, sometimes the XnView window opens but the viewer doesn't start (the window stays blank). I've realized that this happens when you double click on a file whose name or path contains a space.
Thanks for your attention
Ale
I'm using XnView (0.51) as my favuorite image viewer on Linux Ubuntu. I've noticed that if you open on an image file, sometimes the XnView window opens but the viewer doesn't start (the window stays blank). I've realized that this happens when you double click on a file whose name or path contains a space.
Thanks for your attention
Ale
-
- Posts: 8
- Joined: Thu Aug 23, 2012 7:17 am
-
- Posts: 8
- Joined: Thu Aug 23, 2012 7:17 am
Re: Can't open files containing spaces
I think so, as far as I remember
Re: Can't open files containing spaces
There is a little problem in the xnview script that launch XnViewMPbrigantino2 wrote:I think so, as far as I remember
Pierre.
- CreativeWorld
- Posts: 145
- Joined: Fri Dec 30, 2011 7:08 pm
Re: Can't open files containing spaces
Are you able to fix this problem? When will be fix this problem?xnview wrote:There is a little problem in the xnview script that launch XnViewMP
Re: Can't open files containing spaces
with next version, but you can edit the scriptCreativeWorld wrote:Are you able to fix this problem? When will be fix this problem?xnview wrote:There is a little problem in the xnview script that launch XnViewMP
Pierre.
- CreativeWorld
- Posts: 145
- Joined: Fri Dec 30, 2011 7:08 pm
Re: Can't open files containing spaces
Which script? What should I replace?xnview wrote:with next version, but you can edit the scriptCreativeWorld wrote:Are you able to fix this problem? When will be fix this problem?xnview wrote:There is a little problem in the xnview script that launch XnViewMP
Re: Can't open files containing spaces
You can change in the /usr/sbin/xnview script, $dirname/xnview "$@"
Pierre.
Re: 0.51 Ubuntu: Can't open files containing spaces
It is working, thank you.
This is the modified file:
This is the modified file:
Code: Select all
#!/bin/sh
export LD_LIBRARY_PATH=/opt/XnView/lib
export QT_PLUGIN_PATH=/opt/XnView/lib
if [ $# -lt 1 ]; then
/opt/XnView/XnView
else
/opt/XnView/XnView "$@"
fi