derf / feh

a fast and light image viewer
https://feh.finalrewind.org
Other
1.58k stars 161 forks source link

feh Ignores Blackbox 'Window Placement' #221

Open ghost opened 8 years ago

ghost commented 8 years ago

Hi,

I'm using Blackbox 0.70.1 and feh 2.14.

Blackbox has a menu option called; Window Placement which I have set to Center Placement, which places all windows center screen.

I tried starting feh two different ways without any success;

feh -Tbgpreview "/home/foo/Wallpaper/"
feh --zoom fill -g 800x600 "/home/foo/Wallpaper/"

I noticed also when using Openbox it has an option for center; <center>yes</center> but feh doesn't respect this either so you have to make an option for it in Openbox, to make feh center on screen.

Do you think you could please update feh so that it respects these window managers for centering, or something you can please tell me how to make it work in Blackbox?

Also does the feh window have any flag options to run it undecorated? Openbox has this ability, but after looking online I don't believe Blackbox has the ability to run a window undecorated.

Thanks for your time! :)

ghost commented 8 years ago

Any thoughts or help here?

thank you

derf commented 8 years ago

Sorry, I completely forgot about this issue.

To run feh undecorated, use -x / --borderless. It should remove all window decorations.

Regarding the centering, I can't help you right now. It's probably some X11 hint or flag which feh is either not respecting or not setting correctly itself, but interaction with window managers is one of my least favourite X11 topics, so it's gonna be a while until I look into that.

ghost commented 8 years ago

Hi,

borderless isn't a problem it's getting it to center...

Thank you for your time, it's greatly appreciated!