You are not logged in.
Pages: 1
Hi everyone,
when I try to start arandr from the Openbox menu or dmenu, nothing happens. Starting from the console gives the following message:
Traceback (most recent call last):
File "/usr/bin/arandr", line 42, in <module>
main()
File "/usr/lib/python2.7/dist-packages/screenlayout/gui.py", line 315, in main
force_version=options.force_version
File "/usr/lib/python2.7/dist-packages/screenlayout/gui.py", line 156, in __init__
self.filetemplate = self.widget.load_from_x()
File "/usr/lib/python2.7/dist-packages/screenlayout/widget.py", line 93, in load_from_x
self._xrandr.load_from_x()
File "/usr/lib/python2.7/dist-packages/screenlayout/xrandr.py", line 150, in load_from_x
o.modes.append(Size(int(a) for a in d.strip().split(" ")[0].split("x")))
File "/usr/lib/python2.7/dist-packages/screenlayout/auxiliary.py", line 53, in __new__
arg = tuple(arg)
File "/usr/lib/python2.7/dist-packages/screenlayout/xrandr.py", line 150, 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: '768i'Any ideas how to fix that? I have already purged and reinstalled arandr, but it still refuses to start. Thanks in advance.
Alefa
Offline
There is a workaround in this thread
bootinfoscript - emacs primer - wireless problems- I ♥ #!
Offline
Thanks for pointing out this thread, xaos52. I tried the workaround suggested there, but it didn't work. It seems that my problem is not exactly the same as the one those people had, because when I run "xrandr" from the console, the output does not contain the word "primary". So removing that word as suggested in this thread doesn't help. Any other ideas? Or should I just use one of the other RandR GUIs like grandr or lxrandr? For now, I just use xrandr on the console, but sometimes it's nice to have a GUI.
Offline
After a bit of googling, I found out that the problem I have seems to be a known bug (this one). The bug is supposed to be fixed in version 0.1.7 of arandr, but Debian Wheezy still uses version 0.1.6. This blog describes a workaround: http://blog.rktmb.org/search?q=arandr+q … th+base+10
By applying the workaround, I managed to make arandr appear, but either I don't understand how it works or it is not working properly. I couldn't activate my laptop monitor (which I usually switch off when using an external monitor). Anyway, I now installed grandr, which works fine. Hope the above instructions will be useful for someone else.
Offline
Pages: 1
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.