feh icon indicating copy to clipboard operation
feh copied to clipboard

Feh not correctly work on multiple monitors

Open mt190502 opened this issue 3 years ago • 9 comments
trafficstars

Hi. I'm using swaywm on fedora. But i have a problem.

I'm taking a 3840x1080 resolution screenshot. But when I type feh -F screenshot.png it shows up on a single monitor.

image

I want the 3840x1080 photo I took to appear full screen using two screens. The --no-xinerama and --geometry params didn't work.

mt190502 avatar Sep 05 '22 13:09 mt190502

Maybe that was just not used properly. But I don't know my way around Fedora. In Windows, two visual designs can be set as one (1) or separately (2). If I then use the setting (1) and display an image, which is greater than the first screen (without -F), it is displayed on both and the window can be enlarged to the total size of both screens and moved with pan.

The Toggle key input f (corresponds to the option-F) will scale the image to the maximum size of the first screens. Toggle also works when you start with the option -F.

I think the function should work that way. Here are two shots from the two options: without -F and with -F

RalfWerner avatar Sep 09 '22 12:09 RalfWerner

Maybe that was just not used properly. But I don't know my way around Fedora. In Windows, two visual designs can be set as one (1) or separately (2). If I then use the setting (1) and display an image, which is greater than the first screen (without -F), it is displayed on both and the window can be enlarged to the total size of both screens and moved with pan.

The Toggle key input f (corresponds to the option-F) will scale the image to the maximum size of the first screens. Toggle also works when you start with the option -F.

I think the function should work that way. Here are two shots from the two options: grafik grafik

-F option doesn't work correctly :(

mt190502 avatar Sep 10 '22 05:09 mt190502

-F option doesn't work correctly :(

What do you expect from the option? with feh -h you get among other things: -F, --fullscreen Make the window full screen My example above corresponds to my expectation.

RalfWerner avatar Sep 10 '22 05:09 RalfWerner

-F option doesn't work correctly :(

What do you expect from the option? with feh -h you get among other things: -F, --fullscreen Make the window full screen My example above corresponds to my expectation.

When I make it full screen I want the photo to span two screens

mt190502 avatar Sep 10 '22 05:09 mt190502

When I make it full screen I want the photo to span two screens

That's not the behavior and implementation. to span above two screens - using not -F (first shot). Most of the image is transparent. In fullscreen mode, it is replaced with the background color - see option -B (default black).

RalfWerner avatar Sep 10 '22 05:09 RalfWerner

If my memory is correct using the --geometery should work as long as you specify the correct x,y coordinates, which might vary from how your X displays are configured. Assuming your X screens have an origin point of 0,0 (top left) you'd want --geometery 3840x1080+0+0

avlec avatar Dec 01 '22 07:12 avlec

@mt190502 This issue could be closed. The behavior of full screen and the options for displaying on multiple monitors has been completely clarified.

RalfWerner avatar Dec 01 '22 08:12 RalfWerner

If my memory is correct using the --geometery should work as long as you specify the correct x,y coordinates, which might vary from how your X displays are configured. Assuming your X screens have an origin point of 0,0 (top left) you'd want --geometery 3840x1080+0+0

Not work on swaywm :(

mt190502 avatar Dec 01 '22 19:12 mt190502

It could be swaywm that's getting in the way. I know that with xmonad there is the ability to set rules for windows of different applications. You could also try manually resizing your window, which your window manager might natively support or you might have to configure. I know with xmonad's default config its Super (Win)+Right Click

avlec avatar Dec 02 '22 04:12 avlec