Ok I finally found how to do it (on macOS). Putting a mini-tutorial here in case someone ends up here:
First, XnView is not going to run CLI programs, at least as far I can tell. The error indicates that it's trying to open the shell script as if it was an app, or maybe with the default associated ...
Search found 21 matches
- Tue Jun 03, 2025 9:50 pm
- Forum: MP - General Support
- Topic: Adding Bash script as associated program not working
- Replies: 3
- Views: 165
- Tue Jun 03, 2025 9:15 pm
- Forum: MP - General Support
- Topic: Adding Bash script as associated program not working
- Replies: 3
- Views: 165
- Mon Jun 02, 2025 10:47 pm
- Forum: MP - General Support
- Topic: Adding Bash script as associated program not working
- Replies: 3
- Views: 165
Adding Bash script as associated program not working
I've created a simple Bash script that converts the provided file to JPEG and adds a watermark. I've then added it to the Configured Programs - I've set the path to my Bash script and left the Arguments empty.
Now when I try to run this, nothing happens. In the console it only shows this ...
Now when I try to run this, nothing happens. In the console it only shows this ...
- Thu May 29, 2025 8:01 pm
- Forum: MP - General Support
- Topic: Images are over-saturated - how to fix it?
- Replies: 3
- Views: 177
Re: Images are over-saturated - how to fix it?
Well actually it seems selecting "sRGB" and "System profile" fixes it. Thanks for pointing me in the right direction!
- Thu May 29, 2025 7:59 pm
- Forum: MP - General Support
- Topic: Images are over-saturated - how to fix it?
- Replies: 3
- Views: 177
Re: Images are over-saturated - how to fix it?
Thank you, I checked this but what options should I select here? I tried tweaking a few parameters but I'm not seeing the image being changed. What would be the parameters to make it match the operating system?


- Thu May 29, 2025 7:25 pm
- Forum: MP - General Support
- Topic: Images are over-saturated - how to fix it?
- Replies: 3
- Views: 177
Images are over-saturated - how to fix it?
I unfortunately don't know much about ICC profiles, pretty much nothing actually, but I can see that the images in XnView MP are over-saturated, and it's the only application that does this. In my browser, Preview app, etc. images are displayed correctly, while in XnView MP they are always ...
- Sun Feb 16, 2025 3:57 pm
- Forum: Closed/Resolved
- Topic: Select folder name when creating a new folder?
- Replies: 12
- Views: 2371
Re: Select folder name when creating a new folder?
Looks like it's working well now. Many thanks for fixing this!
- Sat Feb 08, 2025 12:19 pm
- Forum: Closed/Resolved
- Topic: Select folder name when creating a new folder?
- Replies: 12
- Views: 2371
Re: Select folder name when creating a new folder?
That's brilliant, thanks for looking into it!
- Fri Feb 07, 2025 2:13 pm
- Forum: Closed/Resolved
- Topic: Select folder name when creating a new folder?
- Replies: 12
- Views: 2371
Re: Select folder name when creating a new folder?
Sure, I've sent you a PM with the link to it
- Thu Feb 06, 2025 4:56 pm
- Forum: Closed/Resolved
- Topic: Select folder name when creating a new folder?
- Replies: 12
- Views: 2371
Re: Select folder name when creating a new folder?
It's on macOS by the way. One thing you can briefly see on the video is that the folder icon is initially the default macOS blue one, then it's quickly changed to the yellow one. I wonder if this is part of the issue - maybe initially the text is selected, then the folder display is updated and text ...
- Thu Feb 06, 2025 4:38 pm
- Forum: Closed/Resolved
- Topic: Select folder name when creating a new folder?
- Replies: 12
- Views: 2371
Re: Select folder name when creating a new folder?
In my case it always happens, whether it's a folder with many images or no images, or just other folders.
Example video:

- Wed Feb 05, 2025 2:42 pm
- Forum: Closed/Resolved
- Topic: Select folder name when creating a new folder?
- Replies: 12
- Views: 2371
Re: Select folder name when creating a new folder?
And this issue doesn't seem to be a feature but a bug. Because it works fine when creating via the toolbar button, just not with a shortcut. I think something happens when the folder is created, like it's refreshing something which unselects the text.
On the other hand, it seems you've open that ...
On the other hand, it seems you've open that ...
- Wed Feb 05, 2025 1:24 pm
- Forum: Closed/Resolved
- Topic: Select folder name when creating a new folder?
- Replies: 12
- Views: 2371
Select folder name when creating a new folder?
Whenever I create a new folder using a keyboard shortcut (F7), the folder name is not selected. It means I need to press Ctrl+A and then set the name.
I seem to remember it was working differently, and that's definitely different from any other application. Any idea how to make this work?
(note ...
I seem to remember it was working differently, and that's definitely different from any other application. Any idea how to make this work?
(note ...
- Sat Jan 18, 2025 11:49 am
- Forum: MP - General Support
- Topic: Linking to a specific folder from the toolbar?
- Replies: 8
- Views: 2338
Re: Linking to a specific folder from the toolbar?
you would like to add a button in toolbar of XnView to open the selected file in XnView?
Yes, I would click on that button in the toolbar, and it would go to, for example /path/to/dir
I know favourites already offer this functionality but it's in a sub-menu and I frequently go to a certain ...
- Thu Jan 16, 2025 2:52 pm
- Forum: MP - General Support
- Topic: Linking to a specific folder from the toolbar?
- Replies: 8
- Views: 2338
Re: Linking to a specific folder from the toolbar?
Yes it kind of work, but it opens the folder in a new Finder window, instead of opening it in XnView.
I've also tried open -a /Applications/XnViewMP.app --args /path/to/dir but that doesn't work if XnView is already open (it does it isn't).
Is there maybe a specific XnView command line argument I ...
I've also tried open -a /Applications/XnViewMP.app --args /path/to/dir but that doesn't work if XnView is already open (it does it isn't).
Is there maybe a specific XnView command line argument I ...