Startup Genymotion from CLI, resize and move it

My OpenGL for my graphics has been broken for a few weeks, and I have been missing using Genymotion for my AppInventor emulator. Finally fixed the graphics (another story) and Genymotion working once again. Would like a working environment on just one desktop, so need to resize the stock setup for Genymotion and move it over to the right. Here is a little bash script that does the lot: Continue reading

Thunar Custom Action – Add Filepath to Clipboard

This should be fairly straight-forward, but it isn’t.

We are going to use xclip as this takes the bash output and makes it available for X applications

There are also two variants depending upon which clipboard (there are 3!) you want

For the SECONDARY clipboard (the one that works with CTRL+C/CTRL+V or Right-Click and Paste)
enter the following in the command box for your custom action:

echo -n %f | xclip -selection c

For the PRIMARY clipboard (the one that only works if you Middle-Click your mouse)
enter the following in the command box for your custom action:

echo -n %f | xclip -i

Encoding for youtube

I can never seem to get it right. These two links offer some respite:

Ffmpeg Wiki

Re-encode the video and stream copy the audio. The output should be a similar quality as the input and will hopefully be a more manageable size.

Same as above, but also re-encode the audio instead of stream copying it:

Create a video with a still image (input.png) and an audio file (audio.ogg):

Jernej Virag

Bunsenlabs Linux



Just sending out some love to the developers of Bunsenlabs Linux, who over the last year or so have raised Crunchbang Linux from the ashes.

If you like minimalist
If you like openbox
If you like the command line
If you like Dark
If you like speed
If you like lightweight (on your system, not “a lightweight”)
If you like getting new life out if older machines
If you like control
If you like debian
If you like getting on with your apps not fighting your OS
If you like Linux
If you like freedom

You will like Bunsenlabs Linux

Virtualbox Fullscreen Greyed

Every now and then I have a problem after installing a new OS in virtualbox. All goes well until I head for fullscreen (RCTL+F)

It goes fullscreen, it works but the screen is greyed over, to @ half the brightness. Others have reported a black screen.


Go in to the Settings > User Interface section of your VM from the Virtualbox main screen

Untick Mini Toolbar and Save

Fullscreen should now work :)

Grab BBC News Videos with a Bash Script

A colleague asked me the other day if I could download a video clip from the BBC News website so that she could use it in her training course (to save having to load up the website and play it “live” from there!)

I said anything is possible 😉  Took me on a little journey but finally found a way without having to resort to any browser plugins or switching to Windows to download a video grabber program. Decided to write a bash script to pull all the elements together too :) Continue reading

Xubuntu 15.04 Upgrade Issues

Just upgraded to Xubuntu 15.04, found a few gotchas!

1. Had to recompile ffmpeg because libass4 was replaced by libass5.

2. Thunar no longer by default shows the “Execute” option when right (double) clicking shell scripts.

You have to run this command then restart Thunar

3. EasyMp3Gain has been removed from the repos due to a security flaw.

Recommended to install python-rgain instead:

runs with:

No doubt will find a few more as time goes on.