issue179:tutoriel
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue179:tutoriel [2022/03/27 14:57] – créée auntiee | issue179:tutoriel [2022/03/30 17:16] (Version actuelle) – andre_domenech | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | You might have a lot of files open and not want to close these before you need to travel. For PDFs, a shutdown and restart would not be much of a problem if you were using qpdfview because that uses a tab for each document, and all tabs are reopened when the program restarts. However, LibreOffice doesn' | + | **You might have a lot of files open and not want to close these before you need to travel. For PDFs, a shutdown and restart would not be much of a problem if you were using qpdfview because that uses a tab for each document, and all tabs are reopened when the program restarts. However, LibreOffice doesn' |
- | There is a nice little command line tool called pm-hibernate. Actually there are three of these: pm-suspend, pm-hibernate, | + | There is a nice little command line tool called pm-hibernate. Actually there are three of these: pm-suspend, pm-hibernate, |
- | pm-hibernate works as advertised. It is invoked from the command-line (Figure 2), and takes about fifty seconds or so to save the state to swap, and power down. Make sure that you don't run out of swap though. Having said that, I'm a common garden variety Linux user and didn't do anything special to set swap. I run Debian 11 (upgraded from a Debian 10 install) on a seven or eight year old 11.6 inch Acer E11 laptop, with a 500 MB hard drive and with the RAM upgraded to 8 GB. Swap space was automatically set by the Debian 10 install to 7.9 GB. With all sorts of documents and calculation engines open on my machine, there is still quite a comfortable free space margin (bottom right). Swappiness is 60 on a scale of 0 to 100, the default setting (bottom right). | + | Vous pourriez avoir beaucoup de fichiers ouverts et ne pas vouloir les fermer avant de voyager. Pour les PDF, une fermeture et un redémarrage ne poseraient éventuellement qu’un petit problème si vous utilisiez qpdfview, parce qu’il utilise un onglet par document et que tous les onglets sont rouverts au redémarrage. Toutefois, LibreOffice n’utilise pas d'onglets et chaque document devrait être rouvert individuellement avec le menu Documents récents. Une alternative à un arrêt du système serait de tout simplement fermer le couvercle du portable pour mettre la machine en état de veille. Mais cela peut ne pas toujours être la meilleure option. Un portable se sert de l’alimentation pendant qu’il est dans cet état et, quand il est mis dans un sac à dos ou une valise, peut éventuellement surchauffer. Récemment, des avertissements à ce sujet ont été communiqués aux utilisateurs. De plus, laisser votre portable en état de veille ne serait pas une bonne idée si la batterie est faible et risque de se décharger complètement. Alors y a-t-il une bonne alternative ? |
- | So am I happy with this? Well you probably guessed I would be - my most important goal is to not lose track of the documents I have open and am reading when I shut down at night or travel. I could probably benefit from having a faster processor to speed up coming out of hibernation, | + | Il y a un outil en ligne de commande sympa appelé pm-hibernate. En fait, il y en a trois : pm-suspend, pm-hibernate et pm-hybrid. Le premier fait une simple mise en veille pour que vous puissiez redémarrer rapidement. Le second, pm-hibernate, |
+ | |||
+ | **pm-hibernate works as advertised. It is invoked from the command-line (Figure 2), and takes about fifty seconds or so to save the state to swap, and power down. Make sure that you don't run out of swap though. Having said that, I'm a common garden variety Linux user and didn't do anything special to set swap. I run Debian 11 (upgraded from a Debian 10 install) on a seven or eight year old 11.6 inch Acer E11 laptop, with a 500 MB hard drive and with the RAM upgraded to 8 GB. Swap space was automatically set by the Debian 10 install to 7.9 GB. With all sorts of documents and calculation engines open on my machine, there is still quite a comfortable free space margin (bottom right). Swappiness is 60 on a scale of 0 to 100, the default setting (bottom right). | ||
+ | |||
+ | So am I happy with this? Well you probably guessed I would be - my most important goal is to not lose track of the documents I have open and am reading when I shut down at night or travel. I could probably benefit from having a faster processor to speed up coming out of hibernation, | ||
+ | |||
+ | pm-hibernate fonctionne comme promis. On l’appelle à partir de la ligne de commande (en bas à droite) et il lui faut environ cinquante secondes pour enregistrer l’état dans l’espace swap et arrêter l’alimentation. Assurez-vous toutefois de ne pas manquer de swap. Cela étant dit, je suis un utilisateur tout à fait normal de Linux et je n’ai rien fait de précis pour régler le swap. Je suis sous Debian 11 (mis à niveau à partir d’une installation de Debian 10) sur un portable Acer E11 d'à peu près 7 ou 8 ans de 11,6 pouces, avec un disque dur de 500 Mo et j’ai passé la RAM à 8 Go. L’espace swap a été paramétré automatiquement à 7,9 Go pendant l’installation de Debian 10. Avec toutes sortes de documents et moteurs de calcul ouverts sur ma machine, il reste néanmoins un espace libre confortable (en bas à droite). | ||
+ | |||
+ | Alors, est-ce que je suis content avec ? Vous avez probablement deviné que je le suis ; mon objectif le plus important est de ne pas perdre les documents qui sont ouverts et que je suis en train de lire quand j’arrête mon ordinateur pour la nuit ou quand je voyage. Avoir un processeur plus rapide pour accélérer la sortie de l’état d’hibernation me serait sans doute bénéfique, | ||
issue179/tutoriel.1648385830.txt.gz · Dernière modification : 2022/03/27 14:57 de auntiee