Ceci est une ancienne révision du document !
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 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 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/
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
* 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
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.
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
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.