Ceci est une ancienne révision du document !
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, UUID’s 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’. The company I worked for as an FSE, they used to issue us with cans of compressed air, cans of compressed spray alcohol, and cans of “freeze” (a spray that cools components down to troubleshoot hardware/heat errors). This would be standard “tools” for the job. Arriving ‘on prem’ you would clean the customer computer as a courtesy, and you would use the compressed air to clean the fans and slits, and use the spray alcohol to clean hard-to-reach places. (This is one way you can distinguish a real FSE and one from a company who employs the cheapest labour.) I had a customer that would always look over your shoulder when you did things. Oil used to come in a bottle with a needle point, and I would keep mine in two plastic bags as it would inevitably leak, and leave it in the car. It was about then, that oil started coming in spray bottles too. Usually it was branded the same as the car variant, like ‘Spanjaard’. As it took only a few seconds to do, we would blow out a keyboard with the compressed air as well, as a sort of problem prevention. Now imagine my surprise, being called out to a site and finding the keyboard swimming in oil. It turns out, the ‘shoulder fly’ had decided that he could do what we did and save them money. (only there was no money to be saved as the client’s company had a fixed service level agreement with my company). However, he had taken a can of compressed oil instead of air. On the plus side, that keyboard was the smoothest operator in the building. By all means, steal with our eyes, but when you do, pay attention!
Bienvenue de retour dans un autre épisode de Questions et réponses ! Dans cette rubrique, nous essayons 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 vous identifieraient 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’est pas publiée tout de suite, ce n’est que parce qu’il y en a beaucoup et j’y réponds sur une base de « première arrivée, première servie ».
La société pour laquelle je travaillais comme ingénieur du terrain, nous donnais des boîtes d’air comprimé, des boîtes d’alcool comprimé à vaporiser et des boîtes de « gel » (un spray qui refroidissait les composants pour nous permettre de diagnostiquer des erreurs dues au matériel/chaleur). C’était les « outils » normaux de notre travail. En arrivant sur place, on nettoyait l’ordinateur du client gracieusement, puis on utilisait l’air comprimé pour nettoyer les ventilateurs et les fentes et l’alcool en spray pour nettoyer les endroits qui étaient difficiles à atteindre. (C’est une des choses qui vous permettent de différencier un vrai ingénieur du terrain et quelqu’un d’une société dont les employés sont mal payés.) J’avais un client qui regardait toujours par-dessus mon épaule pendant que je faisais des choses. L’huile était livrée dans une bouteille avec un embout à aiguille et je gardais la mienne dans deux sacs en plastique que je laissais dans la voiture, car les fuites étaient garanties. C’était à peu près à ce moment que les bouteilles d’huile commençaient à avoir des vaporisateurs. En règle générale, c’était de la même marque que celle dans la voiture, comme « Spanjaard ». Comme cela ne prenait que quelques secondes, on traitait un clavier avec de l’air comprimé, pour essayer de prévenir les problèmes. Imaginez ma surprise quand je suis allé sur site pour trouver un clavier qui nageait dans l’huile. Il s’avère que la « mouche sur mon épaule » avait décidé qu’il pouvait faire ce que nous, on faisait, et économiser l’argent de la société. (Mais il n’y avait pas d’argent à économiser, parce que la société du client avait un accord à taux fixe avec la mienne.) Cependant, il avait pris un vaporisateur d’huile comprimée à la place d’air. L’avantage était que ce clavier-là est devenu le plus fluide dans tout le bâtiment. Il ne faut surtout pas hésiter de voler avec les yeux, mais, quand vous le faites, faites très attention !
Q: Spotify does not open on Ubuntu Studio 20.04. I just get a blank popup, and nothing else. What can I do? Can anybody help me? A: You may need to raise this question on the Spotify forums. I don’t use Spotify, but I can help you troubleshoot. Try installing Spotify using a SNAP/FLATPAK/APPIMAGE format, and see if you have the same issue. If not, you may just be missing something like Java. See what the dependencies are and install those. Q: My friend Dave said I should choose one Desktop Environment and stick to it. What are your opinions on the matter? Does it even still matter? A: Since you want my opinion, to me it matters, since I customize my DE. If you don’t, there is still something to be said for sticking to one. When you customize themes, etc, KDE or QT apps do not look the same / react the same to Gnome themes, and vice-versa. Also, some applications basically install all of KDE in the background in your Gnome / XFCE environment. Given these days with powerful processors and lots of disk space, it is not a huge problem, it still takes overhead. However, if these things do not matter to you, go right ahead.
Q : Spotify ne s’ouvre pas sous Ubuntu Studio 20.04. Tout ce qui s’affiche est un pop-up vide et rien d’autre. Que faire ? Quelqu’un peut-il m’aider ?
R : Vous devrez sans doute soulever cette question sur les forums de Spotify. Je ne l’utilise pas, mais je peux vous aider côté dépannage. Essayer d’installer Spotify avec un format SNAP/FLATPAK/APPIMAGE pour voir si le problème persiste. Autrement, il se peux que quelque chose comme Java vous manque tout simplement. Regardez les dépendances et installez-les.
Q : Mon ami Dave m’a dit de choisir un environnement de bureau (EB) et de le garder. Quelle est votre opinion ? Est-ce que c’est important ?
R : Puisque vous me demandez mon opinion, c’est important pour moi, car je personnalise mon EB. Même si vous ne personnalisez pas le vôtre, il y a des avantages à rester sur un seul. Quand vous personnalisez des thèmes, etc., les applis KDE ou Qt ne se ressemblent pas et ne réagissent pas de la même façon à des thèmes Gnome et vice-versa. De plus, certaines applications installent tout KDE en arrière-plan dans votre environnement Gnome/XFCE. Étant donné qu’aujourd’hui les processeurs sont puissants et qu'il y a beaucoup d’espace disque, ce n’est pas un grave problème, mais ça consomme des ressources. Cependant, si ces choses ne sont importantes pour vous, allez-y.
Q: I have a new 4K TV that I connect my Ubuntu Laptop to. My issue is this. If I connect the TV via HDMI while the laptop and the TV are both on, I get no sound through the TV. This is not the case with my Windows laptop. If I restart the laptop or the TV, the sound comes through the TV speakers. Now I don’t want to have to restart every time I want to output my class to the TV. Can’t I set it to auto – like windows? A: Linux is about choice. Instead of assuming you want sound through your TV, Linux lets you choose if you want it through your TV, or Soundbar, or surround speakers. You do not need to restart, you simply open your sound settings and choose the output device. Q: My laptop is a hand me down from my uncle. I installed Ubuntu Budgie on it as it only has 4MB of memory. The screen is also old technology, going up to 1366 x 768 only. Problem is that the window header is outside my screen area and I can’t get to it to resize my window and I can’t get to cancel and OK buttons at the bottom as they are out of the screen too. A: I will assume that you meant 4GB of memory. To move a window that is larger than your viewing port, simply hold down the ‘ALT’ key and drag it up or down with your mouse.
Q : J’ai un nouveau téléviseur 4K auquel je peux brancher mon portable sous Ubuntu. Mon problème est le suivant : si je connecte le téléviseur via HDMI pendant que le portable et la TV sont tous les deux allumés, je n’ai pas de son de la télé. Ce n’est pas le cas avec mon portable sous Windows. Si je redémarre le portable ou la télé, le son arrive via les haut-parleurs de la TV. Or, je ne veux pas devoir redémarrer chaque fois que je veux faire sortir mon cours à la télé. Ne puis-je pas le régler sur auto – comme dans Windows ,
R : Linux vous donne le choix. Au lieu de supposer que vous voulez le son à partir de votre TV, Linux vous permet de choisir si vous le voulez de la télé, ou de la Soundbar, ou des enceintes surround. Vous n’avez pas besoin de redémarrer, il suffit d’ouvrir les paramètres du son et de choisir le dispositif de sortie.
Q : Mon portable, qui me vient de mon oncle, est usagé. Puisqu’il n’a que 4 Mo de mémoire, j’y ai installé Ubuntu Budgie. L’écran utilise une technologie ancienne et ne va qu jusqu’au 1366 x 768. Le problème est que l’en-tête de la fenêtre sort de la zone de l’écran et je ne réussis pas à faire redimensionner ma fenêtre. Je ne peux pas accéder aux boutons annuler et OK non plus, car ils sont hors d’écran aussi.
R : Je vais supposer que vous vouliez dire 4 Go de mémoire. Pour bouger une fenêtre qui est plus grande que ce qui est affiché, il suffit de maintenir la touche « ALT » enfoncée est de le faire glisser vers le haut ou vers le bas avec la souris.
Q: How can I get a nice sidebar like Ubuntu Gnome in Voyager which is based on Ubuntu? Excuse for my bad English.
A: There are multiple ways. You could install a dock, like plank, and move it to the side. If you are using the Gnome version of Voyager, you could try the dash-to-dock extension. If you are using the XFCE version, you can simply add a panel; type “panel” into your start menu.
Q: I started a new job. Must learn Ubuntu. How can I learn Ubuntu in 48 hours?
A: If you have a Linux background, I suppose it is possible. But do not be fooled by these courses that can teach you Ubuntu in 48 hrs. Bank on 48 days rather.
Q: What is a good reverse proxy for Ubuntu? It is for a school with limited internet. We are semi-Rural and need to save on bandwidth. We have a lot of disk space at the moment going unused. I am only a standard teacher ‘volunteered’ by my HOD into the IT role.
A: Well, I am ancient, I only came in by boat with Noah. Thus I have only used SQUID. But, I hear good things about NGINX and Varnish. You can head on over to howtoforge.com and they should give you step-by-step instructions on how to set it up. Also see: https://varnish-cache.org/intro/index.html#intro. Remember to make a virtual machine and practise in there first, before deploying to a live server.
Q: Hey buddy, other than df in the terminal, how can I get info on all my drives in the gui?
A: You can try the built-in disks application or Gparted.
Q: Is there a version of anti-boss key for Linux? Thanks in advance.
A: Not that I know of, there is a similar addon for Firefox. You could just create your own. Open another TTY and run something like hollywood terminal in it. When the Boss pops in, press ctrl+alt+fxx where xx is the TTY you are running hollywood terminal in.
Q: Oso040, [11.10.20 04:28] Help me. Ubuntu Focal taking so long to start up. Much slower than 18.04.
A: Open a terminal and type ‘systemd-analyse blame’ to see what is up. Then try systemd-analyze critical-chain to see how it connects. Things like boot managers or fancy plymouth, etc, can cause delays when you upgrade.
Q: I have recently moved to Ubuntu after almost all my life on Windows. I have a lot of wmv videos I need to convert to newer mp4. They are mostly small training videos that I can’t lose more detail on. Also my music won’t play in Ubuntu, not a big deal as I still have all my CD’s. What do I do in this case?
A: The “.wmv” videos are easy, they can convert with handbrake, a nice GUI program, just be sure to use “lossless” compression. Or you could dive in with FFMPEG - ffmpeg -i inputfile.wmv outputfile.mp4 - The music is another kettle of fish. Windows media player would encrypt all the music you ripped to work on only that machine in media player. Scummy, I know, but that’s Windows for you. Luckily for you the Linux ripper is very fast.
Q: Good day. I have a Logitech multimedia keyboard and the multimedia keys don’t work in Xubuntu 20.04. I have no idea how to set them. Can you assist me?
A: I can; go to keyboard, application settings, click add, then add your keys in this format: exo-open –launch MailReader and name it appropriately, XF86Mail. The same with the rest. XF86WWW would be: exo-open –launch WebBrowser, and so on for XF86Music, etc, etc.
Q: What would be your advice when planning an upgrade from 18.04 to 20.04?
A: Backup! Make a backup you can restore to your hard drive in case anything goes wrong.
Q: Greyb3ar, [17.09.20 10:13] [In reply to EriktheUnready] I have gotten used to netbeans, but it is not FOSS software. Sometimes there is no way around it, or do you know a way?
A: There is OpenBeans….
Q: When I am at home, I can SSH into my server without an issue. I tried from work, but I cannot. I tried from the Mug n Bean, and I cannot from there either. What am I doing wrong?
A: You have given me very little to go on, but I would start by checking your port-forwarding settings on your router. Are you sure the port is open?
Q: All these chrome updates and issues are just not worth it anymore. It overheats my system, eats all the memory, etc. Now I use Firefox, but I prefer Chrome. Just point me in the right direction china?
A: Give Slimjet a try?
Q: How to move my firefox bookmarks n stuff to my new ‘puter? Caveat – I don’t want to upload my data to firefox sync or any of the online services. I want to export it to a USB drive instead.
A: When you copy the mozilla folder you do – but your passwords will be encrypted, so you need to open the passwords and take pictures with your cell phone or screenshot tool. It may not be the best way, but it avoids anyone else having your data.
Q: My problem on Xubuntu on my Lenovo laptop is that Fn + PgDn (SysReq) brings up the screenshot tool, like I pressed PrtSc. How do I fix this?
A: I would think it was a keyboard setting, but you gave me very little information. I am stumped, maybe one of our readers can help? Answers to: misc@fullcirclemagazine.org
Q: How can I record a video of my desktop on Ubuntu 18.04 that I can talk over and upload it to youtube so that I can show someone something I did? None of the programs I used on Windows have Ubuntu versions. What would you recommend for someone like me?
A: OBS (or OBS studio). Grab it from your software centre and record. It is so easy even children use it. If you feel lost, spend 30 min playing with the options and you should be golden.