[Ffx/SftWsl] fermer proprement ?

Applications, problèmes de configuration réseau
Répondre
Avatar de l’utilisateur
IdoMcFly
Chu Ko Nu
Messages : 436
Inscription : lun. 17 déc. 2007, 14:26

[Ffx/SftWsl] fermer proprement ?

Message par IdoMcFly »

J'ai toujours mon navigateur d'ouvert. Du coup quand j'éteins ma machine, le processus ne quitte pas proprement et il ne me restaure jamais ma session.

On a un moyen de le fermer proprement à la l'extinction du système ?
Avatar de l’utilisateur
Calimero
Elfe
Messages : 692
Inscription : ven. 02 mai 2008, 18:16
Localisation : Nantes (44)

Message par Calimero »

C'est justement parce qu'il reçoit le signal "fermeture normale" qu'il ne rétablit pas la session.

Si tu kill firefox ou swiftweasel, je peux t'assurer que chez moi il fait "session interrompue inopinément, restaurer la session ?" quand tu le relances.

Par ailleurs c'est dans les options de FF. (restaurer la session au démarrage)
Mes trucs : LiveCD http://ctkarch.org/ ; Blog, guide Arch, etc… http://calimeroteknik.free.fr/
In a world without walls and fences, who needs windows and gates ?
Avatar de l’utilisateur
IdoMcFly
Chu Ko Nu
Messages : 436
Inscription : lun. 17 déc. 2007, 14:26

Message par IdoMcFly »

bah moi j'ai réglé pour qu'il réouvre les pages ouvertes mais il ne le fait pas :/
Avatar de l’utilisateur
tuxce
Maître du Kyudo
Messages : 6677
Inscription : mer. 12 sept. 2007, 16:03

Message par tuxce »

et si tu le fermes et le réouvres juste après, ca fonctionne?
c'est quelle version? firefox, siftweasel ou les 2?
Avatar de l’utilisateur
IdoMcFly
Chu Ko Nu
Messages : 436
Inscription : lun. 17 déc. 2007, 14:26

Message par IdoMcFly »

oui ça fonctionne normalement

en fait qd je ferme normalement il me restore ma session, si j'éteins, il me dit qu'il a crashé.
Avatar de l’utilisateur
tuxce
Maître du Kyudo
Messages : 6677
Inscription : mer. 12 sept. 2007, 16:03

Message par tuxce »

teste voir si avec "kill pid" ca le fait aussi
si ca ne le fait pas crasher, c'est peut etre un souci avec la facon d'éteindre.
tu utilises quoi pour éteindre? (x,g,*)dm, une commande directe?
Avatar de l’utilisateur
IdoMcFly
Chu Ko Nu
Messages : 436
Inscription : lun. 17 déc. 2007, 14:26

Message par IdoMcFly »

je testerai ce soir

j'éteins avec shutdownbox qui fait un shutdown -halt now je crois
Avatar de l’utilisateur
AddiKT1ve
Elfe
Messages : 543
Inscription : sam. 10 mai 2008, 22:46
Localisation : Lève les yeux...

Message par AddiKT1ve »

Devenez colocataire de Rootards.
##hippie irc.freenode.net
Avatar de l’utilisateur
IdoMcFly
Chu Ko Nu
Messages : 436
Inscription : lun. 17 déc. 2007, 14:26

Message par IdoMcFly »

ayé j'ai pu faire la manip, après un kill pid, firefox me dit qu'il a crashé :/
Cactus
Maître du Kyudo
Messages : 2073
Inscription : sam. 16 sept. 2006, 10:39
Localisation : 31 - Toulouse Nord

Message par Cactus »

AddiKT1ve a écrit :Kill -9 :D
Pas mal ! je ne suis habituellement pas trop fan de ce genre de zik, mais là, j'ai accroché !

Pour ceux qui comme moi n'ont pas (encore) compris grand chose aux paroles (je m'en vais les lire... et comprendre :mrgreen: ), les voici :
Lyrics to Kill Dash Nine by Monzy: Correct These Lyrics



Kill Dash Nine

I guess I'll have to shut you down for good this time,
Already tried a SIGQUIT, so now it's KILL DASH 9.
You gotta learn when it's time for your thread to yield;
It shoulda slept; instead you stepped and now your fate is sealed.
I'll take your process off the run queue without even asking
'Cause my flow is like reentrant and preemptive multitasking.
Your sad rhymes are spinnin' like you're in a deadlock,
You're like a synchronous sock that don't know when to block;
So I pull out my keyboard and I pull out my glock,
And I dismount your girl and I mount /proc
And I've got your fuckin pid and the bottom line
Is that you best not front or else it's KILL DASH NINE.

KILL DASH NINE,
No more CPU time.
I run KILL DASH NINE,
And your process is mine.
I run KILL DASH NINE,
'Cause it's MY time to shine
So don't step outta line or else it's
KILL DASH NINE!

See it ain't about the Benjamins or Pentiums or Athlons,
But you rappin' 50 meters while I'm spittin' in decathlons.
Your shit's old and busted, mine's the new hotness;
You're like CLR and I'm like CLRS.
You're running csh and my shell is bash,
You're the tertiary storage; I'm the L1 cache.
I'm a web crawling spider; you an Internet mosquito;
You thought the 7-layer model referred to a burrito.
You're a dialup connection; I'm a gigabit LAN.
I last a mythical man-month; you a one-minute man.
It's like I'm running Thunderbird and you're still stuck with Pine,
Which is why I think it's time for me to KILL DASH NINE.
http://www.free-lyrics.org

Yeah it's KILL DASH NINE
No more CPU time.
'Cause it's KILL DASH NINE,
And your process is mine.
I said KILL DASH NINE
'Cause it's my time to shine,
So don't step outta line or else it's
KILL DASH NINE!

My posse throws down like leaky bucket regulators;
I was coding shit in MIPS while you were playing Space Invaders.
With my finger on the trigger I run ./configure
Yo, this package is big, but MY package is bigger.
I roll my weed with Zig Zag while I zag-zig splay,
And I do a bounds check before I write to an array.
I'm a loc'd out baller writing KLOCS a day,
'Cause it's publish or perish, fool, what can I say?
I'm 26 now, will I live to see 28?
Some days I wonder if I'll survive to graduate.
But hey, that's just fine, I won't ever resign,
And if fools try to step then it's KILL DASH NINE!

Yeah it's KILL DASH NINE,
From my command line
It's KILL DASH NINE
Sending chills down your spine,
I said KILL DASH NINE,
'Cause it's my time to shine,
So don't step outta line or else it's
KILL DASH NINE!

fs sa rlidwka
I'll chown your home and take your access away
Comin' straight outta Stanford, ain't nobody tougher,
Control-X, Control-C, I'll discard your fuckin' buffer.
You're outside your scope, son, close them curly brackets,
'Cause I drop punk-ass bitches like a modem drops packets.
Dump your motherfucking core, and trace your stack
'Cause where your ass is going, there won't be no callback.
See my style is divine and my code is sublime,
My career's in a climb and yours is in a decline.
I'll write a pound-define and assign you as mine,
So refine those sad rhymes or remove your plus signs,

Or it's KILL DASH NINE,
No more CPU time,
'Cause it's KILL DASH NINE,
And your process is mine,
I said KILL DASH NINE
'Cause it's my time to shine,
Bitch you stepped outta line and now it's
KILL DASH NINE!
Avatar de l’utilisateur
IdoMcFly
Chu Ko Nu
Messages : 436
Inscription : lun. 17 déc. 2007, 14:26

Message par IdoMcFly »

la chanson n'as pas vraiment résolu mes soucis mais tant pis...

ya pas moyen d'avoir un script au moment où la machine s'éteint ?
NoWiS
Hankyu
Messages : 17
Inscription : jeu. 02 oct. 2008, 17:23

Message par NoWiS »

tu peux toujours faire un petit script toi même.
Au plus simple ça donnerais :

killall -9 firefox
shutdown -h
Répondre