Outils pour utilisateurs

Outils du site


issue111:q._et_r

Q How might I get VLC Media Player to play all the music tracks of a CD in sequence? A For this task, Audacious is much easier to use. Q I'm considering making some changes to my system setup. Is there a way I can create a “restore point” in case it doesn't work out? A Google: systemback The web site is in Launchpad, and you can install it from a PPA.

Q Comment faire pour que le lecteur de média VLC lise toutes les pistes d'un CD de musique consécutivement ?

R Pour cette tâche, Audacious est beaucoup plus facile à utiliser.

Q J'envisage de faire des modifications dans la configuration de mon système. Puis-je créer un « point de restauration » au cas où cela ne fonctionne pas ?

R Cherchez systemback sur Google. Le site Web est sur Launchpad et vous pouvez l'installer à partir d'un PPA.

Q I get an error message when I try to update Google Chrome. A Enter this command: wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add - You might think it did nothing, because it immediately responds, “OK”. But the error message goes away. Q I have an ASUS router with a shared folder which I am able to connect to from Windows 10, and a few Mac clients, without any problems. When I attempt to connect from Ubuntu by clicking 'Connect to Server' and using the IP address of the router, similarly as I've done from Windows, I'm prompted for a username and password, and the Domain is filled in as 'WORKGROUP'. I have the correct username and password, but every time, I get no connection, and the dialog box for username/password keeps popping up. The command: smbtree -d3 produces output which includes: Server does not support EXTENDED_SECURITY but 'client use spnego = yes and 'client ntlmv2 auth = yes' A (Thanks to bab1 in the Ubuntu Forums.) The client needs to degrade security as we can't update the ASUS server. Enter this command: sudo gedit /etc/samba/smb.conf In the [global] section, add these lines: client use spnego = no client ntlmv2 auth = no Then run your smbtree command again.

Q Quand j'essaie de mettre Google Chrome à jour, j'ai un message d'erreur.

R Saisissez cette commande : wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

Vous pourriez penser que cela n'a rien fait, parce qu'il répond « OK » tout de suite. Mais le message d'erreur disparaît.

Q J'ai un routeur ASUS avec un dossier partagé auquel je peux me connecter sans problème à partir de Windows 10 et de quelques clients Mac. Quand j'essaie de m'y connecter à partir d'Ubuntu en cliquant sur « Connect to Server » et en utilisant l'adresse IP du routeur, un peu comme je l'ai fait à partir de Windows, on me demande un nom d'utilisateur et un mot de passe et le Domaine est indiqué comme étant « WORKGROUP ». J'ai les bons nom d'utilisateur et mot de passe, mais chaque fois, je n'ai pas de connexion et la fenêtre de dialogue me demandant le nom d'utilisateur et le mot de passe ne cesse de s'afficher.

Le résultat de la commande smbtree -d3 comprend : Server does not support EXTENDED_SECURITY but 'client use spnego = yes and 'client ntlmv2 auth = yes' (Le serveur ne prend pas en charge EXTENDED_SECURITY mais « client utilise spnego = yes » et « client ntlmv2 auth = yes »)

R (Remerciements à bab1 sur les forums Ubuntu.) Le client doit diminuer la sécurité, car nous ne pouvons pas mettre le serveur ASUS à jour. Saisissez cette commande :

sudo gedit /etc/samba/smb.conf

Dans la section [global], ajoutez ces lignes :

client use spnego = no

client ntlmv2 auth = no

Puis exécutez la commande smbtree à nouveau.

Q I would like to encode with mencoder stream from my /dev/video0 camera, and send it directly to mplayer for immediate watching. A If you just want to watch video from the camera, use camorama or cheese. Q Latest Kubuntu 16.04. A bit disappointed to find that Raw thumbnails in Dolphin are not working. A (Thanks to Rog131 in the Ubuntu Forums) Bug #1574049 kdegraphics-thumbnailers 4:15.12.3-0ubuntu1 uses the wrong path for plugin libraries. The solution posted in Launchpad was to link where the plugins are, to where Dolphin expects them: sudo ln -s /usr/lib/x86_64-linux-gnu/plugins/* /usr/lib/x86_64-linux-gnu/qt5/plugins/

Q j'aimerais encoder à partir de ma caméra /dev/video0 et l'envoyer directement à mplayer pour pouvoir le regarder tout de suite.

R Si tout ce que vous voulez est de regarder une vidéo de la caméra, utilisez camorama ou cheese.

Q J'ai la plus récente Kubuntu 16.04 et je suis un peu déçu de constater que les miniatures Raw dans Dolphin ne fonctionnent pas.

R (Merci à Rog131 sur les forums Ubuntu.) Le Bug #1574049 kdegraphics-thumbnailers 4:15.12.3-0ubuntu1 utilise le mauvais chemin pour les bibliothèques des greffons. La solution postée sur Launchpad est de lier l'emplacement des greffons à l'emplacement où Dolphin les attend :

sudo ln -s /usr/lib/x86_64-linux-gnu/plugins/* /usr/lib/x86_64-linux-gnu/qt5/plugins/

Top questions at Askubuntu * How to block input to webcam? http://goo.gl/txVRzh * CPU temperature embedded in Bash command prompt http://goo.gl/jY0JdQ * How do I cite Ubuntu in an academic thesis? http://goo.gl/eFuX2M * Transplanting Drive http://goo.gl/2yq8ot

Questions les plus populaires sur Askubuntu

* Comment bloquer l'accès à une webcam ? http://goo.gl/txVRzh

* Incorporer la température du processeur dans l'invite de commandes de Bash. http://goo.gl/jY0JdQ

* Comment citer Ubuntu dans une thèse universitaire ? http://goo.gl/eFuX2M

* Transplanter un disque. http://goo.gl/2yq8ot

* Command to display an arbitrary message if a particular file exists http://goo.gl/BWq4bq * How to paste commands into a TTY? http://goo.gl/tMzJD3 * How do I retrieve only the needed line from terminal output? http://goo.gl/GI1FUZ * Generate white noise to calm a baby http://goo.gl/tNFOWW * How do you protect Ubuntu login? http://goo.gl/loml18

* Commande pour afficher un message arbitraire si un fichier spécifique existe. http://goo.gl/BWq4bq

* Comment coller des commandes dans un TTY ? http://goo.gl/tMzJD3

* Comment ne récupérer que la ligne dont j'ai besoin d'une sortie du terminal ? http://goo.gl/GI1FUZ

* Générer du bruit blanc pour pacifier un bébé. http://goo.gl/tNFOWW

* Comment protéger le login Ubuntu ? http://goo.gl/loml18

Tips and Techniques Solving My Own Problem In 2009, I built a fairly high-performance PC, using components which were well reviewed on Newegg. It worked OK, not perfectly, with the Ubuntu of the day. That's common when you use the latest and greatest hardware with Linux. It performed perfectly with Ubuntu 10.10 through 12.04. By that time, I was using Linux Mint 13, based on Ubuntu 12.04, dual-booting with various test versions of Linux. After 12.04, things went poorly. Everything would work fine for a while, then my computer would completely lock up. It might happen after a day, or after a week. It really had nothing to do with Ubuntu or Mint, it was the Linux kernel. Eventually, I shifted my attention to Xubuntu, and used Xubuntu 15.10 in a dual-boot with Mint 13. Xubuntu would lock up two or three times a month.

Trucs et astuces

Résoudre mon propre problème

En 2009, j'ai assemblé un PC d'assez hautes performances, avec des composants qui avaient reçu une bonne critique sur Newegg. Sous l'Ubuntu de cette époque, il fonctionnait bien, mais pas parfaitement. C'est courant quand vous utilisez du matériel très récent et haut de gamme avec Linux.

Ses performances sous Ubuntu 10.10 jusqu'à la version 12.04 étaient parfaites. À ce moment-là, j'utilisais Linux Mint 13, basé sur Ubuntu 12.04, en double amorçage avec diverses versions de test de Linux.

Après la 12.04, les choses ont mal tourné. Tout fonctionnait très bien pendant un certain temps, puis l'ordinateur se bloquait complètement, peut-être après une journée, ou après une semaine. Cela n'avait vraiment rien à voir avec Ubuntu ou Mint, c'était le noyau Linux. Finalement, j'ai transféré mon attention sur Xubuntu et je me suis servi de Xubuntu 15.10 en double amorçage avec Mint 13. Xubuntu se bloquait deux ou trois fois par mois.

When I started testing 16.04, it was much worse. It was rare that I could run for 24 hours without a lock up. I had previously made half-hearted efforts to solve the problem, and found some things which didn't work. It became more urgent when Xubuntu 15.10 was approaching the end of support, and Mint 13 would also soon be unsupported. I even tried using Android for PC, and it was no better. Same Linux kernel, same problem. I was starting to wonder if I would need to give up on Linux until I could build a new PC. Then I found the magic Google search. My motherboard is a Gigabyte MA770T-UDP3. I Googled: MA770T-UDP3 linux

Quand j'ai commencé des tests de la 16.04, c'était bien pire. Ne pas avoir de blocage pendant 24 heures était exceptionnel.

Auparavant, j'avais essayé de résoudre le problème, mais à contrecœur, et j'avais trouvé des trucs qui ne fonctionnaient pas. Cela devenait urgent quand le support de Xubuntu 15.10 fut près de sa fin, ainsi que celui de Mint 13.

J'ai même essayé Android pour PC, mais ce n'était pas mieux. Même noyau Linux, même problème. Je commençais à me demander si je devrais abandonner Linux jusqu'à ce que je puisse assembler un nouveau PC.

C'est à ce moment-là que j'ai trouvé la recherche sur Google qui convenait. Ma Carte mère est une Gigabyte MA770T-UDP3 et, sur Google, j'ai cherché Gigabyte MA770T-UDP3 Linux.

A couple of the search results took me to pages which talked about how to specify “acpi=off”, and that was the solution. After a fresh install of Xubuntu 16.04, I rebooted and paused when the GRUB menu appeared. I edited the Linux command line, to add “acpi=off”. When the system was running, I used sudo to edit /etc/default/grub, adding “acpi=off” to the line which contained “quiet splash”. Then I ran: sudo update-grub It worked. The only downside that I have seen is that the CPU always runs at 3.1 GHz; apparently CPU frequency scaling depends on acpi. The good news is, I can continue to use Linux on my high-performance PC.

Deux ou trois résultats m'amenaient sur des pages où le sujet était comment spécifier « acpi=off » et c'était ça la solution.

Après une nouvelle installation de Xubuntu 16.04, j'ai redémarré et j'ai fait pause quand le menu GRUB s'est affiché. J'ai modifié la ligne de commande Linux en ajoutant « acpi=off ».

Une fois le système lancé, j'ai utilisé sudo pour éditer /etc/default/grub, en ajoutant « acpi=off » à la ligne contenant « quiet splash ». Ensuite, j'ai exécuté : sudo update-grub

Cela a fonctionné. Le seul inconvénient que j'ai constaté est que le processeur tourne toujours à 3,1 GHz, l'ajustement natif de la fréquence du processeur nécessitant apparemment acpi. La bonne nouvelle est que je peux continuer à utiliser Linux sur mon PC à hautes performances.

issue111/q._et_r.txt · Dernière modification : 2016/08/15 13:59 de andre_domenech