Bug 1323597 - arandr - xrandr 1.5 support
Summary: arandr - xrandr 1.5 support
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: arandr
Version: 24
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Maros Zatko
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-04 08:04 UTC by Michele Baldessari
Modified: 2016-11-28 16:26 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-28 16:26:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.