Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Risolto] avant window navigator: problema con awn-settings
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Hal-10000
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jan 2013
Posts: 120

PostPosted: Thu May 23, 2013 10:32 am    Post subject: [Risolto] avant window navigator: problema con awn-settings Reply with quote

In ambiente Openbox ho installato window avant navigator con
Code:
emerge -av avant-window-navigator avant-window-navigator-extras


poi ho anche installato un compositor
Code:
emerge -av xcompmgr


Fin qui tutto bene: la dock si apre, MA non riesco a configurarla. Infatti, facendo click con il pulsante destro del mouse sulla dock, appare un piccolo menu' a tendina con l'opzione "Dock preferences", solo che questo comando non funziona poiche' non si apre la relativa finestra dove e' possibile gestire le varie configurazioni.

Dando da emulatore di terminale
Code:
awn=settings
che dovrebbe servire ad aprire lo stesso quadro per la configurazione della dock, ho questo

Code:
giulio@miogentoo ~ $ awn-settings
  File "/usr/bin/awn-settings", line 47
    except Exception, e:
                    ^
SyntaxError: invalid syntax


Non riesco a capire di quale problema di sintassi si tratta.

In rete non ho trovato elementi utili per risolvere.

Qualcuno saprebbe darmi una mano?

Grazie


Last edited by Hal-10000 on Mon May 27, 2013 12:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
doom555
n00b
n00b


Joined: 29 Oct 2012
Posts: 57

PostPosted: Sun May 26, 2013 10:09 am    Post subject: Reply with quote

Sembra un problema di interprete Python! Probabilimente hai configurato Python 3 come versione di sistema. Dovresti avviarlo con:
Code:
$ python2.7 `which awn-settings`


Controlli che versioni di Python hai installate, quale versione di Python di sistema , eventualmente passi alla 2:
Code:
# eselect python list
Back to top
View user's profile Send private message
Hal-10000
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jan 2013
Posts: 120

PostPosted: Sun May 26, 2013 11:25 pm    Post subject: Reply with quote

Ciao e grazie per la risposta :)

Il comando che hai postato tu
Code:
python2.7 `which awn-settings`
funziona perfettamente, nel senso che si apre la finestra con i settaggi di awn e da li' e' possibile personalizzare la dock secondo le proprie esigenze.
Tuttavia non funziona il comando con click destro sulla dock, che dovrebbe fare aprire la stessa finestra.


Poi ho dato
Code:
giulio@miogentoo ~ $ eselect python list
Available Python interpreters:
  [1]   python2.7
  [2]   python3.2 *


e poi
Code:
giulio@miogentoo ~ $ eselect python2.7 set
!!! Error: Can't load module python2.7
exiting



non ho potuto quindi impostare la versione 2.7 di python...mah!
Back to top
View user's profile Send private message
doom555
n00b
n00b


Joined: 29 Oct 2012
Posts: 57

PostPosted: Mon May 27, 2013 10:55 am    Post subject: Reply with quote

Il comando che devi dare è:
Code:
# eselect python set 1

e devi eseguirlo da utente root poichè specifichi quale sarà l'interprete python di sistema.
Back to top
View user's profile Send private message
Hal-10000
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jan 2013
Posts: 120

PostPosted: Mon May 27, 2013 12:39 pm    Post subject: Reply with quote

pffff.. mi ero perso sull'eselect :lol:

tutto perfetto adesso. Grazie ancora.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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