You are not logged in.

#1 2008-05-01 00:41:56

ronandi
Member
From: US
Registered: 2008-04-26
Posts: 65

feh troubles

When I click an image in pcmanfm it opens in feh, but I can only see that picture. I cannot use my arrow keys to browse all the other pictures in that directory. Is there a custom command I can supply pcmanfm so that it will do this?


Mobo:Gigabyte Technology Co., Ltd. GA-P35-DS4 Rev. 2.0 // Processor:Intel(R) Core(TM)2 Quad CPU Q6600 @ 3 GHz
Memory:Crucial Ballistix PC2-8500 (DDR2-1066) 2046MB RAM
Video Card: MSI NVIDIA GeForce 8800 GTS 512 (G92) 730mhz Sound Card: ASUS Xonar Essence STX Headphones: Sennheiser HD555
Openbox & PyPanel

Offline

#2 2008-05-01 01:12:37

skymt
Member
Registered: 2006-11-27
Posts: 443

Re: feh troubles

feh normally just displays the image or images given to it on the command line. To display every image in a directory, you need to pass it the directory, not the images inside.

In Thunar I have a custom action set up to run a slideshow of a directory, using the %d parameter to tell Thunar to give feh the parent directory of the image file. There doesn't seem to be a way to do this directly in pcmanfm, but a small shell script will work just as well.

#!/bin/sh
feh -S filename `dirname "$1"`

Note that this will always start at the first file in the directory rather than the one you clicked on.

Last edited by skymt (2008-05-01 01:42:56)

Offline

Board footer

Powered by FluxBB