Outils pour utilisateurs

Outils du site


issue208:q._et_r

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
issue208:q._et_r [2024/08/31 14:37] – créée auntieeissue208:q._et_r [2024/09/05 15:02] (Version actuelle) andre_domenech
Ligne 1: Ligne 1:
-Welcome back to another edition of Questions and Answers! In this section we will endeavour to answer your Ubuntu questions. Be sure to add details of the version of your operating system and your hardware. I will try to remove any personally identifiable strings from questions, but it is best not to include things like serial numbers, UUIDs, or IP addresses. If your question does not appear immediately, it is just because there is such a lot, and I do them, first-come-first-served.+**Welcome back to another edition of Questions and Answers! In this section we will endeavour to answer your Ubuntu questions. Be sure to add details of the version of your operating system and your hardware. I will try to remove any personally identifiable strings from questions, but it is best not to include things like serial numbers, UUIDs, or IP addresses. If your question does not appear immediately, it is just because there is such a lot, and I do them, first-come-first-served.**
  
 +Bienvenue de retour dans un nouvel épisode de Q. ET R. ! Dans cette rubrique, nous essayerons de répondre à vos questions sur Ubuntu. Assurez-vous d’ajouter les détails de la version de votre système d’exploitation et de votre matériel. J’essaierai d’enlever de vos questions toutes chaînes qui pourraient vous identifier personnellement, mais il vaut mieux ne pas inclure des choses comme des numéros de série, des UUID ou des adresses IP. Si votre question n’apparaît pas tout de suite, ce n’est que parce qu’il y en a beaucoup et que je les traite sur la base de premier arrivé, premier servi.
  
-Sometimes I wish I could slap people awake. It is right in front of their eyes and they do not see. When it is in the press, it is usually 180 degrees of what you are being sold. In other words a lie. I am looking for a new place to live, and when the ad says spacious, I always look at the square metering of the place, because it never is. When they say it has a beautiful view of the mountain, it means when you stand on your tippy-toes to see it over the large freeway taking up 70% of the view. When you do a cloud certification like Azure AZ-900, almost half of the time you are being told how much “cheaper” the “cloud” is. (Spoiler, it’s not) Then things in your face, like the slogan, “There is no cloud, it is just someone else’s computer” meaning “a large *evil corporation’s computer”. Now I know there are some honest cloud providers out there, don’t shoot yet. The thing is everyone wants to own what you have, by some sly means. Handing your data to a cloud provider, they will make doubly sure they have some legal way to steal your data. They will use it to train their “AI” (no such thing, just a way to take what you have and make it theirs) without even telling you. The EU put all these laws into place like the GDPR, but it is about as effective as putting toilet paper on a landmine to absorb the blast. There are already more than 50 ways to bypass every aspect of the GDPR, for instance. Why, you may ask? Simple answer is greed. Just like the “startup” idiocracy. The goal of a “startup” is to sell it to a big corporation for a lot of money, instead of working to make it your business and running with it. It is easy to rag on open source, but at least they are trying.  
  
 +**Sometimes I wish I could slap people awake. It is right in front of their eyes and they do not see. When it is in the press, it is usually 180 degrees of what you are being sold. In other words a lie. I am looking for a new place to live, and when the ad says spacious, I always look at the square metering of the place, because it never is. When they say it has a beautiful view of the mountain, it means when you stand on your tippy-toes to see it over the large freeway taking up 70% of the view. When you do a cloud certification like Azure AZ-900, almost half of the time you are being told how much “cheaper” the “cloud” is. (Spoiler, it’s not) Then things in your face, like the slogan, “There is no cloud, it is just someone else’s computer” meaning “a large *evil corporation’s computer”. Now I know there are some honest cloud providers out there, don’t shoot yet. The thing is everyone wants to own what you have, by some sly means. Handing your data to a cloud provider, they will make doubly sure they have some legal way to steal your data. They will use it to train their “AI” (no such thing, just a way to take what you have and make it theirs) without even telling you. The EU put all these laws into place like the GDPR, but it is about as effective as putting toilet paper on a landmine to absorb the blast. There are already more than 50 ways to bypass every aspect of the GDPR, for instance. Why, you may ask? Simple answer is greed. Just like the “startup” idiocracy. The goal of a “startup” is to sell it to a big corporation for a lot of money, instead of working to make it your business and running with it. It is easy to rag on open source, but at least they are trying. **
  
-Q: I have Ubuntu in Ubuntu. My host is Xubuntu and my Virtualbox is Ubuntu Gnome. I have shared the clipboard and folders, so I could move files to Gnome and when I look again, the Gnome VM is locked and I have to unlock it. It happens so frequently, that I have changed my password to ‘a’, just for this, it is so annoying. Is there anything I can do in the Gnome VM?+Parfois, je voudrais pouvoir gifler les gens pour les réveiller. C’est devant leurs yeux et ils ne voient rien. Quand ça paraît dans la presse, c’est habituellement à 180 degrés de ce qu’on vous vend. Autrement dit, un mensonge. Je recherche une nouvelle habitation et, quand l’annonce dit spacieuse, je regarde toujours les mètres carrés de l’endroit, car il ne l’est jamais. Quand ils disent qu’il a une très belle vue sur la montagne, cela veut dire que, quand vous êtes debout et que vous vous mettez aussi droit que possible, vous la voyez au-delà d'une grande autoroute qui prend 70 % de la vue. Quand vous faites une certification dans le nuage comme Azure AZ-900, presque la moitié du temps on vous parle du « moindre coût » du « nuage » (Secret, il n’est pas moins coûteux.) Et puis des trucs sont jetés à votre figure, comme le slogan : « Il n’y a pas de cloud, il s’agit simplement de l’ordinateur d’un autre », ce qui signifie « l’ordinateur d’un grand groupe *mauvais ».  Je sais bien qu’il existe quelques fournisseurs honnêtes dans le cloud. Ne tirez pas tout de suite. Le truc c’est que tout le monde veut être propriétaire de ce que vous possédez, par des moyens sournois. Si vous donnez vos données à un fournisseur dans le nuage, il fera le maximum pour trouver un moyen légal de voler vos données. Il les utilisera pour entraîner leur « IA » (ça n'existe pas, mais c'est juste une façon de prendre ce que vous avez et de se l'approprier) sans même vous le dire. L’UE a mis en place un tas de lois comme le RGPD, mais c’est à peu près aussi efficace que de mettre du papier toilette sur une mine pour absorber l’explosion. Il y a déjà plus de 50 façons de contourner tous les aspects du RGPD, par exemple. Vous pouvez demander pourquoi, la réponse simple, c'est la cupidité. Tout comme l’idiocratie des « startups ». Le but d’un « startup » est de se vendre à un gros groupe pour beaucoup d’argent au lieu de travailler pour en faire votre propre affaire et de la faire fructifier. C’est facile de critiquer l'Open Source, mais au moins ils essaient de mieux faire. 
 + 
 + 
 +**Q: I have Ubuntu in Ubuntu. My host is Xubuntu and my Virtualbox is Ubuntu Gnome. I have shared the clipboard and folders, so I could move files to Gnome and when I look again, the Gnome VM is locked and I have to unlock it. It happens so frequently, that I have changed my password to ‘a’, just for this, it is so annoying. Is there anything I can do in the Gnome VM?
  
  
Ligne 14: Ligne 18:
  
  
-A: Without some kind of logging, I have no idea either, though I did find something on the internet that may give some insight.  https://superuser.com/questions/1839115/ubuntu-22-04-dies-all-of-a-sudden-after-some-time-yet-the-pc-is-still-running +A: Without some kind of logging, I have no idea either, though I did find something on the internet that may give some insight.  https://superuser.com/questions/1839115/ubuntu-22-04-dies-all-of-a-sudden-after-some-time-yet-the-pc-is-still-running **
  
  
-Q: I was configuring server 20.04 for games, when adding the IP address with the port it was established correctly, but I could not enter the game, I was looking at the server, I opened the firewall, I gave it sudo reboot, it froze, I updated and now it no longer works for me. +Q : J’ai Ubuntu sur Ubuntu. L’hôte est Xubuntu et j’ai Ubuntu Gnome dans ma Virtualbox. Le presse-papiers et les dossiers sont partagés pour que je puisse mettre des fichiers dans Gnome et quand je regarde à nouveau, la VM Gnome est verrouillée et je dois la déverrouiller. Cela se passe si fréquemment que j’ai changé mon mot de passe à « a », juste pour ça, cela m’agace tant. Y a-t-il quelque chose que je peux faire dans la VM Gnome ? 
 + 
 +R : Demandez-vous comment garder votre session active ou ouverte ? Si c’est le cas, envisagez l’installation de caffeine et de l’indicateur caffeine dans la VM et activez-les avant de faire quoi que ce soit. Si vous dites que vos séances de copie s’arrêtent jusqu’à ce que vous vous connectiez à nouveau, il se peut que cela aide aussi. 
 + 
 + 
 +Q : Je fais tourner deux machines identiques, qui ont à peu près 9 ans d’âge, des boîtes noires, sous Ubuntu 20.04 et, de temps en temps, l’écran meurt et je peux voir que la machine tourne toujours. Les deux ont une carte mère MSI, une RAM Apacer et des disques verts WD. Elles se branchent sur un interrupteur D-link. Il n’y a pas de périphériques qui pourrait causer une baisse d’alimentation. Les écrans sont toujours VGA, pas HDMI. Je n’arrive pas à trouver ce qui cloche. 
 + 
 +R : Sans des journaux, je n’en ai aucune idée non plus, bien que j’aie réussi à trouver quelque chose sur l’Internet qui pourrait être instructif : https://superuser.com/questions/1839115/ubuntu-22-04-dies-all-of-a-sudden-after-some-time-yet-the-pc-is-still-running 
 + 
 + 
 +**Q: I was configuring server 20.04 for games, when adding the IP address with the port it was established correctly, but I could not enter the game, I was looking at the server, I opened the firewall, I gave it sudo reboot, it froze, I updated and now it no longer works for me. 
  
 A: You “opened” the firewall, do you mean disabled it? If you did not, that would be the reason you can no longer access the server. We did a short piece on Firewalls in CnC in the magazine, please give it a once-over.  A: You “opened” the firewall, do you mean disabled it? If you did not, that would be the reason you can no longer access the server. We did a short piece on Firewalls in CnC in the magazine, please give it a once-over. 
Ligne 24: Ligne 38:
 Q: I am trying to configure OpenVPN on Ubuntu. I have the username & password & configuring file. I am only a beginner and https://community.openvpn.net/openvpn/wiki/OpenVPN3Linux is not really helping for the beginner.  Q: I am trying to configure OpenVPN on Ubuntu. I have the username & password & configuring file. I am only a beginner and https://community.openvpn.net/openvpn/wiki/OpenVPN3Linux is not really helping for the beginner. 
  
 +A: I am going to assume vanilla Ubuntu. Just open settings > network. Under VPN it will say, “not set up”, click the “+”. Choose OpenVPN or import from file and import your file. It is really as simple as that.**
  
-A: I am going to assume vanilla Ubuntu. Just open settings > network. Under VPN it will say, “not set up”, click the “+”. Choose OpenVPN or import from file and import your file. It is really as simple as that. 
  
 +Q : J’étais en train de configurer Server 20.04 pour des jeux et quand j’ai ajouté l’adresse IP avec le port, c’était fait correctement, mais je n’arrivais pas à entrer dans le jeu. J’ai examiné le serveur, j’ai ouvert le pare-feu, j’ai fait sudo reboot, il a gelé, je l’ai mis à jour et maintenant, il ne fonctionne plus pour moi.
  
-QAfter doing a dist-upgradeI see blocks everywhere, instead of normal writingI think I am going to have to reinstall, but I would prefer not toI went from 20.04 to 22.04 and I made sure to disable my PPAs before doing so Any ideas?+Vous dites que vous avez « ouvert » le pare-feu ; est-ce que vous vouliez dire que vous l’avez désactivé ? Si ouice serait la raison pour laquelle vous ne pouvez plus accéder au serveurNous avons fait un court article sur les pare-feux dans C&CVeuillez lexaminer.
  
 +
 +Q : J’essaie de configurer OpenVPN sur Ubuntu. J’ai le nom d’utilisateur et le mot de passe et le fichier de configuration. Je ne suis qu’un débutant et https://community.openvpn.net/openvpn/wiki/OpenVPN3Linux n’aide vraiment pas les débutants.
 +
 +R : Je vais supposer que c'est Ubuntu principal. Il suffit d’ouvrir paramètres > réseau. Sous VPN, cela dira « not set up » (n’est pas configuré), cliquez sur le « + ». Choisissez OpenVPN ou Importer à partir du fichier et importez votre fichier. C’est vraiment aussi simple que cela.
 +
 +
 +**Q: After doing a dist-upgrade, I see blocks everywhere, instead of normal writing. I think I am going to have to reinstall, but I would prefer not to. I went from 20.04 to 22.04 and I made sure to disable my PPA’s before doing so.  Any ideas?
  
 A: You probably had a custom font. Just reinstall the custom fonts again. If all else fails, change all your font settings to “ubuntu” and see what happens.  A: You probably had a custom font. Just reinstall the custom fonts again. If all else fails, change all your font settings to “ubuntu” and see what happens. 
Ligne 44: Ligne 66:
 E: Package 'python3-distutils' has no installation candidate E: Package 'python3-distutils' has no installation candidate
  
 +A: The last line is the error message, denoted by the “E”. It tells you that the package you are trying to install is not in the repositories you have configured. Did you use a PPA before? Did you use a different version of Python before? It could also just be that that specific package was dropped in Ubuntu 24.04, in which case you need to find out what replaced it. (I had a quick look and I can confirm there is no such package)**
  
-A: The last line is the error message, denoted by the “E”. It tells you that the package you are trying to install is not in the repositories you have configured. Did you use a PPA before? Did you use a different version of Python before? It could also just be that that specific package was dropped in Ubuntu 24.04, in which case you need to find out what replaced it. (I had a quick look and I can confirm there is no such package) 
  
 +Q : Après avoir fait une mise à niveau de la distribution, je vois des blocs partout à la place de lettres normales. Je pense que je vais devoir faire une réinstallation, mais je préférerais ne pas le faire. Je suis allé de la 20.04 vers la 22.04 en m’assurant d’avoir désactivé mes PPA avant de le faire. Des idées ?
  
-QSo I got rid of the Ubuntu panel and installed a much saner Docky dockJust one thing now escapes mehow do I get the 9-button grid thingy? Or how can I make it work without the Ubuntu panel please?+Vous aviez sans doute une police personnaliséeIl suffit d’installer les polices personnalisées à nouveau. Si tout échouechangez tous les paramètres de police à « ubuntu » et regardez ce qui se passe.
  
 +
 +Q : J’essaie de copier l’environnement de mon vieil ordinateur vers le nouveau. Le vieux reste toujours sous Ubuntu 20.04 et le nouveau est sous Ubuntu 24.04. La plupart des choses se sont bien installées, sauf :
 +apt-get install python3-distutils
 +Reading package lists... Done
 +Building dependency tree... Done
 +Reading state information... Done
 +Package python3-distutils is not available, but is referred to by another package.
 +This may mean that the package is missing, has been obsoleted, or
 +is only available from another source
 +E: Package 'python3-distutils' has no installation candidate*
 +
 +R : La dernière ligne est le message d’erreur, signalé par le « E ». Il vous dit que le paquet que vous essayez d’installer n’est pas dans les dépôts que vous avez configurés. Avez-vous utilisé une PPA auparavant ? Avez-vous utilisé une version différente de Python auparavant ? Cela pourrait être tout simplement que le paquet précis a été abandonné dans Ubuntu 24.04. Dans ce cas, vous devrez découvrir ce qui l’a remplacé. (J’ai regardé brièvement et je peux confirmer que le paquet n’existe pas.)
 +
 +
 +**Q: So I got rid of the Ubuntu panel and installed a much saner Docky dock. Just one thing now escapes me, how do I get the 9-button grid thingy? Or how can I make it work without the Ubuntu panel please?
  
 A: For the keyboard you should just be able to use the WIN+A or “super+a” keys.  A: For the keyboard you should just be able to use the WIN+A or “super+a” keys. 
Ligne 56: Ligne 94:
 Q: I am running Xubuntu 22.04 on my Dell laptop. Its screen resolution is set to 3840x2160, no scaling. I installed a mouse cursor theme, DJ-FOX-C that looks amazing. Next to the theme, you have the cursor size buttons. I have set it many times on Xubuntu 20.04 to around 50 pixels. However nothing happens in Xubuntu 22.04. The cursor remains the same size.  Q: I am running Xubuntu 22.04 on my Dell laptop. Its screen resolution is set to 3840x2160, no scaling. I installed a mouse cursor theme, DJ-FOX-C that looks amazing. Next to the theme, you have the cursor size buttons. I have set it many times on Xubuntu 20.04 to around 50 pixels. However nothing happens in Xubuntu 22.04. The cursor remains the same size. 
  
-A: I looked up the cursors on gnome-look.org and there is a readme in the tar archive, stating that the cursor size is 36 pixels. “Size: ===== 36x36”  Not all cursors are made with SVG files, some are PNG at heart. SVG you can scale without loss of quality. It also says he has a shop, so I suspect if you want the scalable ones, you can buy it?+A: I looked up the cursors on gnome-look.org and there is a readme in the tar archive, stating that the cursor size is 36 pixels. “Size: ===== 36x36”  Not all cursors are made with SVG files, some are PNG at heart. SVG you can scale without loss of quality. It also says he has a shop, so I suspect if you want the scalable ones, you can buy it?**
  
  
-Q: Smartctl is saying that my drive is failing? The current value is bigger than the “worst” or “threshold”. My machine keeps doing a journalctl when I start up, but I don’t know how to interpret this table? <removed>+Q : Bon. Je me suis débarrassé du panneau Ubuntu et j’ai installé le dock Docky qui est nettement plus logique. Je ne comprends qu’une chose : comment avoir le truc de la grille de neuf boutons ? Ou comment le faire fonctionner sans le panneau Ubuntu, s’il vous plaît ? 
 + 
 +R : Pour le clavier, vous devriez pouvoir utiliser tout simplement les touches WIN+A ou « super+a ». 
 + 
 + 
 +Q : J’ai Xubuntu 22.04 sur mon portable Dell. La résolution de son écran est réglée à 3840 x 2160 sans mise à l’échelle. J’ai installé le thème du curseur de souris, DJ-FOX-C qui a l’air époustouflant. À côté du thème, il y a les boutons de la taille du curseur. Sur Xubuntu 20.04, je l’ai réglée de nombreuses fois à environ 50 pixels. Cependant, rien ne se passe dans Xubuntu 22.04. Le curseur reste à la même taille. 
 + 
 +R : J’ai recherché les curseurs sur gnome-look.org et il y a un readme dans l’archive tar qui dit que la taille du curseur est de 36 pixels. «  Size : ===== 36x36 ». Tous les curseurs ne sont pas faits avec des fichiers SVG et certains sont des PNG à la base. Vous pouvez faire une mise à l’échelle de SVG sans perdre la qualité. Cela dit aussi qu’il a un magasin ; ainsi, je soupçonne que si vous voulez un curseur dont vous pouvez changer la taille, vous pouvez l’acheter. 
 + 
 + 
 +**Q: Smartctl is saying that my drive is failing? The current value is bigger than the “worst” or “threshold”. My machine keeps doing a journalctl when I start up, but I don’t know how to interpret this table? <removed>
  
 A: I would not worry too much about the other values, what you are going to be looking for is the “RAW_VALUE” of the uncorrectable errors.  If it is anything but 0, backup your data immediately and look for a new drive.  A: I would not worry too much about the other values, what you are going to be looking for is the “RAW_VALUE” of the uncorrectable errors.  If it is anything but 0, backup your data immediately and look for a new drive. 
Ligne 66: Ligne 114:
 Q: Man I hate man pages, most of the time they mean nothing if you don’t know what a command does. I looked up lsattr and all it says is: “list file attributes on a Linux second extended file system”. About as useful as a rooster in a saddle. How does an idiot like me learn anything from that? Q: Man I hate man pages, most of the time they mean nothing if you don’t know what a command does. I looked up lsattr and all it says is: “list file attributes on a Linux second extended file system”. About as useful as a rooster in a saddle. How does an idiot like me learn anything from that?
  
-A: You could try TL;DR pages or tealdeer, or even bro pages. I recall something called yelp, but that may no longer exist. You could try to find a bash bible in paperback?+A: You could try TL;DR pages or tealdeer, or even bro pages. I recall something called yelp, but that may no longer exist. You could try to find a bash bible in paperback?** 
 + 
 + 
 +Q : Smartctl me dit que mon disque est en train de mourir ! La valeur actuelle est plus grande que le « worst » (le pire) ou le « threshold » (seuil). Ma machine n’arrête pas de faire un journalctl quand je le démarre, mais je ne sais pas comment interpréter cette table ! <enlevé> 
 + 
 +R : Je ne m’inquiéterais pas trop au sujet des autres valeurs. Ce que vous recherchez est la « RAW_VALUE » (valeur brute) des erreurs non corrigibles. Si elle est autre chose que 0, sauvegardez vos données tout de suite et cherchez un nouveau disque. 
 + 
 + 
 +Q : Mec, je déteste les pages man, car la plupart du temps elles ne veulent rien dire si vous ne savez pas ce que fait une commande. J’ai cherché lsattr et tout ce qu’il dit est : « list file attributes on a Linux second extended file system ». À peu près aussi utile qu’un coq sur une selle. Comment un idiot comme moi peut-il apprendre quelque chose de ça ? 
 + 
 +R : Vous pourriez essayer les pages TL;DR ou tealdeer ou meme les pages bro. Je me souviens de quelque chose qui s’appelait yelp, mais ça n’existe peut-être plus. Vous pourriez essayer une bible bash en livre de poche ? 
 + 
 + 
 +**Q: I have two 13inch dell laptops. One runs MX Linux the other runs Ubuntu. Something strange happened the other day, after updating the MX Linux laptop, I shut down and closed the lid. I took the Ubuntu one to update, but it goes off near the MX laptop. I put id own carefully, I did not drop it, and it would not turn on. I took it to a friend’s house and it turned on fine. I’m not sure what to do here.
  
 +A: It has nothing to do with your OS. You probably put one laptop on top of the other. The magnets in the slim laptops are strong enough to affect another laptop, as they are so thin. If you did not know, there are magnets in the base that move when another magnet is near, completing a circuit. The circuit then signals the lid closed and the laptop goes to sleep. (the method differs, but the effect is the same)**
  
-Q: I have two 13inch dell laptopsOne runs MX Linux the other runs Ubuntu. Something strange happened the other day, after updating the MX Linux laptopI shut down and closed the lidI took the Ubuntu one to updatebut it goes off near the MX laptopI put id own carefullyI did not drop it, and it would not turn on. I took it to a friend’s house and it turned on fineIm not sure what to do here.+Q : J’ai deux portables Dell de 13 poucesL’un tourne sous MX Linux et l’autre, sous Ubuntu. Quelque chose de bizarre est arrivé l’autre jour : après avoir mis à jour le portable MX Linux, je l’ai éteint et fermé le couvercleJ’ai pris celui sous Ubuntu pour le mettre à jourmais il s’éteint près du portable MX. J’ai fermé le couvercle très soigneusementje ne lai pas fait tomber et il refusait de s’allumerJe l’ai apporté à la maison d’un ami et il sest allumé sans problèmeJe ne sais pas quoi faire…
  
-AIt has nothing to do with your OS. You probably put one laptop on top of the otherThe magnets in the slim laptops are strong enough to affect another laptopas they are so thinIf you did not knowthere are magnets in the base that move when another magnet is nearcompleting a circuit. The circuit then signals the lid closed and the laptop goes to sleep. (the method differsbut the effect is the same)+Cela n’a rien à voir avec votre OS. Vous avez probablement mis l’un des portables sur l’autreLes magnets dans les portables minces sont assez forts pour affecter un autre portablecar ils sont si mincesSi vous ne le saviez pasil y a des magnets dans la base qui bouge à proximité d’un autres magnetset complètent un circuit. Le circuit signale alors que le couvercle est fermé et le portable s’endort. (La méthode peut être différentemais l’effet est le même.)
  
issue208/q._et_r.1725107843.txt.gz · Dernière modification : 2024/08/31 14:37 de auntiee