Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 892073 - swaylog output option for --image option does not work
Summary: swaylog output option for --image option does not work
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal trivial (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-26 10:54 UTC by jamiegetty1
Modified: 2023-01-27 21:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
World file (world,996 bytes, text/plain)
2023-01-26 10:54 UTC, jamiegetty1
Details
make.conf file (make.conf,4.28 KB, text/plain)
2023-01-26 10:56 UTC, jamiegetty1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jamiegetty1 2023-01-26 10:54:41 UTC
Created attachment 849231 [details]
World file

I am trying to use swaylock to show a different image on each monitor. Here is my dual-monitor configuration:

$ cat /etc/X11/xorg.conf.d/10-monitor.conf 
Section "Monitor"
    Identifier  "DisplayPort-2"
    Option      "Primary"        "true"
    Option      "PreferredMode"  "3840x2160"
    Option      "Position"       "0 0"
EndSection

Section "Monitor"
    Identifier  "HDMI-A-0"
    Option      "PreferredMode"  "1920x1080"
    Option      "Position"       "3840 0"
EndSection

The following command allows me to successfully display the same image on all monitors when locked:

$ swaylock --image ~/Pictures/Wallpapers/MadokaCombined/Madoka.png

But the following commands will only display white (the default colour):

$ swaylock --image "DisplayPort-2:~/Pictures/Wallpapers/MadokaCombined/Madoka.png"

Running this command with the --debug option doesn't reveal anything either:

$ swaylock --image "DisplayPort-2:~/Pictures/Wallpapers/MadokaCombined/Madoka.png" --debug
2023-01-26 23:52:05 - [swaylock-1.7/main.c:1188] Parsing CLI Args
2023-01-26 23:52:05 - [swaylock-1.7/main.c:489] Loaded image /home/hiddenforprivacy/Pictures/Wallpapers/MadokaCombined/Madoka.png for output DisplayPort-2
2023-01-26 23:52:05 - [swaylock-1.7/main.c:1245] Using ext-session-lock-v1
Comment 1 jamiegetty1 2023-01-26 10:56:16 UTC
Created attachment 849233 [details]
make.conf file
Comment 2 Jonas Stein gentoo-dev 2023-01-27 21:36:18 UTC
It is sad to read that you have problems with the software. The situation seems to be a bit more complicate and requires some analysis.
We can not help you efficiently via bug tracker. The bug tracker aims rather on specific problems in .ebuilds and less on individual systems. 

I have had very good experience on the gentoo IRC [1] with questions like this. Of course there are also forums and mailing lists [2,3].
I hope you understand, that I will close the bug here therefore and wish you good luck on one of the mentioned channels [4].
Please reopen the ticket in order to provide an indication for an specific error in an ebuild or any gentoo related product.

[1] https://www.gentoo.org/get-involved/irc-channels/
[2] https://forums.gentoo.org/
[3] https://www.gentoo.org/get-involved/mailing-lists/all-lists.html
[4] https://www.gentoo.org/support/