Howdy,
new to Kubuntu and the forum. Please feel free to move to a better sub-forum if applicable.
Just got my friend a new PC and decided to give Kubuntu a try, so I just installed 21.10 for her (previously Manjaro, before that Win7).
She is very much used to working with IrfanView on Windoze so I install Wine and IrfanView for her. The installation did not automatically add options for opening ("Open with") IrfanView from the context menu in Dolphin (I seem to remember that on Manjaro this did fall into place automagically?) but that is not the point. I manually added that by opening the context menu "Open with" and henceforth browsing through the applications to IrfanView and selecting it as "always use" and later switching that back to Gwenview, which left me with an entry for IrfanView in the "Open with" context menu now.
Problem is that using this option in the context menu does not pass on the selected file correctly to IrfanView if there is a space in the path to the file, so the entry that starts this service will prolly need some ' ' around the path/filename or some such. Paths/filenames without spaces or other obtrusive characters seem to work as intended. [Edit: The spaces are not the problem, see further below.]
To get to this I tried to find some .desktop file or other that might contain the line calling IrfanView from dolphin, but could not locate it.
Looked in these directories to no avail:
~/.local/share/kservices5/ServiceMenus/
~/.kde/share/kde4/services/ServiceMenus/
~/.local/share/dolphin
/usr/share/kservices5/ServiceMenus/
/usr/share/kde4/services/ServiceMenus/
any pointers?
TIA!
Leendert
P.S. Found an entry in ~/.wine/user.reg that points to:
> "DesktopFile"="/home/username/.local/share/applications/wine-extension-tif.desktop"
And hence the desktop file it refers to, with this line in it:
> Exec=env WINEPREFIX="/home/username/.wine" wine-stable start /ProgIDOpen IrfanView.tif %f
Changed the %f to "%f", closed and restarted dolphin but that didn't fix it ....
P.P.S.
Found this related bug (for office .docx):
(h t t p s : / / bugs . winehq . org /) show_bug.cgi?id=19385
That one is listed as "fixed/closed" however ... will try to read up more on that.
Meantime any quick pointers are appreciated ...
new to Kubuntu and the forum. Please feel free to move to a better sub-forum if applicable.
Just got my friend a new PC and decided to give Kubuntu a try, so I just installed 21.10 for her (previously Manjaro, before that Win7).
She is very much used to working with IrfanView on Windoze so I install Wine and IrfanView for her. The installation did not automatically add options for opening ("Open with") IrfanView from the context menu in Dolphin (I seem to remember that on Manjaro this did fall into place automagically?) but that is not the point. I manually added that by opening the context menu "Open with" and henceforth browsing through the applications to IrfanView and selecting it as "always use" and later switching that back to Gwenview, which left me with an entry for IrfanView in the "Open with" context menu now.
Problem is that using this option in the context menu does not pass on the selected file correctly to IrfanView if there is a space in the path to the file, so the entry that starts this service will prolly need some ' ' around the path/filename or some such. Paths/filenames without spaces or other obtrusive characters seem to work as intended. [Edit: The spaces are not the problem, see further below.]
To get to this I tried to find some .desktop file or other that might contain the line calling IrfanView from dolphin, but could not locate it.
Looked in these directories to no avail:
~/.local/share/kservices5/ServiceMenus/
~/.kde/share/kde4/services/ServiceMenus/
~/.local/share/dolphin
/usr/share/kservices5/ServiceMenus/
/usr/share/kde4/services/ServiceMenus/
any pointers?
TIA!
Leendert
P.S. Found an entry in ~/.wine/user.reg that points to:
> "DesktopFile"="/home/username/.local/share/applications/wine-extension-tif.desktop"
And hence the desktop file it refers to, with this line in it:
> Exec=env WINEPREFIX="/home/username/.wine" wine-stable start /ProgIDOpen IrfanView.tif %f
Changed the %f to "%f", closed and restarted dolphin but that didn't fix it ....
P.P.S.
Found this related bug (for office .docx):
(h t t p s : / / bugs . winehq . org /) show_bug.cgi?id=19385
That one is listed as "fixed/closed" however ... will try to read up more on that.
Meantime any quick pointers are appreciated ...
Comment