Blender Fox


Ubuntu Edge

#

youtu.be/eQLe3iIMN…

Ubuntu Forums

#
Hello,

You are receiving this message because you have an account registered with this address on ubuntuforums.org.

The Ubuntu forums software was compromised by an external attacker. As a result, the attacker has gained access to read your username, email address and an encrypted copy of your password from the forum database.

If you have used this password and email address to authenticate at any other website, you are urged to reset the password on those accounts immediately as the attacker may be able to use the compromised personal information to access these other accounts. It is important to have a distinct password for different accounts.

The ubuntuforums.org website is currently offline and we are working to restore this service. Please take the time to change your ubuntuforums.org account password when service is restored.

We apologize for any inconvenience to the Ubuntu community, thank you for your understanding.

The Canonical Sysadmins.

Grive & Fedora -- Working

#

Grive is an open source command-line-based sync tool to synchronise a directory with your Google Drive. Grive is not in the Fedora repositories, although it is undergoing review for addition into the repositories.

In the meantime, if you want to use it, I’ve written a script that should pick the latest version from the russianfedora website. Bitbucket repository is here.

Direct link to script: here

Once you install the application, create a blank folder (this will be the sync folder), then run grive -a to request an authentication URL. Go to that URL, log into Google if you need to, and you’ll get a response string you need to copy back into the console window. If the authentication was successful, Grive will sync your files into the folder. Each subsequent time you run Grive, it will download and/or upload files to/from your Google Drive.

There is only one limitation that I’m aware of. Documents created from within Google Drive won’t sync, but if you convert them to odt or doc files, they will sync.

Cloud Storage

#

Gah, I really hate corporate firewalls. They block so many sites it’s sometimes impossible to do any work. I have Cloud Storage accounts with various sites, and can’t access:

However, I can access My main cloud storage is with DropBox because they have a linux-native application for Fedora and Ubuntu. Whilst JustCloud also have a linux application, it's Ubuntu only, so even though I have an account with JustCloud, I can't effectively use it yet on my laptop. But, what I do like is that JustCloud tracks your mobile device once you install the app on it. Similar to the Cerberus app. So you can keep tabs on where it is. Although there's nowhere to hide the app or make it a device administrator, it at least gives you an idea of where to start looking for your device if you can't find it.

Behind my draconian corporate firewall the only one I can effectively use is Google Drive since they haven’t blocked Google, and I doubt they will since it’s probably the de facto search engine for most of the Internet users (although I prefer a metasearch engine like IXQuick.

Concatenating Videos

#

I’ve been cracking my head trying to figure out how to concatenate my dashcam videos, which get chopped by my dashcam into 15 minutes chunks. The most obvious one is ffmpeg, where I would use this:

$ ffmpeg -i “concat:<a class="zem_slink" title="Ls" href="http://en.wikipedia.org/wiki/Ls" target="_blank" rel="wikipedia">ls -l</a> | <a class="zem_slink" title="Grep" href="http://en.wikipedia.org/wiki/Grep" target="_blank" rel="wikipedia">egrep</a> -i "apr\ \ 2" | awk 'BEGIN {ORS="|"} { print $9 }'” -c copy output.AVI

What this does is concatenates all of the videos with a date stamp of April 2nd (the “apr \ \ 2”), sticks a “|” between then, and pipes them to ffmpeg as a parameter:

$ echo ffmpeg -i “concat:ls -l | egrep -i "apr\ \ 2" | awk 'BEGIN {ORS="|"} { print $9 }'” -c copy output.AVI ffmpeg -i concat:PICT0001.AVI|PICT0002.AVI|PICT0003.AVI|PICT0004.AVI|PICT0005.AVI|PICT0006.AVI|PICT0007.AVI|PICT0008.AVI|PICT0009.AVI|PICT0010.AVI| -c copy output.AVI

However, here’s where linux version matters. On Fedora 18, I have ffmpeg V1.0.5:

$ ffmpeg -version ffmpeg version 1.0.5

On Lubuntu 13.10 (Raring Ringtail), I have ffmpeg/avconv V0.8.6:

$ ffmpeg -version ffmpeg version 0.8.6-6:0.8.6-0ubuntu0.12.10.1, Copyright (c) 2000-2013 the Libav developers built on Apr 2 2013 17:07:34 with gcc 4.7.2 *** THIS PROGRAM IS DEPRECATED *** This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.

$ avconv -version avconv version 0.8.6-6:0.8.6-0ubuntu0.12.10.1, Copyright (c) 2000-2013 the Libav developers built on Apr 2 2013 17:07:34 with gcc 4.7.2 avconv 0.8.6-6:0.8.6-0ubuntu0.12.10.1

As a consequence, this is what happens when I run this the ffmpeg line on Lubuntu:

$ ffmpeg -i “concat:ls -l | egrep -i "apr\ \ 2" | awk 'BEGIN {ORS="|"} { print $9 }'” -c copy output.AVI ffmpeg version 0.8.6-6:0.8.6-0ubuntu0.12.10.1, Copyright (c) 2000-2013 the Libav developers built on Apr 2 2013 17:07:34 with gcc 4.7.2 *** THIS PROGRAM IS DEPRECATED *** This program is only provided for compatibility and will be removed in a future release. Please use avconv instead. [avi @ 0x8a8cf80] non-interleaved AVI Input #0, avi, from ‘concat:PICT0001.AVI|PICT0002.AVI|PICT0003.AVI|PICT0004.AVI|PICT0005.AVI|PICT0006.AVI|PICT0007.AVI|PICT0008.AVI|PICT0009.AVI|PICT0010.AVI|': Duration: 00:14:59.96, start: 0.000000, bitrate: 88466 kb/s Stream #0.0: Video: mjpeg, yuvj422p, 1280x720, 30 tbr, 30 tbn, 30 tbc Stream #0.1: Audio: adpcm_ima_wav, 16000 Hz, 1 channels, s16, 64 kb/s Unrecognized option ‘c’ Failed to set value ‘copy’ for option ‘c’

Not to worry, I can always explicitly say what I want to do with the streams:

$ ffmpeg -i “concat:ls -l | egrep -i "apr\ \ 2" | awk 'BEGIN {ORS="|"} { print $9 }'-vcodec copy -acodec copy output.AVI ffmpeg version 0.8.6-6:0.8.6-0ubuntu0.12.10.1, Copyright (c) 2000-2013 the Libav developers built on Apr 2 2013 17:07:34 with gcc 4.7.2 *** THIS PROGRAM IS DEPRECATED *** This program is only provided for compatibility and will be removed in a future release. Please use avconv instead. [avi @ 0x9561f80] non-interleaved AVI Input #0, avi, from ‘concat:PICT0001.AVI|PICT0002.AVI|PICT0003.AVI|PICT0004.AVI|PICT0005.AVI|PICT0006.AVI|PICT0007.AVI|PICT0008.AVI|PICT0009.AVI|PICT0010.AVI|': Duration: 00:14:59.96, start: 0.000000, bitrate: 88466 kb/s Stream #0.0: Video: mjpeg, yuvj422p, 1280x720, 30 tbr, 30 tbn, 30 tbc Stream #0.1: Audio: adpcm_ima_wav, 16000 Hz, 1 channels, s16, 64 kb/s Output #0, avi, to ‘output.AVI’: Metadata: ISFT : Lavf53.21.1 Stream #0.0: Video: mjpeg, yuvj422p, 1280x720, q=2-31, 30 tbn, 30 tbc Stream #0.1: Audio: adpcm_ima_wav, 16000 Hz, 1 channels, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press ctrl-c to stop encoding [avi @ 0x9579d40] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 4551 >= 4551 av_interleaved_write_frame(): Invalid argument

Oh, I guess that didn’t work either. Okay, if ffmpeg isn’t an option, then mencoder is the next option:

$ mencoder -oac copy -ovc copy -idx -o output.AVI ls -l | egrep -i "apr\ \ 2" | awk 'BEGIN {ORS=" "} { print $9 }' MEncoder svn r34540 (Ubuntu), built with gcc-4.7 (C) 2000-2012 MPlayer Team success: format: 0 data: 0x0 - 0x3f4a3440 libavformat version 53.21.1 (external) Mismatching header version 53.19.0 AVI file format detected. [aviheader] Video stream found, -vid 0 [aviheader] Audio stream found, -aid 1 Detected NON-INTERLEAVED AVI file format. VIDEO: [MJPG] 1280x720 24bpp 30.000 fps 12399.9 kbps (1513.7 kbyte/s) [V] filefmt:3 fourcc:0x47504A4D size:1280x720 fps:30.000 ftime:=0.0333 videocodec: framecopy (1280x720 24bpp fourcc=47504a4d) audiocodec: framecopy (format=11 chans=1 rate=16000 bits=4 B/s=8110 sample-256) Writing header… ODML: Aspect information not (yet?) available or unspecified, not writing vprp header. Writing header… ODML: Aspect information not (yet?) available or unspecified, not writing vprp header. ^CPos: 692.7s 20782f (72%) 298.78fps Trem: 0min 1343mb A-V:0.000 [11759:64] Writing index… Writing header… ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.

I cancelled the run, but it seems to work. Strange that ffmpeg is so far behind on Ubuntu. So far behind, in fact, that the -c command fails. But on the plus side, at least mencoder works

Grive: Open Source Google Drive Client For Linux ~ Web Upd8: Ubuntu / Linux blog

#

Grive: Open Source Google Drive Client For Linux ~ Web Upd8: Ubuntu / Linux blog.

If you use Google Drive a lot, this might be a useful tool for you. It provides a form of sync for a folder to and from your Drive.

Left &amp; Right Handed Devices

#

You may recall in my earlier post that I mentioned the GfxTablet project but complained that there was no support for left-handed users, but I just discovered something.

Under Xfce the configuration for Mouse and Touchpad:

Menu_001

Inside the configuration applet, you get to see all the input devices available on your system. On my system, I have the touchpad set as left-handed, because I prefer to work with my mouse buttons swapped (as I’m left-handed).

Mouse and Touchpad_000

However, what you notice is that “Network Tablet” shows up on this list when the service is running:

Mouse and Touchpad_001

 

So, select that, and:

Mouse and Touchpad_002

 

Lo and behold, the Network Tablet is configured as right-handed. Which means that even though my touchpad is configured as left-handed, I can freely use my Android tablet as a graphics tablet without the annoying button switching I had to do before.

Now, I found this in Fedora, but it might also work under Xubuntu.

 

Fedora

#

Official Ubuntu circle with wordmark. Replace ...

The Fedora Project logo

I’ve spent the most part of today (writing this at 11:40pm) installing and setting up Fedora on my laptop, moving over from Ubuntu. It’s always a pain setting up a new OS, and even more frustrating copying files to the new OS. I had over 35GB to copy and these were just work files. No movies, music, or games.

 

Setting up BOINC was a headache too. Finally got it working, but it keeps coming up with an error at loading. But it works, and that’s the important thing. On the plus side, I’ve Bitbucketted the setup script I’ve used so if I have to rebuild, it won’t take me as long next time.