Outils pour utilisateurs

Outils du site


issue118:q._et_r

Ceci est une ancienne révision du document !


Q I recently installed ubuntu 16.04 (64-bit). For some reason when I attempt to load GIMP 2.8 I get this: Looking for data files Templates A (Thanks to hoefield in the Ubuntu Forums) Try deleting (or renaming) the templates folder in ~/.gimp-2.8 Q Why doesn't the product name show after doing the command lshw -c display? A (Thanks to Temüjin in the Ubuntu Forums) Run this: sudo update-pciids; sudo update-usbids Then try lshw again. Gord adds: I use lshw slightly differently: cd Desktop sudo lshw -html > config.htm Then I double-click on the file on my desktop, and the display product name does appear in the browser.

Q J'ai récemment installé Ubuntu 16.04 (64-bit). Pour une raison qui m'échappe, quand j'essaye de charger GIMP 2.8, ce message s'affiche

Looking for data files (À la recherche des fichiers de données)

    Templates (Modèles)

R (Remerciements à hoefield sur le forums Ubuntu) Essayer de supprimer (ou de renommer) le dossier des templates (modèles) dans ~/ .gimp-2.8

Q Pourquoi le nom du produit ne s'affiche-t-il pas après la commande lshw -c display ?

R (Merci à Temüjin sur les ofrums Ubuntu) Exécutez ceci :

udo update-pciids; sudo update-usbids

Puis essayez lshw à nouveau.

Gord ajoute :

J'utilise lshw d'une façon légèrement différente :

cd Desktop

sudo lshw - html > config.htm

Ensuite je fais une clique double sur le fichier sur mon bureau et le nom du produit s'affiche bel et bien dans le navigateur.

Q I've set up an older Dell Vostro 1500 laptop with 4G RAM for my mother that has a 1.6GHz dual-core Intel Core 2 processor. I installed the CPU Frequency Scaling plugin. However, the scaling tool on her laptop will always stay locked at 800MHz no matter what I select, so the computer is excessively slow. A (Thanks to RallyDarkstrike in the Ubuntu Forums) It was the battery! During one of my Google searches, I came across a short post that said sometimes certain brands have their BIOS lock the processor at a lower speed when the power cable isn't charging correctly or the battery is below a certain charge. I shut it down, removed the battery, plugged it in on A/C only, booted it back up, and voila! Low and behold, CPU scaling is working perfectly on demand! Q I set my download directory to home/andy/Downloads, yet downloads end up in tmp/mozilla_andy0 A Try /home/andy/Downloads

Q J'ai configuré un portable Dell Vostro 1500 vieillissant avec 4 Go de RAM et dont le processeur est un Intel Core 2 duo à 1,6 GHz pour ma mère. J'ai installé le greffon Frequency Scaling (conversion de fréquences) pour le processeur. Cependant, l'outil de conversion de fréquences sur le portable restera verrouillé sur 800 MHz, peu importe la fréquence sélectionnée ; ainsi l'ordinateur reste excessivement lent.

R (Merci à RallyDarkstrike sur les forums Ubuntu) C'était la batterie ! Pendant l'une de mes recherches sur Google, j'ai vu par hasard un petit billet disant que, parfois, certaines marques demandent à leur BIOS de verrouiller le processeur à une vitesse plus lente quand le câble d'alimentation ne charge pas la batterie correctement ou quand la batterie est en dessous d'une charge précise. J'ai éteint l'ordinateur, enlevé la batterie, l'ai branché sur A/C seulement, le redémarré et voila que la conversion des fréquences du processeur fonctionne parfaitement à la demande :

Q J'ai réglé le répertoire de mes téléchargements à home/Andy/Downloads et, pourtant, les téléchargements arrivent dans tmp/mozilla_andy0

R Essayez :home/andy/Téléchargements

Q I have created a script to update something automatically. The script must run as root. It runs fine with sudo every time in an interactive shell, using ssh into the target box to do it. However it fails every time when run by root's crontab. The error message basically states that it fails to bring tomcat down. (need to update a DB). The command to do this is (this is how it appears in the script): service S95tomcat stop Can anyone tell me why this works ALWAYS when run in an interactive shell but fails ALWAYS if run out of crontab?? A (Thanks to SeijiSensei in the Ubuntu Forums) If you're running 16.04 or later, you should be using the systemd commands like systemctl. To start a service on a systemd machine, use: /bin/systemctl start service_name Q I have loaded Ubuntu ubuntu-16.04.01-desktop-amd64.iso on a memory stick. How do I save a screenshot? A (Thanks to ajgreeny and yancek in the Ubuntu Forums) You could remake the live USB with persistence, which allows you to save files and keep them after a shutdown or reboot. You could also create a mount point for a partition on a hard drive (if you have one) or another flash drive, mount it, and copy the screenshots there.

Q J'ai créé un script pour mettre quelque chose à jour automatiquement. Le script doit se lancer comme root. Il s'exécute sans problème avec sudo dans un shell interactif, en utilisant ssh vers l'ordinateur cible pour le faire. Cependant, chaque fois qu'il est lancé par le crontab de root, il échoue.

Le message d'erreur dit essentiellement qu'il n'a pas pu arrêter tomcat (besoin de mettre une base de données à jour).

La commande pour ce faire est (c'est comme ceci qu'il figure dans le script) :

service S95tomcat stop

Quelqu'un peut-il me dire pourquoi cela fonctionne TOUJOURS dans un shell interactif, mais JAMAIS si lancé par crontab ??

R (Remerciements à SeijiSensei sur les forums Ubuntu) Si vous utilisez la 16.04 ou ultérieur,

Top questions at Askubuntu

If you are nervous about clicking on a short goo.gl URL, you can get information about it quite easily. Copy the URL, paste it into your browser's address bar, and add a plus-sign. Now goo.gl will tell you where it goes, as well as statistics about its use. (Thanks to askleo.com for the tip.)

* How can I convert the complete file to a specific format? https://goo.gl/dPgrGz

* How can I view and edit PowerPoint presentations that don't render correctly? https://goo.gl/zylPuH

* Where does the `rename` command come from? https://goo.gl/3wuXVG

* Rename files with one line command https://goo.gl/1VzoZw

* Does Ubuntu carry over Windows filenames (png, exe, ect.) or does it have its own? https://goo.gl/MV0KSa

* How can I see which encoding is used in a file https://goo.gl/bLB89j

* Why does Ubuntu not ship with a way to fill in PDF forms? https://goo.gl/4hRVP6

* Who is filling my disk? https://goo.gl/bK030d

* Can a vanilla Ubuntu 16.04 LTS Server run without snapd? https://goo.gl/ZKdb2b

Tips and Techniques

Podcasts

For several years I have subscribed to podcasts.

With a podcast client, you can tell it what podcasts you want to hear or see, and it will download any new media, and help you play it. With my most recent Linux install, I have switched to gpodder, probably the most popular Linux podcast client software.

One can get carried away with podcasts, and subscribe to more audio or video media than one has time to listen or watch. In this latest iteration, I have limited myself to just seven podcasts. Here's my list: - The Full Circle Weekly News, - the Ubuntu Podcast, - mintCast, - Going Linux, - TEDTalks, - This American Life, - Vinyl Cafe

I really like the guys who produce mintCast, and salute them for taking an unconventional path; this season, they are installing Linux From Scratch, and talking about what is involved, and the challenges. I'm a “it just works” kind of guy, so I will never install Linux From Scratch, but it is still interesting to hear about their struggles.

At the same time, I can't imagine subscribing to podcasts without TEDTalks. This is where you will find the biggest challenges to your world view.

I use VLC media player to play podcasts, and typically set the playback speed to 1.3 times real time. Why waste time if I don't need to?

issue118/q._et_r.1488284637.txt.gz · Dernière modification : 2017/02/28 13:23 de auntiee