Comments (6)
You mean something like making --start-at also work for filenames, as in "feh --start-at ./foo.jpg ."?
I don't really know why you'd need this often enough to warrant an option for that, but.. hm. Might also be usable in case someone ever wants to use feh together with nautilus/dolphin or something like that.
So I might implement this in the course of the next weeks... I'll tell you if/when it's done ;)
from feh.
You mean something like making --start-at also work for filenames, as in "feh --start-at ./foo.jpg ."?
Yeah, that would be awesome.
Might also be usable in case someone ever wants to use feh together with nautilus/dolphin or something like that.
That's exactly the use-case I was thinking of. Right now the only reason I have mirage installed is because it's easier to start slideshows with it.
So I might implement this in the course of the next weeks... I'll tell you if/when it's done ;)
Cool, thanks :)
from feh.
Okay, implemented and working now. Either feh --start-at foo.jpg * or feh --start-at ./foo.jpg . - if you find any quirks, please let me know.
from feh.
quirks
--start-at foo.jpg
--start-at /path/to/foo.jpg
neither of these work; feh keeps complaining that they're not in the filelist.
This is what I'm using in my feh.desktop:
Exec=feh --start-at ./%n .
it only works if I launch my file browser (PCManFM2) from the directory I want to browse.
from feh.
The problem is that pcmanfm does not change the current working directory, which is IMHO not feh's fault. The following wrapper script should do the job (Exec=$wrapper %f):
#!/bin/sh
feh --sort filename --start-at "$1" "$(dirname $1)"
from feh.
Apparently Nautilus doesn't change the working directory either, but Thunar does.
Oh well, time to go bug the pcmanfm devs now :).
from feh.
Related Issues (20)
- Image Loads with Progressive Zoom
- feh no longer reading keys file HOT 1
- failure to load or scan directory HOT 1
- rotate 180 corrupts image
- Data loss with `--unloadable` deleting files HOT 1
- Feature request: logging or printing of current filename HOT 1
- EXIF data for HEIC pictures HOT 1
- feh should request Full Screen to the window manager HOT 2
- One-background-per-display does not work with nvidia drivers + modesetting enabled
- Fully opaque images with alpha channel are rendered slightly transparent when zoomed out HOT 3
- Screen rotation in fullscreen mode causes pictures to be drawn in tile pattern
- double free when using --randomize with unloadable image file
- Allow for adding/removing actions from menu
- CWE-476: NULL Pointer Dereference in XPM Image Parser (ImLib2) HOT 1
- man page site doesn't render HOT 1
- Feature request: Get last file path viewed when exiting feh HOT 1
- Feature request: slideshow for wallpapers
- [Feature Request] Slideshow - Add auto-pan to slideshow HOT 1
- [Feature Request] Slideshow - Add transitions to slideshow
- App icon is not shown: what am I doing wrong?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from feh.