Package: arandr
Version: 0.1.1-2
Severity: important

"arandr" apparently does not like my "RandR" settings.

Output of "arandr":

---
  Traceback (most recent call last):
    File "/usr/bin/arandr", line 5, in <module>
      main()
    File "/usr/lib/python2.5/site-packages/screenlayout/gui.py", line 296, in 
main
      Application(file=file_to_open, randr_display=options.randr_display).run()
    File "/usr/lib/python2.5/site-packages/screenlayout/gui.py", line 137, in 
__init__
      self.filetemplate = self.widget.load_from_x()
    File "/usr/lib/python2.5/site-packages/screenlayout/widget.py", line 66, in 
load_from_x
      self._xrandr.load_from_x()
    File "/usr/lib/python2.5/site-packages/screenlayout/xrandr.py", line 130, 
in load_from_x
      o.modes.append(Size(int(a) for a in d.strip().split(" ")[0].split("x")))
    File "/usr/lib/python2.5/site-packages/screenlayout/auxiliary.py", line 31, 
in __new__
      arg = tuple(arg)
    File "/usr/lib/python2.5/site-packages/screenlayout/xrandr.py", line 130, 
in <genexpr>
      o.modes.append(Size(int(a) for a in d.strip().split(" ")[0].split("x")))
  ValueError: invalid literal for int() with base 10: 'default'
---

This is how I currently enable external display (on this laptop workstation):

---
  xrandr --newmode default 78.8 1024 1040 1136 1312 768 769 772 800
  xrandr --addmode VGA-0 default
  xrandr --output VGA-0 --mode default
  xrandr --output VGA-0 --right-of LVDS
---

Output of "xrandr":

---
  Screen 0: minimum 320 x 200, current 2048 x 768, maximum 2048 x 768
  LVDS connected 1024x768+0+0 (normal left inverted right x axis y axis) 245mm 
x 184mm
     1024x768       60.0*+
     800x600        60.3  
     640x480        59.9  
  VGA-0 disconnected 1024x768+1024+0 (normal left inverted right x axis y axis) 
0mm x 0mm
     default        75.1* 
  S-video disconnected (normal left inverted right x axis y axis)
---

If I use "xrandr --delmode VGA-0 default" and "xrandr --rmmode default", 
"arandr" starts up.  It shows that LVDS is active, but I did not see how 
it could be used to enable external display.

-- System Information:
Debian Release: lenny/sid
  APT prefers stable
  APT policy: (1001, 'stable'), (101, 'testing'), (99, 'unstable'), (9, 
'experimental')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.27-rc9
Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8)

Versions of packages arandr depends on:
ii  python                        2.5.2-3    An interactive high-level object-o
ii  python-gtk2                   2.12.1-6   Python bindings for the GTK+ widge
ii  x11-xserver-utils             7.3+5      X server utilities

arandr recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to