Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wallpapers speads across my two monitors instead of showing the wallpaper for each monitor (Awesome WM) #418

Closed
HenkeJohansson opened this issue Feb 19, 2021 · 5 comments

Comments

@HenkeJohansson
Copy link

Version of Variety

0.8.5

Describe the bug

Wallpapers spreads across booth my two monitors, making it look bad. On my old setup with the same two monitors, it showed the wallpaper on each monitor, so not stretched out.

And I cant find a setting for this anywhere in variety.
Im using awesome wm and when I log in awesome wm sets the wallpaper, and it does not stretch across my monitors. But later when variety changes the wallpaper it gets stretched out across my monitors.

Context

It happens every time variety changes wallpaper.

To Reproduce

Attach Variety's log file

variety.log

Desktop environment and version

awesome wm

OS name and version

Arch Linux \r (\l)

NAME=ArcoLinux
ID=arcolinux
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR="0;36"
HOME_URL="https://arcolinux.info/"
SUPPORT_URL="https://arcolinuxforum.com/"
BUG_REPORT_URL="https://github.com/arcolinux"
LOGO=arcolinux-hello

Screenshots

ArcoLinux_2021-02-19_18-41-18

Attached files

Additional context

@ericxob77
Copy link

Same here on Linuxmint. Variety is a neat idea, but it it won't work with multiple monitors, it is pointless for me.

@fordarian
Copy link

fordarian commented Jan 22, 2022

It can be related to awesomewm - I got exact same issue using it, but same installation is working perfectly on i3 and bspwm with 4 monitors.

*UPD:

solved by commenting block #Awesome Window Manager, around lines 243-249 in ~/.config/variety/scripts/set_wallpaper
like this:

# Awesome Window Manager
# Be sure to start variety when you start awesome, such as by adding it to ~/.xinitrc
# NOTE: This config will change the wallpaper after your current awesome theme sets it.
# As such, the theme's wallpaper will briefly appear before being replaced with Variety's wallpaper.
#if [[ "$XDG_SESSION_DESKTOP $DESKTOP_STARTUP_ID $DESKTOP_SESSION $XDG_CURRENT_DESKTOP" == *"awesome"* ; then
#   echo "local gears = require(\"gears\") gears.wallpaper.maximized(\"$1\", nil)" | awesome-client
#fi

@pbaesse
Copy link

pbaesse commented Jan 28, 2022

Same here on Linuxmint. Variety is a neat idea, but it it won't work with multiple monitors, it is pointless for me.

Always worked fine with multiple monitor on Linux Mint with me (same wallpaper in each monitor).

@elmeriniemela
Copy link
Contributor

It can be related to awesomewm - I got exact same issue using it, but same installation is working perfectly on i3 and bspwm with 4 monitors.

*UPD:

solved by commenting block #Awesome Window Manager, around lines 243-249 in ~/.config/variety/scripts/set_wallpaper like this:

# Awesome Window Manager
# Be sure to start variety when you start awesome, such as by adding it to ~/.xinitrc
# NOTE: This config will change the wallpaper after your current awesome theme sets it.
# As such, the theme's wallpaper will briefly appear before being replaced with Variety's wallpaper.
#if [[ "$XDG_SESSION_DESKTOP $DESKTOP_STARTUP_ID $DESKTOP_SESSION $XDG_CURRENT_DESKTOP" == *"awesome"* ; then
#   echo "local gears = require(\"gears\") gears.wallpaper.maximized(\"$1\", nil)" | awesome-client
#fi

I changed the echo to this and works like a charm in Awesome WM:
echo "for s in screen do require(\"gears\").wallpaper.maximized(\"$1\", s) end"

@peterlevi
Copy link
Member

I don't have Awesome WM installed, the section in set_wallpaper was provided by a contributor. I would appreciate a tested PR with the suggested changes.

@peterlevi peterlevi changed the title Wallpapers speads across my two monitors instead of showing the wallpaper for each monitor Wallpapers speads across my two monitors instead of showing the wallpaper for each monitor (Awesome WM) Apr 24, 2022
elmeriniemela added a commit to elmeriniemela/variety that referenced this issue Jul 17, 2022
Before this change, the wallpaper on Awesome WM with a dual monitor setup was split between the monitors. After the change, both monitors display a complete, maximized, version of the same wallpaper.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants