Bug ID 930330
Summary missing "xdpyinfo" in the list of dependencies (or recommends) for package "i3lock-xlock-compat"
Classification openSUSE
Product openSUSE Distribution
Version 13.2
Hardware x86-64
OS SLES 8
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee bnc-team-screening@forge.provo.novell.com
Reporter fschilling@novell.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:37.0) Gecko/20100101
Firefox/37.0
Build Identifier: 

The xlock.sh script in package i3lock-xlock-compat tries to execute "xdpyinfo"
which is not listed as a dependency.

https://build.opensuse.org/package/view_file/openSUSE:13.2/i3lock/xlock.sh?expand=1

This is causing the following error:

user@host:~> xlock
/usr/bin/xlock: Line 3: xdpyinfo: Command not found.
convert: invalid argument for option `-extent':
/home/fabian/.cache/xlock-sim/lock-.png @
error/convert.c/ConvertImageCommand/1478.
Could not load image "/home/user/.cache/xlock-sim/lock-.png": cairo surface
status 18

Even with this missing dependency the xlock command locks the screen but it
will fail to select a wallpaper in the correct resolution.

Reproducible: Always

Steps to Reproduce:
1. default installation of openSUSE 13.2 but with "Minimal X" Software
selection
2. install package i3lock-xlock-compat from official repository
3. execute "xlock" in terminal
4. check error messages
Actual Results:  
Variable "XY" (not kidding here ;) ) in xlock.sh script is empty at runtime
resulting in a file not found error.

Expected Results:  
Variable "XY" in xlock.sh-script should contain the currently set screen
resolution and load the correct wallpaper for example:

${HOME}/.cache/xlock-sim/lock-1366x768.png

Possible Fix:

Add package "xdpyinfo" to the list of dependencies (or maybe just recommends).


You are receiving this mail because: