Posts tagged ‘Linux’

Howto dump all texts of a web site

Recently I wanted to get all texts from a web site to prepare a translation. Although I found the one or other tip, here is the easy solution with a linux system.
Simply use lynx:

lynx -crawl -traversal http://website.de

(just replace website.de with the URL you want to get the texts from).

To get all html pages (no images etc) you can use wget:
wget -r -k -L -A htm,html http://website.de

With lynx you will get all texts as dat files and can start reading/translating offline.

Linux Mint Debian Edition 201101 on AOA 150

I started to install and run LMDE 201101 on my Acer Aspire One D150.

Changes after install:
Touchpad-In control Center-Hardware-Mouse-Enable Mouse clicks with touchpad

After suspend (lid closed) and resume there was no display. Added one line in “/usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-acer.fdi” and commented out another line:

 
<!-- Aspire One 110 -->
 <match key="system.hardware.product" prefix_outof="AOA110;AOA150">
 <!--<merge key="power_management.quirk.none" type="bool">true</merge>-->
 <merge key="power_management.quirk.quirk-vbe-post" type="bool">true</merge>
 </match>

Then restarted hal with
sudo /etc/init.d/hal restart
After this change suspend/resume does work OK for display.

(see also http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/blank-screen-after-resume-from-suspend-764822/ and http://forums.debian.net/viewtopic.php?f=16&t=44378 why I did this)

Now the last initial change: let the fan be controled by temperature I used the lines

>sudo su
>echo -n “enabled” > /sys/class/thermal/thermal_zone0/mode

That’s it for now…