Outils pour utilisateurs

Outils du site


issue148:q._et_r

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. A long time ago, in a Galaxy far away, I used to work for an automotive supplier. We supplied tooling and manufacturing lines to the automotive plants. Computers were not really fast at that stage, or should I say windows NT was not that fast. I was only the network administrator, and I would sit down with the solutions architect and show him that doing whatever it was they were doing, was so much faster in Linux using n-curses and a minimal Linux server as a back-end. It would solve their problems in a jiffy. However doing things this way meant we did not make the same amount of money selling the customer 3 servers instead of one, and Windows licenses and SQL licenses, etc. They just did not know how to “sell” a Linux solution for a start. Today, I see Linux everywhere, from positioning systems, to advertising systems, to IOT intermediate devices. It seems suppliers are happy to package and ship snap packages. Yet, there is no charge for the OS. Not even a support fee. We need to pay our Linux engineers too. It seems employers expect you to have windows certifications but support Linux for free too? Just because Microshaft charges up the wazoo, does not make it a better product, It just means we need to get pricing in place. That way we can buy things like support contracts from Canonical for the customers. Improve the support we offer for Linux. There are other ways to make your money, than just selling an OS

Bienvenue de retour dans une autre édition de Questions et Réponses ! Dans cette rubrique, nous essayons de répondre à vos questions sur Ubuntu. Assurez-vous de donner des détails concernant votre système d'exploitation et votre matériel. J'essaierai d'enlever tout ce qui vous identifierait personnellement de vos questions, mais il vaut mieux ne pas inclure des choses comme les numéros de série, UUID ou adressés IP.

Il y a très, très longtemps dans une lointaine galaxie, je travaillais chez un équipementier automobile. nous fournissions de l'outillage et des chaînes de fabrication aux usines automobile. À cette époque, les ordinateurs n'étaient pas vraiment rapides, ou devrais-je dire que Windows NT ne l'était pas… Je n'était que l'administrateur réseau et je rencontrerais l'architecte de solutions et lui démontrerais que quoi su'ils faisaient, c'était tellement plus rapide sous Linux avec n-curses et un serveur Linux minimal comme back-end. Cela résoudrais leurs problèmes dans un clin d'œil. Toutefois, en agissant ainsi, nous ne gagnerions pas autant d'argent que ce qu'on aurait fait en vendant aux clients trois serveurs à la place d'un et des licences Windows et des licences SQL, etc. On ne savait tout simplement pas comment « vendre » une solution Linux pour commencer. Aujourd'hui, je vois Linux partout, des systèmes de positionnement aux systèmes de publicité, aux dispositifs intermédiaires des Objets connectés. Il me semble que les fournisseurs sont contents d'empaqueter et de livrer des paquets snap. Pourtant, l'OS est gratuit. Il n'y a même pas de frais d'assistance. Nous devons néanmoins payer nos ingénieurs Linux aussi. Il semblerait que les employeurs s'attendent à ce qu'il y ait des certificats Windows, mais que l'assistance Linux soit gratuit ? Le seul fait que Microsoft coûte un max, n'en fait pas un meilleur produit, cela signifie tout simplement que nous devons mettre une tarification en place. Ainsi, on peut acheter des produits comme les contrats d'assistance de Canonical pour les clients. Améliorer le support que nous proposons pour linux. Il y a d'autres façons de gagner de l'argent outre que vendre un système d'exploitation…

Q: Thinkpad fanboy here, I have Ubuntu 18.04.2 on my Thinkpad and thinking of going to 19.04 due to the Thinkpad not coming out of sleep properly. I close the lid, and when I open it, the screen goes blank – flashes the desktop briefly. Now, I am not sure if it is Ubuntu’s fault, or a kernel fault, or some Thinkpad feature. All I know is it used to work before in 16.04. I don’t see failures in dmesg, so I don’t think its hardware. I have tried the lid switch fixes on Google, but it doesn’t work. A: Just to tickle my curiosity, as we have had these questions before, what happens if you just type in your password as if LightDM was open and you needed to get back in? EDIT: That worked!!!! thank you, thank you!!!

Q : Fan de Thinkpad, j'ai Ubuntu 18.04.2 sur le mien et j'envisage de passer à la 19.04, parce que le Thinkpad ne se reveille pas comme il faut. Je ferme le couvercle et, quand je le rouvre, l'écran devient vierge après avoir affiché le bureau très brièvement. Bon, je ne sais pas si c'est la faute à Ubuntu, un faille dans le noyau, ou un problème du Thinkpad. Tout ce que je sais, c'est que cela fonctionnait dans le 16.04. Je ne vois pas d'échecs dans dmesg, et je ne pense donc pas qu'il s'agit du matériel. J'ai essayé les correctifs de l'interrupteur du couvercle trouvés sur Google, mais rien ne marche.

R. Juste par curiosité, puisque nous avons déjà eu de telles questions, qu'est-ce qui se passe si vous taper votre mot de passe comme si LightDM s'affichait et vous aviez besoin de vous reconnecter ?

RÉDAC: cela a marché !!!! Merci mille fois !!!

Q: How do I use the nik collection in Linux. I have heard you can use it in Gimp. I don’t really get how. Please show me. A: Erm, you know more than me; as far as I know, it is not Linux compatible. Follow our Darktable tutorials - as Darktable is a post processing powerhouse. Q: My HP zbook ships with windows on a hard drive with a 30GB SSD that gets used for caching . I want to do this in Ubuntu too, but I don’t know how. Please help me as the cache is now unused and the drive is slow. I am using Disco Dingo BTW. A: My advice is to install Ubuntu on the 30GB SSD and map your home folder and swap file to the spinning rust. Should you be unfamiliar with mount points, read up here: https://www.linuxnix.com/what-is-a-mount-point-in-linuxunix/ or https://www.linuxtopia.org/online_books/introduction_to_linux/linux_Mount_points.html

Q : Comment me servir de la collection nik sous Linux ? J'ai entendu dire qu'on peut l'utiliser dans Gimp, mais je ne comprends pas comment.

Q: I am trying to use Gparted’s recovery feature to recover my music from my phone’s SD card. I pick device, attempt data rescue, then nothing happens. It scans my partition and tells me it’s FAT.

A: I do not want to come across wrong, but it is right there in the name, “attempt” - It is not a sure fire solution. Try photorec, it is not only for photos. (The SD card may also be beyond repair / recovery too).

Q: Hi, I have a brand new install of Ubuntu Budgie. I want to change my actions to single-click, but I can’t find it in the settings. Should I install and run the tweak tool?

A: What you are looking for is not in user settings, but in the preferences menu of Files. Click on the icon in the top-left to get the drop-down list. In preferences, go to the behaviour tab.

Q: Hi. I have a LOT of photos on my phone. I want to transfer them to my computer, but it takes waaay too long to even start going. How can I transfer the files via the command-line so it can go faster? I have Googlified this and the askubuntu solution does not work for me. In fact, I can’t even change to that folder. If i try to do it as root, it fails completely! As in ‘access denied’! https://askubuntu.com/questions/596441/how-to-access-my-android-phone-from-my-terminal

A: Okay there are a LOT of answers coming: you need to look in run/user/1000/gvfs as per ‘askubuntu’, but here is the catch: every time you unplug and re-plug your phone, the name in that folder changes. Also, there is a way to access that folder that is not correct in the ‘askubuntu’ answer. The reason “root” does not work is because “root” on your Android device is held by Google, and you do not have privileges. Let me rather address the underlying problem. Transferring files with MTP is fine, but transferring a lot of pictures is not. On your Android phone, change the transfer mode from MTP to PTP *(The Picture Transfer Mode), and re-connect your Android device. You should now be able to transfer those pictures a hundred times faster.

Q: My question is not so much Ubuntu, but LibreOffice in Ubuntu. I have even updated to 6.2.4.2 – but my problem persists. Don’t say google it as I have. My DE is budgie, so it could be that; however, it works fine in WPS office and notepad. I don’t have this issue on my laptop as my laptop does not have a num-pad. The FULL STOP on the num-pad is detected as a COMMA. I have my keyboard set to English(US) and I can see it is a FULL STOP in the diagram, but when I type… it’s a comma. Ubuntu Budgie 18.04 on a dell 7010 Optiplex with 8 gig of RAM.

A: Sometimes you have to think like a search engine guy. Try full stop/dot/period. Your answer is here: https://ask.libreoffice.org/en/question/92792/number-pad-dot-turns-into-a-comma/ - basically; Tools>Options→ Language settings and un-tick the comma.

Q: How to fix mypaint. Ubuntu 18.04.2.

A: I'm going to assume you mean MyPaint randomly hanging on you? This is because Ubuntu no longer supports Python 2.7. You are going to have to nicely ask the developers to port it to Python 3.

Q: It´s tax season and I need to set up a VM in virtualbox again to run all that proprietary adobe * spyware. I am having issues with USB and display settings. I run the install of the guest additions addon, but it fails every time like clockwork. I´m running the latest version of Virtualbox. My Ubuntu is Xubuntu 18.04, 8GB memory and built-in display. Should I use an older version because of this?

A: No. Download the guest additions ISO and add it manually.

Q: I share a computer with my two brothers. It is Ubuntu 16.04. How can I deny them access to my files if one of them uses root?

A: The short answer is you cannot. If you wish to keep your data private, you need to create encrypted containers within your folders and put your data in there. They will be able to see the encrypted containers, but not what is inside (assuming your encryption password is secure).

Q: I am just looking for some advice. I started a graphic design course, and we are learning about color theory. I use Ubuntu, not Windows, but it is okay as I use Inkscape. How do I get the precise RGB or CMYK of a color within a picture?

A: I am not sure if you can from within Inkscape, but there are great color picking tools available for Ubuntu. You can use ‘color picker’ from the software centre, or a third-party package.

Q: What is the best Ubuntu version to use that supports python 2.7? My son is learning python 2.7 in school, and the new Ubuntu does not support it any more. I don’t want him messing with my Macbook. I’d rather downgrade his HP.

A: That would be Ubuntu 16.04, but can I rather suggest you load it in a Virtualbox VM for him.

Q: I have bought a sandisk mini USB3 thumb drive that does not stick out of my laptop. I copy my music to it that I listen to at work. My problem is that it gets very hot. Is this my laptop’s fault or is it something in Ubuntu I need to adjust?

A: This has to do with size and heat dissipation. The larger the stick the larger the area is that heat can dissipate to. Simply put, the heat that is generated (by copying to and from the stick) has nowhere to go. Do not touch the metal part when you remove the USB stick.

Q: I recently bought a wireless mini keyboard that I connected to my Ubuntu laptop as I work on an external screen and keep my laptop lid closed. Something weird is happening with keys like end, page up, page down. It just doesn’t gel. I have looked at keyboard settings and nothing has changed.

A: That last piece may be the answer. I doubt the laptop keyboard and your mini keyboard has the same layout. If you cannot set it with the keyboard setting, you can try: dpkg - -reconfigure -keyboard-configuration from the terminal.

Q: I have recently switched from Microsoft Office to LibreOffice. My problem is artefacts. If I add a dash between two words, I get strikethrough, if I add a forward-slash before a directory, I get italics, etc, etc. It is driving me up the wall. Is there no setting to correct this behaviour? I am typing up a knowledge base and I need these characters. My Ubuntu version is 18.04 and my LibreOffice version is 6.2.5.2.

A: Let me start by saying that you can just press CTRL-Z at any time you get something like a strikethrough to remove it. That said, if you want a more “microsoft office” experience, you can look at Only Office or WPS Office. LibreOffice is MS Office compatible, but that means formats, not use.

Q: I have downloaded a bunch of files from uni and I want to bulk rename them, removing the first part that says ‘property of…’, so I can sort them properly. I then want to make changes and re-add the ‘property o …’ to the front when I am done. A friend suggested gprename, but I don’t know how to use the regex at the bottom. -\([

A: You do not need to. Count the number of letters and spaces you want to remove, then go to the “insert/delete” tab at the bottom and choose “delete between” and insert your count, like 1 to 11 or how many letters you wish to remove. You can then use “replace/remove” to add the string back in.

Q: My CMOS battery died and I replaced it; I was dual-booting Windows 10 and Ubuntu on my laptop. My problem is that I no longer get the purple boot screen where I can pick what OS to start. It just goes straight to Windows. I don’t know how to fix grub as google suggests.

A: I suspect your BIOS has reset to defaults rather. Do not fiddle with grub then, make sure your BIOS does not just boot straight to Windows. Dollars to doughnuts that is where your issue lies. You may need to set “legacy boot” options.

issue148/q._et_r.1568126330.txt.gz · Dernière modification : 2019/09/10 16:38 de auntiee