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 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 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.

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.1488277187.txt.gz · Dernière modification : 2017/02/28 11:19 de auntiee