Outils pour utilisateurs

Outils du site


issue118:q._et_r

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 les forums Ubuntu.) Essayez 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 forums Ubuntu.) Exécutez ceci :

sudo 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, sur mon bureau, je fais un double-clic sur le fichier 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 Pour ma mère, 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. 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, de sorte que 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, l'ai 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érieure, vous devriez utiliser les commandes systemd comme systemctl. Pour démarrer un service sur une machine systemd, utilisez :

/bin/systemctl start service_name

Q J'ai mis Ubuntu (ubuntu-16.04.01-desktop-amd64.iso) sur une clé USB. Comment sauvegarder une capture d'écran ?

R (Remerciements à ajgreeny et yancek sur les forums Ubuntu.). Vous pourriez refaire l'USB live avec la persistance, qui vous permet de sauvegarder des fichiers et les garder après un arrêt ou un redémarrage.

Une autre possibilité serait de créer un point de montage pour une partition sur un disque dur (si vous en avez un) ou une autre clé USB, la monter et copier les captures d'écran dessus.

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

Questions les plus populaires sur Askubuntu

Si vous angoissez à l'idée de cliquer sur une URL courte goo.gl, vous pouvez en obtenir des renseignements très facilement. Copiez l'URL et collez-la dans la barre d'adresse de votre navigateur, puis ajoutez un signe plus (+). Maintenant, goo.gl vous dira où elle mène, ainsi que les statistiques sur son utilisation. (Merci à askleo.com pour cet astuce.)

* Comment convertir un fichier entier dans un format précis ? https://goo.gl/dPgrGz

* Comment visionner et éditer des présentations PowerPoint dont le rendu n'est pas correct ? https://goo.gl/zylPuH

* D'où vient la commande « rename » (renommer) ? https://goo.gl/3wuXVG

* Renommer des fichiers avec une commande d'une ligne. 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

* Ubuntu garde-t-il les extensions de fichiers de Windows (png, exe, etc.) ou en a-t-il qui lui sont propres ? https://goo.gl/MV0KSa

* Comment savoir quel encodage est utilisé dans un fichier ? https://goo.gl/bLB89j

* Ubuntu n'est pas livré avec la possibilité de remplir des formulaires PDF. Pourquoi ? https://goo.gl/4hRVP6

* Qui remplit mon disque ? https://goo.gl/bK030d

* Un système Ubuntu 16.04 LTS Server standard peut-il fonctionner sans 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

Trucs et astuces

Les podcasts (baladodiffusions)

Je suis abonné à des podcasts depuis plusieurs années.

Si vous avez un client de podcast, vous pouvez lui dire ceux que vous voulez écouter ou voir et il téléchargera tout nouveau médium et vous aidera pour sa lecture. Lors de ma dernière installation de Linux, j'ai changé pour gpodder, qui est sans doute le client Linux de podcast le plus populaire.

On peut se laisser emporter par les podcasts et s'abonner à plus de média audio ou vidéo qu'on peut vraisemblablement en écouter ou regarder. Dans cette dernière itération, je me suis limité à seulement sept podcasts. Voici ma liste : - The Full Circle Weekly News (les Actus hebdomadaires), - the Ubuntu Podcast, - mintCast, - Going Linux, - TEDTalks, - This American Life (Cette vie américaine), - 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?

J'aime vraiment bien les gars qui produisent mintCast et je les salue parce qu'ils ont pris un chemin inhabituel ; cette saison, ils installent Linux From Scratch (Linux à partir de zéro) et parlent des défis et des implications. Moi, je suis le genre de mec qui veut que « tout fonctionne tout simplement » ; aussi, je n'installerai jamais Linux From Scratch, mais c'est néanmoins intéressant d'entendre parler des problèmes qu'ils doivent affronter.

Dans le même temps, je ne peux concevoir des abonnements aux podcasts sans TEDTalks. C'est là que votre vision du monde sera la plus mise en question.

J'utilise le lecteur VLC pour lire les podcasts et, en général, je règle la vitesse de lecture à 1,3 fois la vitesse réelle. Pourquoi perdre mon temps si ce n'est pas nécessaire ?

issue118/q._et_r.txt · Dernière modification : 2017/03/01 14:34 de andre_domenech