failes if resolution contains non numeric characters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ARandR |
Confirmed
|
Undecided
|
chrysn |
Bug Description
xrandr output of my display:
*snip*
DVI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm
1920x1080 60.0*+
1920x1080i 25.0
1600x1200 60.0
*snip*
Resulting in:
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/lib64/
force_
File "/usr/lib64/
self.
File "/usr/lib64/
self.
File "/usr/lib64/
o.modes.
File "/usr/lib64/
arg = tuple(arg)
File "/usr/lib64/
o.modes.
ValueError: invalid literal for int() with base 10: '1080i'
I did a naive hackaround with re ignoring resolutions with non numeric characters to make it "work on my machine" (TM)
affects: | arandr (Ubuntu) → arandr |
Changed in arandr: | |
assignee: | nobody → chrysn (chrysn) |
status: | New → Confirmed |
this is a known bug (debian bug 507521), and there is a development branch where it is fixed. please try checking it out using:
git clone git://gitorious .org/arandr/ arandr. git
cd arandr
git checkout cglita
./arandr