Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Monday, March 14, 2011

reduce disk IO load by ionice when rsync

ionice -c3 rsync -avtz --progress src dst


-c class
The scheduling class. 0 for none, 1 for real time, 2 for best-
effort, 3 for idle.


Idle A program running with idle io priority will only get disk time
when no other program has asked for disk io for a defined grace
period. The impact of idle io processes on normal system activ‐
ity should be zero. This scheduling class does not take a prior‐
ity argument. Presently, this scheduling class is permitted for
an ordinary user (since kernel 2.6.25).

Saturday, March 12, 2011

"Clock" keeps quit unexpectedly after weather location selected in Ubuntu 10.10

Error message saying:
"Clock" has quit unexpectedly
if you reload a panel object, it will automatically be added back to the panel.

Sunday, May 23, 2010

Cancel turning email address into links in zim

find file /usr/lib/pymodules/python2.6/zim/parsing.py

delete @ pattern

url_re = Re(r'''(
    \b \w[\w\+\-\.]+:// %(c)s* \[ %(c)s+ \] (?: %(c)s+ [\w/] )?  |
    \b \w[\w\+\-\.]+:// %(c)s+ [\w/]                             |
    \b mailto: %(c)s+ \@ %(c)s* \[ %(c)s+ \] (?: %(c)s+ [\w/] )? |
    \b mailto: %(c)s+ \@ %(c)s+ [\w/]
)''' % _classes, re.X)

#url_re = Re(r'''(
#    \b \w[\w\+\-\.]+:// %(c)s* \[ %(c)s+ \] (?: %(c)s+ [\w/] )?  |
#    \b \w[\w\+\-\.]+:// %(c)s+ [\w/]                             |
#    \b mailto: %(c)s+ \@ %(c)s* \[ %(c)s+ \] (?: %(c)s+ [\w/] )? |
#    \b mailto: %(c)s+ \@ %(c)s+ [\w/]                            |
#    \b %(c)s+ \@ %(c)s+ \. \w+ \b
#)''' % _classes, re.X)

Saturday, May 1, 2010

little tip of associating amule to firefox

sudo apt-get install amule-gnome-support

"network.protocol-handler" items take no  effect on my firefox 3.5...