Saturday, March 5, 2011

M.A.R.S a ridiculous shooter

[youtube]http://www.youtube.com/watch?v=o73TDDfZtjE&feature=player_embedded[/youtube]

http://mars-game.sourceforge.net

Debian packages:
mars-0.6.9-amd64.deb
mars-0.6.9-i386.deb

Thursday, March 3, 2011

Some proprietary Linux software

If it makes you feel better, then by all means, pay for software. Wish there was some way of rewarding developers with something other than cold hard cash. Then they wouldn't feel the need to put up barriers. We've covered ways of doing this before, like Flattr, or the Ransom Model. BTW both applications below are completely out of the price range of people living in the developing world.

Two commercial, closed-source packages which run on Linux:

Softmaker Office 2011

Guitar Pro 6 The linux version is available as a shareware trial.

Gimpbox

Installation and Requirements:

- Gimp 2.6.10 or newer.

- Python

For convenience, designed to install with one command.

sudo wget gimpbox.googlecode.com/hg/gimpbox.py -O /usr/local/bin/gimpbox && sudo chmod +x /usr/local/bin/gimpbox

After that, simply change the menu in the settings menu from gimp-2.6 %U to gimpbox %U

Done, now you have a single window Gimp.

Wednesday, March 2, 2011

Continue downloading flash from /tmp

Since the latest version of adobe flash no longer downloads to /tmp,  it places video in the following folders

in firefox / home / user / mozilla / firefox / userprofile / Cache

in opera / home/user/.opera/cache/g_000X

in chromium / home / user / .cache / chromium / Cache

in chrome / home / tuusuario / .cache / google-chrome / Cache

However,  the problem is that the file is deleted when the player finishes playing the stream. So you do not have time to recover.

If you use JDownloader, you can retrieve some videos to the clipboard by simply copying the URL, JDownloader detect the file type and give you several download options .

However, thanks to Ubuntu Life I found a script that lets you create a link in / tmp pointing to the downloaded video (it has been tested in chromium and firefox). This script could run it directly or use it as a nautilus script Here is the link to the original Russian site which showed the way to accomplish this

#!/bin/sh
#
# Flash Temp Link Creator (by shuairan)
#
# description:
# does what has to be done.
# creates symlinks to the file descriptors of buffered firefox flash videos
# because the good old /tmp/FlashXXXX files are immediatly deleted with new flash player 10.2
#
# use at your own risk ;-D
# support, questions, bugs: twitter.com/shuairan or S.Riedinger@gmail.com


#Delete FlashXXXXXXXX symlinks
for i in $(ls -l /tmp | grep -i 'flash[[:alnum:]]\{8\} -> \/proc\/' | cut -d" " -f14); do
echo "Deleling: /tmp/$i"
rm "/tmp/$i"
done




#create new symlinks
for i in $(pgrep -f libflashplayer.so); do
ls -l /proc/$i/fd/* | grep -io '\/.* /tmp/flash[[:alnum:]]\{8\}' | while read line; do
#echo $line
FDFILE=$(echo $line | cut -d" " -f1)
TMPFILE=$(echo $line | cut -d" " -f3)
echo "Create Symlink: $TMPFILE -> $FDFILE"
ln -sf $FDFILE $TMPFILE
done
done