feh icon indicating copy to clipboard operation
feh copied to clipboard

--start-at %f not working in feh.desktop

Open theArchLadder opened this issue 11 years ago • 3 comments

I want to be able to open one picture in my file manager and then from feh be able to use the scrollwheel to show all the other pictures in that directory. It would be nice if it was possible to just use a .desktop file and not have to mess with a shell script for it.

This works from the terminal: $ feh --start-at ./pic1.jpg But %f in .desktop files gives the absolute path, this does not work: Exec=feh --start-at %f This works from the terminal: $ feh --start-at /home/user/mypics/pic1.jpg /home/user/mypics/ But afaik there is no easy way to get the working directory in a .desktop file. So my wish is that this would work: $ feh --start-at /home/user/mypics/pic1.jpg

theArchLadder avatar Oct 15 '15 16:10 theArchLadder

+1 requiring the "./" is also a problem when trying to get the correct browseable behavior in something like mc (midnight commander)

kclevenger avatar Apr 12 '17 19:04 kclevenger

It's a real shame this has gone unresolved for over 3 years now (in reality probably much longer than that). This is the only serious blocker preventing me from using feh as my primary image viewer. Now that rotating and flipping no longer write changes by default - my only qualms with feh are this and the lack of an upscale to fit screen option outside of fullscreen. I guess it gets to keep going on as that tiny novelty viewer with a lot of potential, but too many quirks to be taken seriously outside of its niche CLI focused userbase. Oh well, here's hoping that changes some day.

Uradamus avatar Nov 13 '18 09:11 Uradamus

It's in the priority pipeline, but as I have a life to live outside of open source stuff (which is just a hobby, anyways) I won't give any guarantees whatsoever.

Related: #372 #420

derf avatar Nov 18 '18 19:11 derf