kolmapäev, 26. oktoober 2011

use clipit actions to send clipboard to pastebin

sudo apt-get install pastebinit
sudo apt-get install clipit

* Ctrl-Alt-A
* Edit actions
* Add some name
echo "$(echo '%s' | pastebinit)" | clipit

Now pastebinit should send your clipboards to the default pastebin service and return link to your clip in return, so you can paste it wherever you want (IRC etc).

teisipäev, 4. oktoober 2011

Fix Novell Moonlight for Firefox 6, Firefox 7 (and beyond)

You can easily repack Moonlight to support Firefox 6, Firefox 7 and probably also for later versions. Following uses Ubuntu 11.04 to update Firefox Moonlight addons. Open the terminal and do something like the following (if you want to use 64-bit version, modify the commands accordingly):

wget http://go-mono.com/moonlight/downloads/3.99.0.3/novell-moonlight-3.99.0.3-i586.xpi
unzip novell-moonlight-3.99.0.3-i586.xpi
rm novell-moonlight-3.99.0.3-i586.xpi
rm -r META-INF
gedit install.rdf
Now change maxVersion to support Firefox 6 or 7 (or more). You can set it to * if you are OK with Moonlight crashing when it eventually drops actual compatibility with newer Firefox versions. Save the file and go back to terminal...

sudo apt-get install mozilla-devscripts
xpi-pack . novell-moonlight-3.99.0.3-i586.xpi

The working version should be in your current directory now.

If you don't want to be in control of repacking the addons, you may try the files at:

http://koaala.itcollege.ee/moonlight/

Take care!