You are not logged in.

#1 2013-06-21 01:11:37

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

[solved] xscreensaver using glslideshow -root -- with dual monitor?

Trying to set xscreensaver for an animated wallpaper, but /usr/lib/xscreensaver/glslideshow -root runs one screensaver across both monitors where the normal xscreensaver runs one screensaver on each monitor.

Any advise?

Last edited by ngoonee (2013-06-27 03:04:36)


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#2 2013-06-24 02:15:09

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: [solved] xscreensaver using glslideshow -root -- with dual monitor?

Sounds like this is really uncommon unfortunately. Polite bump.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2013-06-27 03:03:23

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: [solved] xscreensaver using glslideshow -root -- with dual monitor?

Ended up working around the problem using xwinwrap and some simple scripts to find the exact resolution to use. Not satisfactory (to me), but it works for now.

#!/bin/bash
# This turns on xscreensaver using xwinwrap on one (or both) screens

SCREENCOUNT=$(xrandr -q | grep " connected " | grep -v " connected (" |  wc -l)
xwinwrap -b -sp -st -nf -ni -ov -g 1920x1080 -- /usr/lib/xscreensaver/glslideshow -root -window-id WID &

if [[ $SCREENCOUNT -gt 1 ]]; then
    xwinwrap -b -sp -st -nf -ni -ov -g $(xrandr -q | grep " connected " | grep -v LVDS1 | awk '{ print $3 }') -- /usr/lib/xscreensaver/glmatrix -root -window-id WID &
fi

Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#4 2016-05-19 08:47:25

oinkl
Member
Registered: 2010-01-13
Posts: 47

Re: [solved] xscreensaver using glslideshow -root -- with dual monitor?

In case anyone needs it, I wrote a simple script (to use with glslideshow) which iterates through wallpapers in a directory in an ordered sequence, ensuring that the same wallpaper is displayed on each monitor on transition. It's not very robust, and Python isn't my first language, but it works simply.

Doc: https://github.com/jusw85/scripts/wiki/ … image-file

File: https://raw.githubusercontent.com/jusw8 … image-file

Offline

#5 2016-05-19 08:48:14

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [solved] xscreensaver using glslideshow -root -- with dual monitor?

Please don't necrobump, especially solved threads: https://wiki.archlinux.org/index.php/Fo … bumping.22



Closing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB