issue197:q._et_r
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue197:q._et_r [2023/09/30 17:46] – créée auntiee | issue197:q._et_r [2023/10/06 15:18] (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, | + | **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, |
+ | 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, | ||
- | At work, we ship our notebooks with an account for the company and an account for the user. There is nothing sinister about it, the idea behind this is that, when the user returns the laptop, we simply delete the user and all its folders, and the laptop can be farmed out to another person. At least 50% of the time, someone will want to log into the company account – asking for the password, whilst, right in front of them, their name is displayed in big letters. Others will come up with the most outlandish issues, thinking they are not administrators and they need the company account password to do something. Now, most of our machines are Macs, and the rest are Ubuntu. A quick look in the Mac user settings will tell you that your account is an Admin account, but, somehow, that elusive account password just bugs people. There is literally nothing in that account, it just serves as an entry point to delete their profiles later. Its presence on the login screen is like a carrot to the proverbial donkey. Yet, when companies install certificates – say at McDonalds, they will eagerly click yes, without reading – thereby compromising their computers or phones. You also have to understand that all these people get security training at least once. Many of them are developers who are supposed to know better. Guys, don’t compromise your Ubuntu installation by running commands that you do not know, or install certificates that allow people to access your network traffic, no matter what. Be safe. Black Friday is almost upon us, so do not fall for tricks, especially if you shop online. As you can see from the above, even people who should know better, do stupid things. Be sceptical, always! | ||
+ | **At work, we ship our notebooks with an account for the company and an account for the user. There is nothing sinister about it, the idea behind this is that, when the user returns the laptop, we simply delete the user and all its folders, and the laptop can be farmed out to another person. At least 50% of the time, someone will want to log into the company account – asking for the password, whilst, right in front of them, their name is displayed in big letters. Others will come up with the most outlandish issues, thinking they are not administrators and they need the company account password to do something. Now, most of our machines are Macs, and the rest are Ubuntu. A quick look in the Mac user settings will tell you that your account is an Admin account, but, somehow, that elusive account password just bugs people. There is literally nothing in that account, it just serves as an entry point to delete their profiles later. Its presence on the login screen is like a carrot to the proverbial donkey. Yet, when companies install certificates – say at McDonalds, they will eagerly click yes, without reading – thereby compromising their computers or phones. You also have to understand that all these people get security training at least once. Many of them are developers who are supposed to know better. Guys, don’t compromise your Ubuntu installation by running commands that you do not know, or install certificates that allow people to access your network traffic, no matter what. Be safe. Black Friday is almost upon us, so do not fall for tricks, especially if you shop online. As you can see from the above, even people who should know better, do stupid things. Be sceptical, always!** | ||
- | Q: Hi, I keep seeing errors like: E: Package ' | + | Au boulot, nous livrons nos portables avec un compte pour la société et un compte pour l’utilisateur. Ce n’est aucunement sinistre ; l’idée est que, quand l’utilisateur rend le portable, nous pouvons tout simplement supprimer l’utilisateur et tous ses dossiers, puis envoyer le portable à quelqu’un d’autre. Au moins 50 % du temps, quelqu’un voudrait se connecter au compte de la société – en demandant le mot de passe alors qu’il voit sur l’écran que son nom s’affiche en grandes lettres. D’autres nous parleront de problèmes les plus bizarres, car ils pensent qu’ils ne sont pas des administrateurs, |
+ | |||
+ | |||
+ | **Q: Hi, I keep seeing errors like: E: Package ' | ||
A: There may be multiple reasons, but the main one would be finger problems, ie, you typed it wrongly, so the best way to see is start typing, say, “python”, | A: There may be multiple reasons, but the main one would be finger problems, ie, you typed it wrongly, so the best way to see is start typing, say, “python”, | ||
Ligne 16: | Ligne 20: | ||
sudo apt update && sudo apt upgrade -y | sudo apt update && sudo apt upgrade -y | ||
- | or get a later version of your installation media (22.04.3) to fix that. | + | or get a later version of your installation media (22.04.3) to fix that.** |
- | Q: I have flagship Ubuntu 22.04 in Virtualbox on Voyager Linux, and I started noticing graphical glitches like this < | + | Q : Salut, je vois sans cesse des erreurs comme : E : Le paquet « ce que j’avais tapé » n’a pas de candidat à l’installation. Je suis un tutoriel sur comment rendre l’apparence d’Ubuntu comme celle de MacOS et je me trouve bloqué sans arrêt. |
+ | |||
+ | R : Il peut y avoir des raisons multiples, mais la principale serait des problèmes de doigt, c' | ||
+ | |||
+ | |||
+ | Q : Dans une nouvelle installation d’Ubuntu 22.04, ces deux icônes d’application sur le dock sont les mêmes avec différentes icônes. Les deux programmes font la même chose. < | ||
+ | |||
+ | R : Eh oui, faites une mise à jour : | ||
+ | (sudo apt update && sudo apt upgrade -y) | ||
+ | |||
+ | ou récupérez une version plus récente de votre média d’installation (la 22.04.3) pour réparer cela. | ||
+ | |||
+ | |||
+ | **Q: I have flagship Ubuntu 22.04 in Virtualbox on Voyager Linux, and I started noticing graphical glitches like this < | ||
A: In Virtualbox settings, turn off all “acceleration” in the graphics options, and try again, if you are still stuck, when you log in, switch from Wayland to X11 via the small gear in the bottom-right. | A: In Virtualbox settings, turn off all “acceleration” in the graphics options, and try again, if you are still stuck, when you log in, switch from Wayland to X11 via the small gear in the bottom-right. | ||
Ligne 24: | Ligne 41: | ||
Q: I would like to create an alias of the command with sudo for updating to like -u, is it possible to create something like that for a user? | Q: I would like to create an alias of the command with sudo for updating to like -u, is it possible to create something like that for a user? | ||
- | A: I’d suggest rather writing a script, place it in your usr/bin, and run it like a command. | + | A: I’d suggest rather writing a script, place it in your usr/bin, and run it like a command. |
- | Q: My setup is as follows, I have a notebook on a stand, but the notebook has only a small keyboard. I have a wireless keyboard plugged in that has all the extended keys. On my numeric keypad, when I hit the “del” key, instead of a period, I see a comma. My Ubuntu is up-to-date, and my LibreOffice is up-to-date. Google is not helping much as the fixes involve “setxkb”, | + | |
+ | Q : J’ai le principal Ubuntu, la 22.04, dans une Virtualbox sur Voyager Linux et j’ai commencé à remarquer des problèmes dans les graphismes comme celui-ci < | ||
+ | |||
+ | R : Dans les paramètres de Virtualbox, désactivez toute « accélération » dans les options graphiques et essayez à nouveau. Si le problème existe toujours, quand vous vous connectez, basculez de Wayland à X11 en vous servant du petit symbole d’un engrenage en bas à droite. | ||
+ | |||
+ | |||
+ | Q : J’aimerais créer un alias de la commande avec sudo pour la mise à niveau comme -u. Est-il possible pour un utilisateur de créer quelque chose comme cela ? | ||
+ | |||
+ | R : Je suggérerais plutôt d’écrire un script, de le mettre dans usr/bin et de le lancer comme une commande. | ||
+ | |||
+ | |||
+ | **Q: My setup is as follows, I have a notebook on a stand, but the notebook has only a small keyboard. I have a wireless keyboard plugged in that has all the extended keys. On my numeric keypad, when I hit the “del” key, instead of a period, I see a comma. My Ubuntu is up-to-date, and my LibreOffice is up-to-date. Google is not helping much as the fixes involve “setxkb”, | ||
A: The issue is LibreOffice related, but I’ll tell you where to go since you have been searching. In LibreOffice, | A: The issue is LibreOffice related, but I’ll tell you where to go since you have been searching. In LibreOffice, | ||
Ligne 32: | Ligne 60: | ||
Q: Why is it that when I start a program in the terminal (to see debug output), and I close that terminal, the program also closes, unlike Windows 10? I’m new to Kubuntu. Someone suggested I go add an & at the end, but it still does not work. We are trying to install some games to play (that worked in Windows XP) that don’t work in Windows 10. | Q: Why is it that when I start a program in the terminal (to see debug output), and I close that terminal, the program also closes, unlike Windows 10? I’m new to Kubuntu. Someone suggested I go add an & at the end, but it still does not work. We are trying to install some games to play (that worked in Windows XP) that don’t work in Windows 10. | ||
- | A: OK, here is the short version. Unlike windoze, your desktop environment is running in a TTY. (In the old days, you needed to type startx for the GUI.) So, when you open another TTY (terminal), it sits in another process. When you terminate that process, it takes whatever is running inside it to the great beyond. On your keyboard, press CTRL+ALT+F2 and see what happens. To return, press CTRL+ALT+F7. | + | A: OK, here is the short version. Unlike windoze, your desktop environment is running in a TTY. (In the old days, you needed to type startx for the GUI.) So, when you open another TTY (terminal), it sits in another process. When you terminate that process, it takes whatever is running inside it to the great beyond. On your keyboard, press CTRL+ALT+F2 and see what happens. To return, press CTRL+ALT+F7.** |
+ | |||
+ | Q : Ma configuration est la suivante : j’ai un petit portable sur un support, mais le portable n’a qu’un petit clavier. Un clavier sans fil qui a toutes les touches étendues y est branché. Sur le pavé numérique, quand j’appuie sur la touche « suppr », | ||
+ | |||
+ | R : Le problème concerne LibreOffice, | ||
+ | |||
+ | |||
+ | Q : Pourquoi, quand je lance un programme dans le terminal (pour voir la sortie de debug), et je ferme le terminal, le programme se ferme aussi, pas comme sous Windows 10 ? Je débute sur Kubuntu. Quelqu’un m’a suggéré d’ajouter un & à la fin, mais cela ne fonctionne toujours pas. Nous essayons d’installer quelques jeux (qui fonctionnaient sous Windows XP), qui ne fonctionnent pas dans Windows 10. | ||
+ | |||
+ | R : OK, voici la version courte. Contrairement à windoze, votre environnement de bureau tourne dans un TTY. (Jadis, il fallait taper startx pour l’interface graphique.) Ainsi, quand vous ouvrez un autre TTY (terminal), cela crée un autre processus. Quand vous terminez ce processus-là, | ||
Q: I have been running Ubuntu WSL for over a year now and I am satisfied; how can I make this my default (instead of windows) please? I can’t stand the forced updates any more. | Q: I have been running Ubuntu WSL for over a year now and I am satisfied; how can I make this my default (instead of windows) please? I can’t stand the forced updates any more. | ||
Ligne 40: | Ligne 78: | ||
Q: I can’t get xdotool to work in Ubuntu 22.04. I recently updated – as 16.04 was a little stale – and did not take this into account, only my apps. I print envelopes, so I need to perform certain actions over and over. Can you help me? | Q: I can’t get xdotool to work in Ubuntu 22.04. I recently updated – as 16.04 was a little stale – and did not take this into account, only my apps. I print envelopes, so I need to perform certain actions over and over. Can you help me? | ||
- | A: I saw somewhere that xdotool was replaced with ydotool for Wayland. https:// | + | A: I saw somewhere that xdotool was replaced with ydotool for Wayland. https:// |
- | Q: When I’m playing a Steam game on Windows, I can press F12 to take a screenshot, but, with the same game on Ubuntu 22.04, that function does not exist. I press F12 and nothing happens. Someone suggested it may be that I’m offline, and I tested it on Windows and F12 does not work when I’m offline. How do I keep Ubuntu online long enough to take a screenshot? | + | Q : J’exécute Ubuntu WSL depuis plus d’un an maintenant et je suis satisfait. Comment le faire mon OS par défaut (à la place de Windows), je vous prie ? Je ne supporte plus les mises à jour obligatoires. |
+ | |||
+ | R : WSL est « Windows Subsystem for Linux » ; | ||
+ | |||
+ | |||
+ | Q : Je n’arrive pas à faire fonctionner xdotool dans Ubuntu 22.04. J’ai fait une mise à jour récemment – la 16.04 devenait un peu rassie – et je n’ai pas pris cela en compte, seulement mes applis. J’imprime des enveloppes et je dois faire certaines actions encore et encore. Pouvez-vous m’aider ? | ||
+ | |||
+ | R : J’ai vu quelque part que xdotool a été remplacé par ydotool pour Wayland. | ||
+ | https:// | ||
+ | |||
+ | |||
+ | **Q: When I’m playing a Steam game on Windows, I can press F12 to take a screenshot, but, with the same game on Ubuntu 22.04, that function does not exist. I press F12 and nothing happens. Someone suggested it may be that I’m offline, and I tested it on Windows and F12 does not work when I’m offline. How do I keep Ubuntu online long enough to take a screenshot? | ||
A: I think we are looking at correlation here, not causality. I suspect in Ubuntu, you are running in Wayland, and Wayland has issues with things like screenshots at the moment, as all those utilities were written for X. Try booting into a X11 session, and try that again. On windows, the technology is different – i.e. DirectX, and you probably run on Vulcan for the Linux version. Post this question in the Steam forums for your game. | A: I think we are looking at correlation here, not causality. I suspect in Ubuntu, you are running in Wayland, and Wayland has issues with things like screenshots at the moment, as all those utilities were written for X. Try booting into a X11 session, and try that again. On windows, the technology is different – i.e. DirectX, and you probably run on Vulcan for the Linux version. Post this question in the Steam forums for your game. | ||
Ligne 48: | Ligne 97: | ||
Q: I was renaming files and in my haste I typed = by mistake and then hit \ which is right next to delete, before hitting enter. Now I have a weird filename on my Ubuntu server that I cannot delete. Rm says there is no such file, but it exists. | Q: I was renaming files and in my haste I typed = by mistake and then hit \ which is right next to delete, before hitting enter. Now I have a weird filename on my Ubuntu server that I cannot delete. Rm says there is no such file, but it exists. | ||
- | A: You have to use quotes around the filename when you delete the file. | + | A: You have to use quotes around the filename when you delete the file.** |
- | Q: First of all, I don’t have sudo permissions, | + | |
+ | Q : Quand je joue à un jeu Steam sur Windows, je peux appuyer sur F12 pour faire une capture d’écran, mais, avec le même jeu sur Ubuntu 22.04, cette fonction-là n’existe pas. J’appuie sur F12 et rien ne se passe. Quelqu’un a suggéré que c' | ||
+ | |||
+ | R : Je pense qu’il s’agit ici d'une corrélation, | ||
+ | |||
+ | Q : J’étais en train de renommer des fichiers et dans ma précipitation j’ai tapé = par erreur et puis j’ai appuyé sur \ qui est juste à côté de supprimer, avant d’appuyer sur Entrée. Maintenant il y a un nom de fichier bizarre sur mon serveur Ubuntu et je ne peux pas le supprimer. Rm dit qu’aucun fichier comme cela n'est là, mais il existe. | ||
+ | |||
+ | R : Vous devez utiliser des guillemets autour du nom de fichier quand vous supprimez le fichier. | ||
+ | |||
+ | |||
+ | **Q: First of all, I don’t have sudo permissions, | ||
A: Type sox at the command prompt, and if you get something back, you are good to go. See: https:// | A: Type sox at the command prompt, and if you get something back, you are good to go. See: https:// | ||
Ligne 60: | Ligne 119: | ||
apt policy perl | apt policy perl | ||
- | for instance, replacing perl with your application. | + | for instance, replacing perl with your application.** |
- | Q: Suspend, Hybernate or Hybrid Sleep is not working in XUbuntu 22.04 on a Dell 9510. I found some posts online that claim it's the nVidia drivers, but I don't have any proprietary drivers installed, just mesa. There is nothing I can see in the BIOS that would prevent this. Closing the lid and putting it in my bag just gets me a hot laptop when I get home. Any ideas? | + | |
+ | Q : Tout d’abord, je n’ai pas les droits de sudo et je ne peux donc rien installer. C’est une longue histoire et il ne faut pas me poser des questions dessus. Bon, y a-t-il un moyen de jouer du son sous Ubuntu sans un environnement utilisateur graphique ? | ||
+ | |||
+ | R : À l’invite, tapez sox et, si vous avez un retour, c’est bon. Regardez : | ||
+ | https:// | ||
+ | |||
+ | |||
+ | Q : J’ai installé quelques paquets avec Gdebi et je vois qu’un paquet plus récent est disponible dans le dépôt, mais je veux cette version-ci. Est-il possible de voir les versions correspondantes à chaque paquet ? (Les versions plus récentes ont des trucs ajoutés qui ne me plaisent pas beaucoup, mais je voudrais quand même savoir.) | ||
+ | |||
+ | R : Vous pouvez essayer : | ||
+ | |||
+ | apt policy perl | ||
+ | |||
+ | par exemple, en remplaçant perl par votre application. | ||
+ | |||
+ | |||
+ | **Q: Suspend, Hybernate or Hybrid Sleep is not working in XUbuntu 22.04 on a Dell 9510. I found some posts online that claim it's the nVidia drivers, but I don't have any proprietary drivers installed, just mesa. There is nothing I can see in the BIOS that would prevent this. Closing the lid and putting it in my bag just gets me a hot laptop when I get home. Any ideas? | ||
A: I found something online: https:// | A: I found something online: https:// | ||
Ligne 72: | Ligne 147: | ||
sudo apt install docker.io | sudo apt install docker.io | ||
- | and it is done! | + | and it is done!** |
+ | |||
+ | |||
+ | Q : Suspendre, Hibernate ou une veille hybride ne fonctionnent pas sous Xubuntu 22.04 sur un Dell 9510. J’ai trouvé quelques messages en ligne qui disent qu’il s’agit des pilotes nVidia, mais je n’ai installé aucun pilote propriétaire, | ||
+ | |||
+ | R : J’ai trouvé quelque chose en ligne : | ||
+ | |||
+ | |||
+ | Q : Je suis ce tutoriel, https:// | ||
+ | |||
+ | R : Remerciements à l’utilisateur @Daniel – | ||
+ | |||
+ | sudo apt install docker.io | ||
+ | |||
+ | et voilà ! | ||
+ | |||
+ | |||
+ | **Q: Question, I installed Ubuntu flavours in VirtualBox on my laptop, but I do not have any internet connection. I can not ping anything. What am I doing wrong here? I tried different versions but still no internet connection. I do not have a firewall running < | ||
+ | |||
+ | A: Try switching from NAT to bridged adapter in your VirtualBox network settings per virtual machine.** | ||
- | Q: Question, I installed | + | Q : Question |
- | A: Try switching from NAT to bridged adapter in your VirtualBox | + | R : Essayez de changer de NAT à Bridged Adapter dans les paramètres réseau de VirtualBox |
issue197/q._et_r.1696088793.txt.gz · Dernière modification : 2023/09/30 17:46 de auntiee