Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
idesk sur fluxbox
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
fb99
l33t
l33t


Joined: 09 Apr 2003
Posts: 998
Location: Le Locle (Suisse,Neuchâtel)

PostPosted: Sat May 17, 2003 4:04 pm    Post subject: idesk sur fluxbox Reply with quote

est-ce que vous savez ou je peux trouver un guide pour mettre idesk sur fluxbox
Back to top
View user's profile Send private message
Dom
Guru
Guru


Joined: 25 Mar 2003
Posts: 416
Location: Menton, France

PostPosted: Sat May 17, 2003 4:13 pm    Post subject: Reply with quote

je sais pas trop mais je peux t'expliquer comment j'ai fait :

1 - Après un emerge idesk, tu crées dans ton répertoire perso un fichier .ideskrc :
Code:
table Config
  FontName: tahoma
  FontSize: 8
  FontColor: #ffffff
  PaddingX: 35
  PaddingY: 25
  Locked: true
  HighContrast: false
  Transparency: 120
  Shadow: true
  ShadowColor: #000000
  ShadowX: 1
  ShadowY: 2
  Bold: false
end


Ensuite, tu crées un dossier .idesktop, qui va contenir un fichier program.Ink pour chacune des icônes. Par exemple, pour xmms.Ink :
Code:
table Icon
  Command: xmms
  Icon: /home/dominique/.idesktop/Icons/l33t_MED_xmms_small.png
  X: 170
  Y: 10
end


Pour lancer idesk au démarrage, il faut le rajouter dans .xinitrc. En général, ça ne fonctionne pas bien parce que idesk est chargé avant le fond d'écran? Je te conseille donc de créer un script "delay_idesk" :

Code:
#!/bin/bash
# la valeur après sleep (en secondes) est éventuellement à régler
sleep 3
idesk


Voilà normalement ça devrait bien fonctionner :D
Back to top
View user's profile Send private message
fb99
l33t
l33t


Joined: 09 Apr 2003
Posts: 998
Location: Le Locle (Suisse,Neuchâtel)

PostPosted: Sat May 17, 2003 4:50 pm    Post subject: Reply with quote

ça marche merci :lol:
comment faire pour que les icônes ne soit pas carré mais ronde
Back to top
View user's profile Send private message
fb99
l33t
l33t


Joined: 09 Apr 2003
Posts: 998
Location: Le Locle (Suisse,Neuchâtel)

PostPosted: Sat May 17, 2003 4:54 pm    Post subject: Reply with quote

à oui et comment créer un script (désolé de te dérangé mais je ne mis connais pas beaucoup :oops: )
Back to top
View user's profile Send private message
Dom
Guru
Guru


Joined: 25 Mar 2003
Posts: 416
Location: Menton, France

PostPosted: Sat May 17, 2003 5:17 pm    Post subject: Reply with quote

Pour le script, tu crées tout simplement un fichier texte qui contient les commandes à exécuter, puis tu fais un "chmod +x <fichier>" pour qu'il devienne exécutable. Par exemple, pour delay_idesk :
Code:
# su
password :
# cd /usr/bin
# touch delay_idesk
# nano delay_idesk
tu édites le fichier, puis tu enregistres (ctrl + o) et tu quittes (ctrl +x)
# chmod +x delay_idesk


Tu peux maintenant tester le script en tapant delay_idesk dans un terminal.
Back to top
View user's profile Send private message
Dom
Guru
Guru


Joined: 25 Mar 2003
Posts: 416
Location: Menton, France

PostPosted: Sat May 17, 2003 5:20 pm    Post subject: Reply with quote

J'ai oublié les icônes... désolé mais je comprend pas trop pourquoi les tiennes sont carrées. Tu utilises les icônes gentoo ?
Back to top
View user's profile Send private message
fb99
l33t
l33t


Joined: 09 Apr 2003
Posts: 998
Location: Le Locle (Suisse,Neuchâtel)

PostPosted: Sat May 17, 2003 5:21 pm    Post subject: Reply with quote

oui c'est bon mon script marche mais ça ne suffit pas pour qu'il
se lance au démarrage de fluxbox.
Back to top
View user's profile Send private message
Dom
Guru
Guru


Joined: 25 Mar 2003
Posts: 416
Location: Menton, France

PostPosted: Sat May 17, 2003 5:26 pm    Post subject: Reply with quote

Il faut maintenant que tu édites ~/.xinitrc : avant la ligne "fluxbox", tu rajoutes "delay_idesk &". Attention, le "&" est très important, il permet au script de ne pas bloquer sur idesk et de lancer tous les programmes jusqu'à fluxbox.
Back to top
View user's profile Send private message
fb99
l33t
l33t


Joined: 09 Apr 2003
Posts: 998
Location: Le Locle (Suisse,Neuchâtel)

PostPosted: Sat May 17, 2003 5:29 pm    Post subject: Reply with quote

c'est bien ce que je pensais mais je trouve .xinitrx il est censé se trouvé où ?
Back to top
View user's profile Send private message
Dom
Guru
Guru


Joined: 25 Mar 2003
Posts: 416
Location: Menton, France

PostPosted: Sat May 17, 2003 5:36 pm    Post subject: Reply with quote

Dans /home/nom_d'utilisateur/. Je poste le mien :

/home/dominique/.xinitrc :
Code:
export LC_ALL="fr_FR"
numlockx on
delay_idesk &
gkrellm2 -w &
fluxbox
Back to top
View user's profile Send private message
fb99
l33t
l33t


Joined: 09 Apr 2003
Posts: 998
Location: Le Locle (Suisse,Neuchâtel)

PostPosted: Sat May 17, 2003 5:39 pm    Post subject: Reply with quote

merci, c'est possible que je ne l'ai pas parce que je suis tout le temps en root.
Back to top
View user's profile Send private message
plut0nium
n00b
n00b


Joined: 07 May 2003
Posts: 51
Location: Mons [Belgium]

PostPosted: Sat May 17, 2003 5:42 pm    Post subject: Reply with quote

fb99 wrote:
merci, c'est possible que je ne l'ai pas parce que je suis tout le temps en root.


:roll:

c'est pas prudent ça... :twisted:
_________________
"Without evil there can be no good so it must be good to be evil sometimes..."
site | blog | ...
Back to top
View user's profile Send private message
Dom
Guru
Guru


Joined: 25 Mar 2003
Posts: 416
Location: Menton, France

PostPosted: Sat May 17, 2003 5:44 pm    Post subject: Reply with quote

Mais c'est pas bien du tout ça :?
Sérieusement tu devrais éviter, ça peut être dangereux pour ton système. Connecte-toi plutôt en utilisateur, et connecte-toi en root en ouvrant un terminal (avec "su", "su -" pour ouvrir une véritable session root, ou "sudo <nom_du_prog>" pour exécuter un programme en tant que root).
Back to top
View user's profile Send private message
px
Guru
Guru


Joined: 26 Sep 2002
Posts: 497
Location: Metz, France

PostPosted: Sat May 17, 2003 6:07 pm    Post subject: Reply with quote

simple exemple, tu te croi dans un /tmp et tu fait un rm -rf * alors que tu etait dans le / ... si tu est en root tu flingue tout... si tu est en user ca te jette
_________________
Nous autres, mordus d'informatique, préférons par-dessus tout passer notre temps à bidouiller nos ordinateurs, plutôt que les utiliser pour faire quelque chose de productif. [Dave Barry]
Back to top
View user's profile Send private message
fb99
l33t
l33t


Joined: 09 Apr 2003
Posts: 998
Location: Le Locle (Suisse,Neuchâtel)

PostPosted: Sat May 17, 2003 6:22 pm    Post subject: Reply with quote

bon ben si vous le dite. En faite j'ai pris cette mauvaise habitude quand j'était utilisateur mandrake parce qu'il y avait des gestionnaire qui ne pouvais s'ouvrir qu'en root. donc voilà ...
donc en root il n'y a pas de .xinitrd?
Back to top
View user's profile Send private message
HuGoBioS
n00b
n00b


Joined: 26 Apr 2003
Posts: 20
Location: Toulouse - France

PostPosted: Sat May 17, 2003 6:32 pm    Post subject: Reply with quote

si un mec tetu comem moi a pu passer de always root a un user normal ... tu peux y arriver !
bon ok je suis tres souvent en su ou en avec sudo ... mais c'ets vrai que c'ets bcp plus secure !!!
_________________
N'imitez pas : INNOVEZ
Back to top
View user's profile Send private message
fb99
l33t
l33t


Joined: 09 Apr 2003
Posts: 998
Location: Le Locle (Suisse,Neuchâtel)

PostPosted: Sat May 17, 2003 6:35 pm    Post subject: Reply with quote

voilà c'est fait j'ai créer un nouvel user et je l'ai mis dans le groupe users est-ce un choix judicieux?
Back to top
View user's profile Send private message
Dom
Guru
Guru


Joined: 25 Mar 2003
Posts: 416
Location: Menton, France

PostPosted: Sat May 17, 2003 6:39 pm    Post subject: Reply with quote

Normalement oui, dans /root/.xinitrc. Mais je crois qu'il existe d'autres scripts de lancement de X. Comment tu lances X avec fluxbox au démarrage ?

Sinon, il faudrais que tu crées un utilisateur comme ça :
Code:
# adduser nom_utilisateur -G games,audio,wheel
# mkdir /home/nom_utilisateur
# passwd nom_utilisateur
password :
# chown nom_utilisateur -R /home/nom_utilisateur

J'espère ne pas me tromper - corrigez-moi éventuellement

Ensuite, tu crées le fichier /home/nom_utilisateur/.xinitrc avec au minimum :
Code:
delay_idesk &
fluxbox
Back to top
View user's profile Send private message
fb99
l33t
l33t


Joined: 09 Apr 2003
Posts: 998
Location: Le Locle (Suisse,Neuchâtel)

PostPosted: Sat May 17, 2003 6:39 pm    Post subject: Reply with quote

comment faire pour avoir des belles icônes comme celles-là:
http://membres.lycos.fr/zeduf/images/screen.jpg
Back to top
View user's profile Send private message
HuGoBioS
n00b
n00b


Joined: 26 Apr 2003
Posts: 20
Location: Toulouse - France

PostPosted: Sat May 17, 2003 6:42 pm    Post subject: Reply with quote

hesite pas a mettre ton user dans d'autres groupes si jamais des progs te disent qu'il te manque des droits!

Code:
hugo@BosS hugo $ groups
users wheel floppy audio cdrom video cdrw usb portage dsp xcdwrite

_________________
N'imitez pas : INNOVEZ
Back to top
View user's profile Send private message
Dom
Guru
Guru


Joined: 25 Mar 2003
Posts: 416
Location: Menton, France

PostPosted: Sat May 17, 2003 6:42 pm    Post subject: Reply with quote

Il faut que l'utilisateur soit dans wheel si tu veux avoir la possibilité de te connecter un root à partir d'un terminal. Pour les icônes, c'est les icônes gentoo :

http://www.gentoo.org/images/icons/icons.tar.bz2
Back to top
View user's profile Send private message
fb99
l33t
l33t


Joined: 09 Apr 2003
Posts: 998
Location: Le Locle (Suisse,Neuchâtel)

PostPosted: Sat May 17, 2003 6:43 pm    Post subject: Reply with quote

à bon users ça suffit pas.
Back to top
View user's profile Send private message
fb99
l33t
l33t


Joined: 09 Apr 2003
Posts: 998
Location: Le Locle (Suisse,Neuchâtel)

PostPosted: Sat May 17, 2003 7:52 pm    Post subject: Reply with quote

j'ai ajouté un user mais le fichier menu qui est dans .fluxbox ne change sert à rien je n'ai que trois chose dans mon menu:
xterm
restart
exit

comment je dois faire
Back to top
View user's profile Send private message
Dom
Guru
Guru


Joined: 25 Mar 2003
Posts: 416
Location: Menton, France

PostPosted: Sat May 17, 2003 8:05 pm    Post subject: Reply with quote

copie /root/.fluxbox/menu vers /home/nom_utilisateur/.fluxbox/menu, et n'oublie pas de faire un "chown nom_utilisateur /home/nom_utilisateur/.fluxbox/menu".
Back to top
View user's profile Send private message
fb99
l33t
l33t


Joined: 09 Apr 2003
Posts: 998
Location: Le Locle (Suisse,Neuchâtel)

PostPosted: Sat May 17, 2003 8:05 pm    Post subject: Reply with quote

j'ai essayé de faire un fichier .xinitrc mais ça change rien il ne charge rien plus que fluxbox au démarrage
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
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