Bug 1323597

Summary: arandr - xrandr 1.5 support
Product: [Fedora] Fedora Reporter: Michele Baldessari <michele>
Component: arandrAssignee: Maros Zatko <mzatko>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 24CC: mike, mvanross, mzatko, thrcka, zapster
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-28 16:26:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michele Baldessari 2016-04-04 08:04:40 UTC
Description of problem:
Moved to f24 and got the following backtrace:


Traceback (most recent call last):
  File "/usr/bin/arandr", line 42, in <module>
    main()
  File "/usr/lib/python2.7/site-packages/screenlayout/gui.py", line 318, in main
    force_version=options.force_version
  File "/usr/lib/python2.7/site-packages/screenlayout/gui.py", line 157, in __init__
    self.widget = widget.ARandRWidget(display=randr_display, force_version=force_version)
  File "/usr/lib/python2.7/site-packages/screenlayout/widget.py", line 48, in __init__
    self._xrandr = XRandR(display=display, force_version=force_version)
  File "/usr/lib/python2.7/site-packages/screenlayout/xrandr.py", line 42, in __init__
    raise Exception("XRandR 1.2/1.3 required.")
Exception: XRandR 1.2/1.3 required.



Version-Release number of selected component (if applicable):
arandr-0.1.7.1-6.fc24.noarch

This is due to xrandr being 1.5 now:
randr -v    
xrandr program version       1.5.0
Server reports RandR version 1.5


Adding the version in /usr/lib/python2.7/site-packages/screenlayout/xrandr.py
fixes things for me.

Comment 1 Mark van Rossum 2016-05-05 08:10:59 UTC
Or run with 
 arandr   --force-version

Comment 2 Mike Gerber 2016-06-10 14:58:44 UTC
A simple update to arandr 0.1.9 (see BZ#1316257) fixed this for me.

Comment 3 Mike Gerber 2016-11-25 15:46:12 UTC
Dear maintainer,

arandr 0.1.9 is now in in Fedora (F23-F25), so I think this bug can be closed.

https://apps.fedoraproject.org/packages/arandr

Thanks,
Mike