BBC R4 PM – Billionaires

Afternoon news and current affairs programme, reporting on breaking stories and summing up the day’s headlines.

GP Media
GP Media
BBC R4 PM - Billionaires
/

New project, file structures and bash!

Every time we start a new project, whether it be a video, 2D graphics or any other creation on a computer, we have to (should 🙂 ) start with a clean folder structure that makes navigating the ever growing number of files easy, or at least relatively easy!

Say I am doing a logo in Inkscape, I’ll create a ‘root’ project folder, that resides in ‘Documents/Graphics/’ lets say it’s called ‘New_Logo’. (Note that I never use spaces).

Within that root folder, I will need others – ‘Assets’, ‘SRC’ and ‘Exports’ that will contain sub folders too. Assets will have ‘Img’ and possibly ‘Inspiration’. I may add others manually too, depending on what other assets I collect.

The SRC (source) folder, or directory may not need any other folders, but if I need to edit an image (from the assets folder) and keep the .xcf file, I may include a ‘GIMP’ folder too.

This is not a difficult task, but it’s still nice if all that is set up quickly and easily, so I can get on with the job in hand.

Enter my latest bash script! Nattily entitled ‘Make_Project_Dirs.sh’.

Double clicking on this file that I now keep in the ‘Graphics’ folder (found in my Documents folder) launches the script and asks me what I want to call my new project and then instantly creates the folder structure. What’s more, as we work from the Desktop, I have it ask me if I want a link on the Desktop too.


Click on ‘Run In terminal’.


Enter the project name.


Decide if I want a link on my Desktop.

The script creates many sub-folders to cover the main types of projects that I do these days, so some may not be needed. I just delete those.

Here’s the code…

#!/bin/bash
#Script to create directory structures for multimedia projects by Peter Green
#Website - https://greenpete.co.uk/
#Version - 1.5
#Date - 16-09-2018 | 17-09-2018
#Licence - Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)
echo "
################################################################################
# Script to create directory structures for multimedia projects by Peter Green #
# Website - https://greenpete.co.uk/ #
# Version - 1.5 #
# Date - 16-09-2018 | 17-09-2018 #
# Licence - Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) #
################################################################################

#################################
# #
# NEW MULTIMEDIA PROJECT! :-) #
# #
#################################

What would you like to call your new project? (No_spaces_please)."
read project_name
mkdir $project_name
cd $project_name
mkdir -p SRC/Audacity SRC/Ardour SRC/Inkscape SRC/GIMP SRC/Scribus Export SRC/Kdenlive Assets/Inspiration Assets/Img Assets/Audio Assets/Rushes
echo "
Your project folder, '$project_name' has been created!"
echo "
Would you like me to make you a link on your Desktop to '$project_name'? [y/n]"
read answer
if [ $answer = y ]; then
ln -s $( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/$project_name ~/Desktop/Link_to_$project_name
else
echo "
Ok, no problem! :-)"
fi
echo "
All finished! Please press enter to close this window."
read

If you want to use this code just copy and paste the code into a file called whatever you want, but that ends with ‘.sh’ and don’t forget to make it executable!

I will probably update it from time to time, so check back if you want the latest version.

I may also play with Zenity too. (Check back for updates).

Zyn-Fusion

Kxstudio has added Zyn-Fusion to their repo’s, what joy!

I highly recommend you try this new gui to Zynaddsubfx, it really is nice!

Screenshot of ZynFusion gui

This latest version of Zynadd’ works as a stand alone synth or as a plugin. It integrates beautifully with Ardour!

If you haven’t installed it already, just ‘apt-get install zynaddsubfx-git’ (assuming you have the Kxstudio repo’s enabled (see my build page).

Build Page Now Populated!

I’m please to see that the KXStudio repo’s came back online this afternoon and so I have published the build information on the Build page.

I haven’t yet tested the published version completely, though it worked for me when installing my development environment, so fingers crossed! I will fully test it in the next day or so.

Please contact me if you find any issues with the information.

About Page Looking Better!

The basic details are now on the about page… yay! 🙂

I have to admit, I struggle with the blurb and wonder if it isn’t way too cheesy and/or over the top. But I have to showcase my little re-spin.

I feel now the website is looking better, I can start to not only add content, but get on with the main job of configuring my re-spin.

But first, maybe another post and that will be about post production of photographs. I always like to do a few little tweaks to images before I use them anywhere, particularly on websites. You can improve an image a lot with very little effort.

 

KXStudio Repo’s Down

KXStudio Repositories Unresponsive

The wonderful KXStudio repositories have been down for a few days now and it seems they’ll be down a bit longer.

According to the Linux Musicians forums, they have been hacked and are trying to restore the systems.

I hope they can get back online ok, and that their packages haven’t been compromised.

Update 2:

The KXStudio repo’s are now back up! 🙂 as of approx’ 03/02/2018 – 15:00hrs.

Update:

It seems all official information about this issue is to be found here.

Jeremy of LinuxAudio.org has announced…

January 29th the linuxaudio.org was compromised. Someone managed to pull in a privilege escalation exploit, probably through a reverse shell and got root. This was discovered by the Virginia Tech IT department and they cut the server off from the network. Their policy dictates that compromised servers have to be wiped and reinstalled. Because we didn’t have an option to try cleaning up things we have to build everything up from scratch again. Since it’s a very small team that keeps this server up (basically 2 persons including myself) rebuilding is going to take some time. Data loss should be minimal as we have backups. So please bear with us, I will keep you posted on the progress.

and…

I’d like to point out that information in this thread on the outage of linuxaudio.org is leading. So please refrain from speculating, thanks in advance!

Current status is that we have access to the current server again so we can start recovering data. Hopefully we can make some good progress this weekend. Priorities are mail and LAC2018 submissions. Then Libremusicproductions.com and kxstudio.linuxaudio.org (including the repo’s). More to come so keep an eye on this thread!

And if there are any questions, PM me on IRC or send me a mail.

 

Linux Media Studio

I've decided that as I am (again) working on a re-spin of my favorite operating system, I would document it in a blog and for two main reasons...

  1. I would like to share the knowledge I have and will gain.
  2. I was so terrible at documenting the process last time I will need to re learn a lot of stuff, and I don't want to have to find out how to do the stuff again and not document it properly another time!

 

What is Linux Media Studio I don't hear anyone say? It's yet another Linux, re-spin. Like we need another one!

Well, maybe we do need another one, as I have been looking for my ideal Multi Media distribution for years, many years and I have never found anything that I like enough to stick with.

This has resulted in me essentially building my own, but without realising it until a year or so ago when I figured rather than have a list of stuff that I needed to do each time I installed my machine, I would 're-master' my system so that I had an .iso to use for the next installation, thus saving me the time I would spend installing, uninstalling and reconfiguring. Not to mention avoiding doubling up on the updates each time.

I would install my Linux distro' of choice and then set to work removing apps I didn't want or need and then installing the ones I did. Getting the look and feel of the U.I. right and my work flow sorted. But then, and this is why I thought about sharing the work I have been doing, the more painful job of getting things to work as they should do.

For instance, 'out of the box', we can get 'xruns' when recording in Ardour, as well as needing to add or selves to the 'audio' group, something not mentioned when you install Ardour. Now I know I can fix this problem, but why was it a problem in the first place I ask? Yes, old hardware didn't help, but the fix is easy, despite requiring we delve into system files.

Then there's Kdenlive. A great video editor, but it comes with a few things missing, and to fill that hole, all you need to do is install one package! Why wasn't this a part of the initial install of the app? NOTE; it appears that the latest release of Kdenlive does include these things, but we don't get the latest release in 'stable' distro's.

There's also Easymp3gain available in the repo's, but relies upon the library 'mp3gain', which is not available in the repo's! I have still to get to the bottom of why this is the case, but I have managed to find and install the library - Thanks Mr M Wimpress!

In this new blog/site, I hope to explain these things as I have figured out many and want to sort out the rest if I can.

I want to make it clear from the start, I am not really looking to distribute my own O/S, not in the long run. The main part of sharing will be to show what I have done and if that's of any interest to people then great, they can take my advice from these pages and apply it to their systems as they want.

But I am hoping that if what I am doing does have some fans, then maybe LinuxMint will consider doing a 'Studio' version of their great O/S them selves.

I will be sharing the O/S in .iso form at some stage, for those that are interested. Hopefully in the next month or so.
The new greenpete.co.uk...

... will be a document of the journey I take (and have already taken) towards getting the Linux distribution that I want and using it along the way.

Screencast videos, blog posts, podcasts, photography, graphics, desktop publishing and anything else I can think of to test out the system and have some fun!

The distro is in its second edition (the first I used purely for my self) and has had it's first build (I'm using it now) but is not ready to go live as yet.

Logo's and other graphics need to be designed and made as well as finishing of the smaller details on the distro'. The latter seems harder than the building!

I do have a prototype of the logo, you can see it in the header.

Please join me! 🙂

A little sneak peek...

A (unusually) clean desktop showing the dock and top placement for the task bar.

A populated desktop.

A populated desktop with app' full screen showing the 100% screen utilisation achieved using 'intelihide' for both the dock and the taskbar.