Outils pour utilisateurs

Outils du site


issue217:q._et_r

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 are many waiting, and I do them first-come-first-served.

Bienvenue dans cette nouvelle édition de Questions et Réponses ! Dans cette section, nous nous efforcerons de répondre à vos questions sur Ubuntu. N'oubliez pas d'indiquer la version de votre système d'exploitation et de votre matériel. Je m'efforcerai de supprimer toute information personnelle vous identifiant, mais il est préférable d'éviter les numéros de série, les UUID ou les adresses IP. Si votre question n'apparaît pas immédiatement, c'est simplement parce qu'il y a beaucoup de personnes en attente, et que je réponds par ordre d'arrivée.

I really do not understand how all these cellphone repair shops in all the malls make ends meet. Who buys from them? I stopped in at one to get a charging cable for a raspberry pi 3, and the guy behind the counter said to me, “150 bucks”. I was like “what? Are you crazy?” And he never batted an eyelid and said, “it’s a good quality cable”. I have never been back to one of those shops since. You see, I used to work for an OEM and 150 bucks would probably get me 150 cables at cost, and if I took the cheapest ones, I’d probably get double that for 150 bucks. If it was a lightning cable I’d probably pay ten times that, LOL, but that is not the point. This is the issue I have with proprietary crap. It is designed to get the most money from you, not innovate to be the best, protected by some law. While I understand copyright, I think it stifles creativity, as you need to look over your shoulder constantly, worrying if someone will sue you for something they vaguely described in a patent they never made. Open source allows you to innovate, but we are also reaching a point where open source is not open source any more, as it has this or that type of “license” and actually has some corporate behind it with an army of lawyers, who make money off that alone. Or… they say they are open source but leave some part proprietary, just so they can sue. I think those open source “licenses” need to go, either you give something to someone or you don’t; don’t attach strings. Have a license for corporations, who make money off open source, but never give back, if you have to have one… #amiright?

Je ne comprends vraiment pas comment tous ces réparateurs de téléphones portables dans tous les centres commerciaux parviennent à joindre les deux bouts. Qui achète chez eux ? Je suis allé dans l'un d'eux pour acheter un câble de charge pour un Raspberry Pi 3, et le vendeur derrière le comptoir m'a dit : « 150 dollars ». Je me suis dit : « Quoi ? T'es fou ? » Et il n'a pas bronché : « C'est un câble de bonne qualité. » Je n'y suis jamais retourné depuis. Voyez-vous, je travaillais pour un fabricant d'équipement d'origine et pour 150 dollars, j'avais probablement 150 câbles au prix coûtant, et si je prenais les moins chers, j'en aurais probablement eu le double pour 150 dollars. Si c'était un câble Lightning, je paierais probablement dix fois plus cher, MDR, mais là n'est pas la question. C'est le problème avec les produits propriétaires. Ils sont conçus pour vous soutirer le maximum d'argent, pas pour innover pour être les meilleurs, protégés par une loi. Bien que je comprenne le droit d'auteur, je pense qu'il freine la créativité, car il faut constamment surveiller ses arrières, craignant d'être poursuivi en justice pour quelque chose que l'on a vaguement décrit dans un brevet qu'on n'a jamais déposé. L'Open Source permet d'innover, mais nous atteignons aussi un point où l'Open Source n'est plus Open Source, car elle possède tel ou tel type de « licence » et est soutenue par une entreprise et une armée d'avocats qui s'enrichissent uniquement grâce à cela. Ou bien… ils se disent Open Source, mais laissent une partie propriétaire, juste pour pouvoir poursuivre. Je pense que ces « licences » Open Source doivent disparaître : soit on donne quelque chose à quelqu'un, soit on ne le donne pas ; il ne faut pas y mettre de conditions. Créer une licence aux entreprises qui gagnent de l'argent avec l'Open Source, mais ne donnent jamais rien en retour, si nécessaire… #ai-je raison ?

Q: Hi! I’m Running Ubuntu 22.04 Cinnamon respin and I’m very happy with it so far. There is just one small thing that I cannot seem to wrap my head around, and that is when I close my lid on my HP laptop, and I open it again later, all I have is a flashing underscore in the top right-hand-side of my screen. It used to work and I have not changed anything but do regular updates. So now I shut it down rather, but I’d like to have it suspend again. A: As far as I know, all you need to do when you see that, is press ALT+TAB, like you would when switching applications and your lock screen should appear. There was a write-up about it somewhere, but I cannot find it for you right now. Q: This may not be in your area of expertise, but I have to ask, anyway. The kids want me to get a wifi6 router. Those things that look like spiders. While I’m not sure if Ubuntu supports it, I know the Mac does. There is also the current router, that functions well and I don’t want it to lie in a drawer somewhere, wasting away or end up in landfill. Is there a particular model I need to look at that will support Ubuntu and Mint? What can I use the old router for? I have heard one can load open source firmware on them. A: WiFi 6 is a standard, so as long as your WiFi card supports it, Ubuntu should support it. That said, make sure your WiFi card supports Linux, should you get a new one. Can I put a spanner in the works? Why not turn off the WiFi in your current router and buy a cheap WiFi 6 Access point and plug that into the router via cable, to replace the internal WiFi? That should save you a couple of hundred bucks and preserve your current router. Not all routers support other firmware or openWRT, you’d need to check with the make and model first.

Q : Bonjour ! J’utilise Ubuntu 22.04 Cinnamon Respin et j’en suis très satisfait pour l’instant. Il y a juste un petit problème que je n’arrive pas à comprendre : lorsque je ferme mon ordinateur portable HP et que je le rouvre plus tard, je n’ai qu’un trait de soulignement clignotant en haut à droite de l’écran. Avant, ça fonctionnait et je n’ai rien changé, si ce n’est des mises à jour régulières. Du coup, je préfère l’éteindre, mais j’aimerais pouvoir le remettre en veille.

R : À ma connaissance, lorsque vous voyez cela, il suffit d’appuyer sur ALT+TAB, comme pour changer d’application, pour que votre écran de verrouillage apparaisse. Il y a eu un article à ce sujet quelque part, mais je ne le trouve pas pour le moment.

Q : Ce n’est peut-être pas votre domaine d’expertise, mais je dois quand même vous demander. Les enfants veulent que je m’achète un routeur Wi-Fi 6. Ces trucs qui ressemblent à des araignées. Je ne suis pas sûr qu'Ubuntu le prenne en charge, mais je sais que le Mac le prend en charge. Il y a aussi le routeur actuel, qui fonctionne bien et je ne veux pas qu'il traîne dans un tiroir, se détériore ou finisse à la décharge. Y a-t-il un modèle particulier compatible avec Ubuntu et Mint que je devrais examiner ? À quoi peut servir l'ancien routeur ? J'ai entendu dire qu'il était possible d'y installer un firmware Open Source.

R : Le WiFi 6 est une norme, donc tant que votre carte WiFi le prend en charge, Ubuntu devrait le prendre en charge. Cela dit, assurez-vous que votre carte WiFi prend en charge Linux si vous en achetez une nouvelle. Puis-je vous compliquer la tâche ? Pourquoi ne pas désactiver le WiFi de votre routeur actuel et acheter un point d'accès WiFi 6 bon marché, que vous connecterez au routeur par câble, pour remplacer le WiFi interne ? Cela devrait vous faire économiser quelques centaines d'euros et préserver votre routeur actuel. Tous les routeurs ne prennent pas en charge d'autres firmwares ou OpenWRT ; il est donc conseillé de vérifier la marque et le modèle au préalable.

Q: This is what happens when I follow the instructions here: https://developer.hashicorp.com/vagrant/install. I tried before and it worked, I first pasted it all, then line by line. <removed> <removed> A: Just because I have a soft spot for Vagrant, that *clearly says xia, which is Linux Mint, not Ubuntu. You need to change the second line to: echo “deb [arch=$(dpkg –print-architecture) signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com noble main” | sudo tee /etc/apt/sources.list.d/hashicorp.list You need to remove everything in the brackets as well as the $, but you need to ask this on the LM forums. Q: I’m using Xubuntu Noble, and I got everything set up dark with Gruvbox, just the way I like it. Only Virtualbox does not conform. I’m too much of a noob to edit css files. Can you help me make it dark mode? They say it is coming to Linux, but only Windows for now, A: You don’t need to go that far. Open your text editor and type: #!/bin/bash export GTK_THEME=Adwaita:dark && virtualbox %U Then save it as vb.sh and chmod +x vb.sh then right-click on the menu item in your menu and edit it to point at wherever you saved the vb.sh file. (You may need Alacarte or MenuLibre).

Q : Voici ce qui se passe lorsque je suis les instructions ici : https://developer.hashicorp.com/vagrant/install. J’ai déjà essayé et ça a fonctionné. J’ai d’abord tout collé, puis ligne par ligne. <supprimé> <supprimé>

R : J’ai un faible pour Vagrant, car il est clairement indiqué xia, qui correspond à Linux Mint, et non à Ubuntu. Vous devez modifier la deuxième ligne comme suit :

echo “deb [arch=$(dpkg –print-architecture) signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com noble main” | sudo tee /etc/apt/sources.list.d/hashicorp.list

Vous devez supprimer tout ce qui se trouve entre parenthèses, ainsi que le $, mais vous devez poser la question sur les forums LM.

Q : J’utilise Xubuntu Noble et j’ai tout configuré en mode sombre avec Gruvbox, exactement comme je le souhaite. Seul Virtualbox n’est pas compatible. Je suis trop novice pour modifier les fichiers CSS. Pouvez-vous m’aider à le rendre sombre ? Il paraît que ce sera bientôt disponible sous Linux, mais c'est seulement sous Windows pour l’instant.

R : Pas besoin d’aller aussi loin. Ouvrez votre éditeur de texte et saisissez :

#!/bin/bash export GTK_THEME=Adwaita:dark && virtualbox %U

Enregistrez-le ensuite sous vb.sh et

chmod +x vb.sh

Ensuite, faites un clic droit sur l’élément de menu et modifiez-le pour qu’il pointe vers l’emplacement où vous avez enregistré le fichier vb.sh. (Vous aurez peut-être besoin d’Alacarte ou de MenuLibre).

Q: Is it possible to edit a symlink? I have been looking online on stack exchange and the answer is yes, but it looks like you need to delete it first? That’s not editing, that’s replacing! My default cursor is broken, the symlink points to etc/alternatives/x cursor-theme, that is also a symlink, that in turn points back to a folder that does not exist. I want to fix that path/chain. A: That’s a special case as that gets updated via the alternatives as that is where it is stored. The man page for update-alternatives does not have an example, so let me see if we can cover you at FCM. (1) Make sure you have *some folder that has a cursor.themes file in /usr/share/icons (it won’t work if you don’t) (2) Open a terminal there and type: sudo update-alternatives –set x-cursor-theme /<path to your theme>/cursor.theme sudo update-alternatives –install /<path to your theme>/cursor.theme update-alternatives –display x-cursor-theme now reboot Q: Whenever I open steam lately, I get a half-assed window with no borders and no menu. I’m still on Ubuntu 24.04.2 and it started about October 2024. I have no idea how to fix it, I have installed it a few times, but with the same result. My friend suggested steam gnome integration, but I have no idea. Please help us out, I am getting ready to install windows again. <removed> A: In Ubuntu, pin it to the dash / dock, right-click on the Steam icon and select “launch with integrated graphics”. That should sort you out.

Q : Est-il possible de modifier un lien symbolique ? J’ai cherché sur Stack Exchange et la réponse est oui, mais il semble qu’il faille d’abord le supprimer ? Il ne s’agit pas de modification, mais de remplacement ! Mon curseur par défaut est cassé, le lien symbolique pointe vers etc/alternatives/x cursor-theme, qui est également un lien symbolique, et qui pointe vers un dossier inexistant. Je souhaite corriger ce chemin/cette chaîne.

R : C’est un cas particulier, car la mise à jour se fait via les alternatives, car c’est là qu’elle est stockée. La page de manuel de update-alternatives ne contient pas d’exemple, alors n’hésitez pas à me contacter sur FCM.

(1) Assurez-vous d'avoir un dossier contenant un fichier cursor.themes dans /usr/share/icons (cela ne fonctionnera pas autrement).

(2) Ouvrez un terminal et saisissez :

sudo update-alternatives –set x-cursor-theme /<chemin d'accès à votre thème>/cursor.theme

sudo update-alternatives –install /<chemin d'accès à votre thème>/cursor.theme

update-alternatives –display x-cursor-theme

puis redémarrez.

Q : À chaque fois que j'ouvre Steam, j'obtiens une fenêtre bâclée, sans bordures ni menu. J'utilise toujours Ubuntu 24.04.2 et cela a commencé vers octobre 2024. Je ne sais pas comment résoudre ce problème. Je l'ai installé plusieurs fois, mais le résultat est le même. Un ami m'a suggéré d'intégrer Steam à Gnome, mais je n'en ai aucune idée. Aidez-nous, je m'apprête à réinstaller Windows. <supprimé>

R : Sous Ubuntu, épinglez-le au tableau de bord/dock, faites un clic droit sur l'icône Steam et sélectionnez « Lancer avec la carte graphique intégrée ». Cela devrait résoudre le problème.

Q: I tried to download from https://8bitmayhem.untergrund.net/. I am using Ubuntu 24.04 with the Firefox that it comes with. When I click the link, it says ‘allow this site to open ftp link’ but the options are ‘choose application’ and ‘cancel’. If I pick choose application, it says ‘system handler’? I am so confused. All I want to do is download a few podcasts to stream in the car. What application should I choose? If I choose another browser, that browser then wants to open another browser, it keeps going in circles. A: Go to the software centre and grab “gftp” (if you are comfortable on the command line you can curl the link). You need to copy the URL to a text editor and break it up as follows ftp://ftp.untergrund.net /users/scout/podcast - the first part goes into “host” and you then click connect. It will ask you for a username, type Anonymous (case sensitive) and press enter. Once connected, paste the second part into the blank space on the right. This opens the folder, now you can select the files you want to transfer, simply click the arrow in the middle to transfer. Add it as a bookmark and you wont need to do it again. Wow, you had me there for a second. Thanks for the music. EDIT Filezilla did not come up as I searched for FTP like a user would, but it is a viable alternative. Q: Sometimes I want to have a quick look at software that I don’t know, in the Snap store on my Ubuntu 24.04 install. But if there is no internet, I can’t do that. I used to be able to in my previous installation, how do I fix that? A: The new software centre is online only as far as I know, no off-line operation, sorry.

Q : J’ai essayé de télécharger depuis https://8bitmayhem.untergrund.net/. J’utilise Ubuntu 24.04 avec le Firefox fourni. Lorsque je clique sur le lien, le message « Autoriser ce site à ouvrir le lien FTP » s’affiche, mais les options sont « Choisir une application » et « Annuler ». Si je clique sur « Choisir une application », le message « Gestionnaire système » s’affiche ? Je suis perdu. Je veux simplement télécharger quelques podcasts pour les écouter en voiture. Quelle application choisir ? Si je choisis un autre navigateur, celui-ci voudra en ouvrir un autre, et le problème persiste.

R : Allez dans la logithèque et saisissez « gftp » (si vous maîtrisez la ligne de commande, vous pouvez utiliser le lien). Copiez l’URL dans un éditeur de texte et décomposez-la comme suit : ftp://ftp.untergrund.net /users/scout/podcast ; la première partie se trouve dans « host », puis cliquez sur « Connect ». Un nom d’utilisateur vous sera demandé. Saisissez « Anonymous » (sensible à la casse) et appuyez sur Entrée. Une fois connecté, collez la deuxième partie dans l'espace vide à droite. Le dossier s'ouvre. Vous pouvez maintenant sélectionner les fichiers à transférer. Cliquez simplement sur la flèche au milieu pour effectuer le transfert. Ajoutez-le à vos favoris et vous n'aurez plus besoin de le refaire. Bravo, vous m'avez eu. Merci pour la musique.

MODIFICATION : Filezilla n'est pas apparu car j'ai recherché FTP comme un utilisateur, mais c'est une alternative viable.

Q : Parfois, j'ai besoin de jeter un œil à des logiciels que je ne connais pas, dans la boutique Snap de mon installation Ubuntu 24.04. Mais sans internet, je ne peux pas le faire. Je le pouvais auparavant avec ma précédente installation. Comment résoudre ce problème ?

R : À ma connaissance, la nouvelle logithèque est uniquement en ligne ; aucun fonctionnement hors ligne, désolé.

Q: I am new to Ubuntu and new to virtual machines. One of the things in my notes states that I must check the priority of my swap file. <removed> https://www.systutorials.com/how-to-set-swap-priority-in-linux/ I sort-of know what they want, but not quite. Can you explain? A: I currently do not have active internet, so I cannot check, I hope I remember to do it before this goes out, but you can check out your swop file with a simple command: swapon –show The priority should be in the last column. I would not faff with it if I were you, it basically just controls how easily your computer will swap to swapfile or clean up some unused memory. Rather check the vmswappiness setting.

Q : Je suis nouveau sur Ubuntu et je ne connais pas encore les machines virtuelles. Dans mes notes, il est indiqué que je dois vérifier la priorité de mon fichier d’échange. <supprimé> https://www.systutorials.com/how-to-set-swap-priority-in-linux/

Je comprends plus ou moins ce qu’ils veulent, mais pas tout à fait. Pouvez-vous m’expliquer ?

R : Je n’ai pas de connexion Internet active actuellement, je ne peux donc pas vérifier. J’espère que je m’en souviendrai avant la publication, mais vous pouvez consulter votre fichier d’échange avec une simple commande : swapon –show

La priorité devrait figurer dans la dernière colonne. À votre place, je ne m’en soucierais pas : cela contrôle simplement la facilité avec laquelle votre ordinateur échangera des données vers le fichier d’échange ou nettoiera la mémoire inutilisée. Vérifiez plutôt le paramètre vmswappiness.

issue217/q._et_r.txt · Dernière modification : 2025/06/02 16:57 de d52fr