Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] screen switching / error while emerging disper
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jeken
n00b
n00b


Joined: 11 Nov 2005
Posts: 25

PostPosted: Wed Apr 10, 2013 9:08 am    Post subject: [solved] screen switching / error while emerging disper Reply with quote

hi there.
i'm trying to be able to switch between my laptop monitor and the display port
where sometimes a second monitor is attached and sometimes a beamer.
i do this with twinview at the moment and it works fine, but i have to go into
the settings every time i change the setup which is annoying.
i looked for a solution and found a tool called "disper" which allows to do this
switching from command line.

i tried to emerge disper 3.0 and ran into following error :
Code:
  File "src/disper.py", line 197
    print self.export_config()
             ^
SyntaxError: invalid syntax

after that he finishes compiling and installing without any more errors.
when i try to run disper -L for listing screens i get :
Code:

# >>  disper -L
  File "/usr/bin/disper", line 34
    except Exception,e:
                    ^
SyntaxError: invalid syntax


same errors occur when compiling and installing by hand from the downloaded tarball.
any ideas how i can emerge disper correctly ?
pls tell me if you need any more information about my system.
thx in advance !


Last edited by jeken on Mon Apr 15, 2013 2:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
jeken
n00b
n00b


Joined: 11 Nov 2005
Posts: 25

PostPosted: Mon Apr 15, 2013 2:21 pm    Post subject: Reply with quote

hi again. found the solution by myself.
had to switch python interpreter from 3.2 to 2.7.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum