The officially official Devuan Forum!

You are not logged in.

#1 2022-09-14 09:54:06

Registered: 2022-02-08
Posts: 61  

[SOLVED] feh some keys not working

Hello everybody!

'feh' doesn't seem to work as expected

apt policy feh
  Installed: 3.6.3-1
  Candidate: 3.6.3-1

'man feh' shows

n, ⟨space⟩, ⟨Right⟩ [next_img]
             Show next image.  Selects the next image in thumbnail mode.

o [toggle_pointer]
             Toggle pointer visibility

p, ⟨BackSpace⟩, ⟨Left⟩ [prev_img]
             Show previous image.  Selects the previous image in thumbnail mode.

but neither 'n', 'space', 'right' nor 'p', 'backspace', 'left' work

and to make things more mysterious the other keys are working

how to fix it?
thank you in advance!

Last edited by amaro (2022-09-14 11:09:28)


#2 2022-09-14 10:33:02

Registered: 2022-09-08
Posts: 8  

Re: [SOLVED] feh some keys not working

It might be the way you are opening the images. If you open one image and expect to go to the next or previous using shortcut keys that wont work, you need to open a range of images you want to look at, so if you have five images open five at a time and feh will just open them in one window for you to browse using keys or buttons.

I use the example files for keys and buttons like so.

cp /usr/share/doc/feh/examples/keys ~/.config/feh/
# feh key configuration.
# Comments start with a # sign, do not use them mid-line.
# Each line must be blank, a comment, or a key definition.
# key definition: <action name> <key1> [<key2> [<key3>]]
# Each <key> is an X11 keysym (as output by xev) with optional modifier.
# For instance, C-x would be Ctrl+X, or 4-space Mod4+Space

# Examples for vim-like menu bindings on a qwerty keyboard:
menu_parent h Left
menu_child  l Right
menu_down   j Down
menu_up     k Up
menu_select space Return

# Same for image navigation ...
next_img j Right space
prev_img k Left BackSpace

# and image movement
scroll_up    J C-Up
scroll_down  K C-Down
scroll_left  H C-Left
scroll_right L C-Right

# File deletion
remove     d   Delete
delete   C-d C-Delete

# remove now conflicts with toggle_filenames, so change that
toggle_filenames f

# zooming
zoom_in  C-Up f
zoom_out C-Down a
zoom_default d
zoom_fit s

# I only hit these accidentaly

# This leaves some conflicts with existing default bindings, but you should
# get the idea.  And I'm not gonna fix the conflicts, I don't use qwerty ;-)


#3 2022-09-14 11:08:42

Registered: 2022-02-08
Posts: 61  

Re: [SOLVED] feh some keys not working

looks like in order for the keys to work one should first 'cd' into the folder
thank you, Evenson!

Last edited by amaro (2022-09-14 11:08:59)


Board footer