Posts Tagged ‘Firefox’

Freeware 免費軟件推介

This item was filled under [ Application, Linux, Mac, Windows ]

L: Linux M: Mac OS W: Windows Web Editor Amaya LMW HTML-Code-Cut W – Use for replace HTML code, Great tools!! Virtual Machine VirtualBox LMW – An x86 virtualization software package developed by Sun Microsystems. VMware LMW – VMware Server is a hosted virtualization platform that installs like an application on any existing server hardware [...]

Continue reading...

Tagged with: [ , ]

Simple Shell Script: Restart the firefox automaticlly

This item was filled under [ Shell Script ]

#!/bin/bash user=userA logdir=/home/${user}/logs TODAY=`date +%Y%m%d` log=${logdir}/ff_start_${TODAY}.log kill_pid=/home/${user}/ff_process_id.txt firefox_loc=/home/${user}/app/firefox kill_ff(){ pgrep firefox > $kill_pid forcekill_pid=`cat $kill_pid` for i in $forcekill_pid do echo “Killing process pid:$i” kill -9 $i done find /home/${user}/.mozilla/firefox/ -name ‘lock’ -exec rm -f {} \; sleep 1; } main(){ while true; do pgrep firefox > $kill_pid check_ffrun=`wc -l $kill_pid|cut -f 1 -d ‘ [...]

Continue reading...

Tagged with: [ , , ]

Simple Shell script: check USB device

This item was filled under [ Shell Script ]

- This script will check the USB device1,2,3 before startup the firefox browser – If one of them is not connected, it will start the firefox and show the error page – use command lsusb found out the Device ID #!/bin/sh user=userA base_path=/home/${user}/script logdir=/home/${user}/logs TODAY=`date +%Y%m%d` log=${logdir}/check_dev_${TODAY}.log firefox_loc=/home/${user}/app/firefox kill_pid=/home/${user}/ff_process_id.txt device1=”0eef:0001″ device2=”072f:2200″ device3=”0519:0002″ kill_ff(){ pgrep firefox [...]

Continue reading...

Tagged with: [ , , ]

Firefox – Disable Session Restore

This item was filled under [ Application, Mozilla Firefox ]

In the address bar of firefox type about:config In the filter section type browser.sessionstore Set the value of browser.sessionstore.enabled to false Set the value of browser.sessionstore.resume_from_crash to false

Continue reading...

Tagged with: [ , ]

Adding Windows Fonts in Linux

This item was filled under [ Linux Command ]

http://linuxhelp.blogspot.com/2005/12/adding-windows-fonts-in-linux.html Unlike past times, Linux do come with good fonts. And the font rendering can be made better by choosing to antialiase the fonts. But at times you come across a website which has been designed with the windows user in mind. Such websites are best viewed with one of the windows fonts. If you [...]

Continue reading...