View previous topic :: View next topic |
Author |
Message |
loopx Advocate


Joined: 01 Apr 2005 Posts: 2787 Location: Belgium / Liège
|
Posted: Sat Apr 22, 2006 2:32 pm Post subject: [XGL & NetBeans] ouvrir un X dans une autre fenetre (ré |
|
|
Pour utiliser netbeans sous XGL (vu que c'est pas encore compatible), je démarre un autre (client?) X et j'y lance un terminal (d'ou je peux lancer netbeans) avec ce tit scrip (à lancer en user):
Code: |
loopx@loop ~ $ cat new-x.sh
#!/bin/bash
Xnest :0 -ac &
sleep 3
DISPLAY=:0 kwin --replace &
DISPLAY=:0 xterm &
#DISPLAY=:0 netbeans-4.0 &
|
Note: j'ai KDE => je lance kwin --replace (sinon, j'ai pas de bordure).
Seulement, le problème c'est que je peux pas agrandir au max (maximise) la fenetre de ce nouveaux X (donc la fenetre ou se trouve netbeans).
C'est assez domage, n'y a t'il pas moyen de régler ca quelque part pour pouvoir agrandir au maximum (à la taille de mon Xgl) ? _________________ Mon MediaWiki perso : http://pix-mania.dyndns.org
Last edited by loopx on Sat Apr 22, 2006 4:19 pm; edited 1 time in total |
|
Back to top |
|
 |
avendesora Veteran


Joined: 16 Aug 2002 Posts: 1739 Location: Betelgeuse vicinity
|
Posted: Sat Apr 22, 2006 3:58 pm Post subject: |
|
|
Tu as essayé de passer un '-geometry AxB+C+D' a ton Xnest?
(man Xnest pour la syntaxe) |
|
Back to top |
|
 |
loopx Advocate


Joined: 01 Apr 2005 Posts: 2787 Location: Belgium / Liège
|
Posted: Sat Apr 22, 2006 4:10 pm Post subject: |
|
|
heu, non, c'est quoi cette option ? Ca me fait penser au math (complexe)  _________________ Mon MediaWiki perso : http://pix-mania.dyndns.org |
|
Back to top |
|
 |
loopx Advocate


Joined: 01 Apr 2005 Posts: 2787 Location: Belgium / Liège
|
Posted: Sat Apr 22, 2006 4:20 pm Post subject: |
|
|
Nikel, voilà le tit scrip mis à jour:
Code: |
loopx@loop ~ $ cat new-x.sh
#!/bin/bash
Xnest :0 -ac -geometry 1280x1024+0+0 &
sleep 3
DISPLAY=:0 kwin --replace &
DISPLAY=:0 xterm &
#DISPLAY=:0 netbeans-4.0 &
|
Ainsi, je peux travailler sur netbeans AVEC mon xgl
Merci  _________________ Mon MediaWiki perso : http://pix-mania.dyndns.org |
|
Back to top |
|
 |
|