Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Aprire un apllicazione su un determinato desktop
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) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
Fiery CroSS
n00b
n00b


Joined: 17 Jul 2006
Posts: 25

PostPosted: Fri Aug 04, 2006 6:02 pm    Post subject: Aprire un apllicazione su un determinato desktop Reply with quote

Esiste un opzione da passare ad un porogramma GTK, perchè questo si apra su un determinato desktop?

Lo chiedo perchè mi piacerebbe far partire gaim direttamente sul desktop n°3 (uso Gnome).

Grazie mille!
Back to top
View user's profile Send private message
Guglie
Apprentice
Apprentice


Joined: 01 Mar 2004
Posts: 240
Location: switzerland - zürich

PostPosted: Sun Aug 06, 2006 9:41 am    Post subject: Reply with quote

Code:
# emerge x11-misc/wmctrl -a

Code:
$ wmctrl -s 2 ; gaim

non è il massimo, perchè con questo comando switcha sul desktop 3 e poi lancia gaim, che si apre in quel desktop, mentre sarebbe interessante che la visuale restasse sempre sul desktop 1 e i programmi si aprissero da soli nei virtual desktop desiderati
_________________
A! Elbereth Gilthoniel! silivren penna míriel o menel aglar elenath!
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Sun Aug 06, 2006 9:58 am    Post subject: Reply with quote

Spostato da Forum italiano (Italian) a Forum di discussione italiano.

Per favore ragazzi, fate attenzione a dove postate, grazie
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Sun Aug 06, 2006 10:40 am    Post subject: Reply with quote

sotto windowmaker lo faccio da sempre... puoi personalizzare tutte le opzioni di avvio di ogni programma :wink:
(pubblicità occulta) :wink:
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Sun Aug 06, 2006 10:44 am    Post subject: Reply with quote

anche io lo faccio sempre con dwm:

config.h ->
Code:
#define RULES \
static Rule rule[] = { \
   /* class:instance regex      tags regex   isfloat */ \
        { "Firefox.*",         "2",      False }, \
        { "Gimp.*",         NULL,      True  }, \
        { "MPlayer.*",             NULL,           True  }, \
        { "aumix.*",              NULL,           True  }, \
        { "xboard.*",              NULL,           True  }, \
        { "Muse.*",                NULL,           True  }, \

};


:lol:
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
Fiery CroSS
n00b
n00b


Joined: 17 Jul 2006
Posts: 25

PostPosted: Sun Aug 06, 2006 1:42 pm    Post subject: Reply with quote

Ringrazio per le risposte e mi scuso per aver sbagliato forum :P

Mumble, mumble...
Utilizzando il tool che mi ha consigliato, il problema si risolverebbe con:
Code:
 /usr/local/bin/gaim & wmctrl -r Lista -t 2

che dovrebbe spostare la finestra 'Lista contatti' sul secondo desktop, ora però sorge un altro problema: gaim ci mette un po' a creare la finestra e wmctrl non la trova, ho risolto così:
Code:
 /usr/local/bin/gaim & sleep 1 && wmctrl -r Lista -t 2

Ma è una soluzione penosa: la finestra appare sul desktop attuale e poi viene spostata -.-

Qualche idea?

Grazie! ;)
Back to top
View user's profile Send private message
Fiery CroSS
n00b
n00b


Joined: 17 Jul 2006
Posts: 25

PostPosted: Sun Aug 20, 2006 6:21 pm    Post subject: Reply with quote

Riapro il topic per postare un'altra semi-soluzione:
Devilspie è un programma che permette di personalizzare il comportamento e le proprietà di tutte quelle finestre che soddisfano un determinato criterio scelto dall'utente.
Ad esempio, è possibile eliminare i bordi del wm da tutte le istanze di *term, o solo da quelle che titolano in un determinato modo; si può massimizzare una finestra verticalmente o orizzontalmente etc...
E' reperibile in portage.

Per mostrare le finestre di Gaim sul terzo Desktop è sufficiente creare il file ~/.devilspie/Gaim.ds, contenente:
Code:
(if
        (contains (application_name) "gaim")
        (begin
                (set_workspace 3)
        )
)


Quindi aggiungere devilspie tra i programmi da avviare insieme alla nuova sessione.

Purtroppo, però, devilspie ignora la finestra "Lista contatti" se questa viene aperta di default all'avvio di Gaim, è possibile riparare all'inconveniente chiudendola e riaprendola nuovamente.
Back to top
View user's profile Send private message
lucapost
Veteran
Veteran


Joined: 24 Nov 2005
Posts: 1419
Location: <ud|me|ts> - Italy

PostPosted: Sat Nov 04, 2006 2:42 pm    Post subject: Reply with quote

Cazzantonio wrote:
sotto windowmaker lo faccio da sempre... puoi personalizzare tutte le opzioni di avvio di ogni programma :wink:
(pubblicità occulta) :wink:


come?dove?
uhmmm, immagino ci sia qualcosa da aggiungere a ~/GNUstep/Library/WindowMaker/menu
ma vale solo per i programmi dal menù accessibile con il taso destro del mouse, o anche a quelli che lancio da terminale?
_________________
LP
Back to top
View user's profile Send private message
pingoo
Guru
Guru


Joined: 11 Jul 2006
Posts: 324

PostPosted: Sat Nov 04, 2006 5:15 pm    Post subject: Reply with quote

Beh visto che fate pubblicità, anche con kde è possibile tra le mille opzioni ;)
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Mon Nov 06, 2006 12:22 am    Post subject: Reply with quote

lucapost wrote:
come?dove?
uhmmm, immagino ci sia qualcosa da aggiungere a ~/GNUstep/Library/WindowMaker/menu
ma vale solo per i programmi dal menù accessibile con il taso destro del mouse, o anche a quelli che lancio da terminale?

clicca sul destro sulla barra in alto del programma e guardati tutte le opzioni... troverai sicuramente "set initial workspace"
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano 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