Showing posts with label Programmes. Show all posts
Showing posts with label Programmes. Show all posts

Thursday, 12 February 2015

Wow, been some time and rzip

Wow, forgot how long it's been on here. My little place I keep my hints for myself and any others who get the same issues as me.
Obviously there are less issues with Linux Mint and I've not broken anything enough yet.

Anyway needed to do some compression on files today. Did a search, read a bit and it looks like rzip, from the repository was the one for me. Apparently lrzip is slightly better but I'd started encoding by the time I looked at that and it's just an upgrade to rzip.

So first I install it.

do a : rzip --help   for the info.

 -0            fastest (worst) compression
 -6            default compression
 -9            slowest (best) compression
 -d            decompress
 -o filename   specify the output file name
 -S suffix     specify compressed suffix (default '.rz')
 -f            force overwrite of any existing files
 -k            keep existing files
 -P            show compression progress
 -V            show version

Important notes being without the "-k" it deletes the original file after compression. I may not want that sometimes.

Saturday, 5 April 2014

Opening a graphical program from Terminal

One thing I have had to work out myself as it may seem obvious to many or it may be stated somewhere I've never looked is sudo and gksudo

I've come across errors many times in Terminal such as

IBUS-WARNING

Gtk-WARNING

This I now know is because I was trying to open a programme with a graphical front end from within the Terminal.

I now know if I try to open it as root using the sudo command I need to do it as gksudo. This is to warn the system it is opening a graphical programme which may have other environmental variables it needs to set up which would not be otherwise.


So for example in Terminal and wanting to use gedit (the editing programme) I use from the command line:

$ gksudo gedit

and not

$ sudo gedit


Saturday, 28 September 2013

September: Memes, Music and 2D modelling

September has been quite quiet really. Everything I have wanted to do using Linux Mint I've been able to do easily and quickly.

I've made a few Memes to post for friends. Knocked them up, no problem using "Gimp" and "Pinta" (the Linux equivalent of PaintNet). One thing I didn't realise with "Pinta" though was that you cannot print with it. It just took an extra stage saving the file then opening it with an image viewer and printing it from there.

I've started to use "Clementine" as my music player instead of "Quod Libet" as it seems to be a bit faster, it also has a nice Tag editor built in and a few other options but not too many as to make it bloated and too much. One point with "Quod Libet" also was that it had a few problems associating itself with my various music file types Ogg and MP3. I did fix it but it kept breaking. In the end I just could not be bothered with finding out why as I had discovered "Clementine" by that time and decided to use that.

One other thing I've been messing with over the last month is trying to make 2D plans for some  wooden weathervanes, windmills I wanted to build. Gimp was no good for this so I tried Inkscape the Vector graphics program, thinking it could size things up more accurately. It was too complicated for the casual use I wanted so I moved onto looking at other modelling programs.
Blender the 3D modeller was again just too much as I just wanted a basic 2D plan to print and paste onto wood to be cut out on my bandsaw.
LibraCad hit the sweet spot. Not to over complicated and 2D. It's a bit light on tutorials and help files but I have managed to get some plans drawn on it. Its still a learning curve having done nothing like this since Technical Drawing at school where we had a pencil and a ruler. I think I will improve soon though with a little work. YouTube did have a reasonable set of tutorials but as I said there's a lot missing for the novice like me.

Thursday, 29 August 2013

All in one converter

FF Multiconverter

Converts Video, Documents and Images.

Terminal



sudo add-apt-repository ppa:ffmulticonverter/stable
sudo apt-get update
sudo apt-get install ffmulticonverter




Supported formats:

Audio/Video formats:

aac, ac3, afc, aiff, amr, asf, au, avi, dvd, flac, flv, mka, mkv, mmf, mov, mp3, mp4, mpg, ogg, ogv, psp, rm, spx, vob, wav, webm, wma, wmv
And any other format supported by ffmpeg.

Image formats:

bmp, cgm, dpx, emf, eps, fpx, gif, jbig, jng, jpeg, mrsid, p7, pdf, picon, png, ppm, psd, rad, tga, tif, webp, xpm

Document file formats:
doc > odt, pdf
html > odt
odp > pdf, ppt
ods > pdf
odt > doc, html, pdf, rtf, sxw, txt, xml
ppt > odp
rtf > odt
sdw > odt
sxw > odt
txt > odt
xls > ods
xml > doc, odt, pdf

Sunday, 28 July 2013

My Music Organisation Process

Well I've been organising and converting my music collection, which is a mixed bag of formats. I've tried tidying it up before with mixed success. It's still a bit of a task but it's coming along.

This post is just about the method I've finally settled on and what seems to be working.

The biggest problems I've previously come across are tagging correctly, unknown albums and multiple formats. I've narrowed down the tools I need to cover all possibilities I've come across and built a handy little set that seems to do the job without installing too much stuff I will never use.

These are:

Sound Converter
MusicBrainz Picard
Quod Libet
and the command line tool BinChunker



By using these four tools I have managed to overcome just about every issue I've had. The only thing I have not sorted out is album art. I've not really looked into it yet as my priority was to sort the actual music out for easy access and cataloguing and so stuff will play to my media players around the house.

My first thought was "How am I going to store the files ?". I will be storing everything on an external Hard disc connected to my PC with Mint Olivia running as its operating system. This made my choice of file system to use wide but limited as well. I did some research.

fat16 / fat32 = too old and newer file systems seemed better at dealing with faults.

exFat = This is the system designed with USB sticks (Pen drives or whatever) in mind. It looked modern and what I was looking for but it has a flaw. Linux support is not so good from what I read and the linux drivers are slow. As I will be using Linux machines mostly I don't want search delays and stuttering music. So this option was out.

ext3 and ext4 = My operating system is formatted in this so I thought, why not ? A lot of info (the bits I understand) seemed outdated saying ext4 was untested and stick to ext3. I decided to go the ext4 way.

 On settling with ext4 I started to format an external drive I had using gparted.
I hit a problem. The drive I had was a Western Digital external drive and it would not allow me to write to it after the ext4 formatting unless i was in ROOT. A little investigation showed me the drive uses WD Elements which seems to be an external piece of software held with the driver chip and not on the Hard disc itself. This is there to do various tasks that work very well on a Windows based machine but the WD forums basically leave you on your own as a Linux user. Not being able to bypass this block without spending too much time I abandoned my choice of ext4 and made a new decision.

NTFS = After my previous choice was made too difficult to proceed with I was left with just the one. I did look at a few other systems such as HFS and Reiser4 but each had their minus points that put me off. And so I was left with NTFS, which seemed to be the best option with the equipment I had.

So the external drive was formatted and ready to go. I could now write to it and all was well.

My second decision was how to organise things while I was going through the process of conversion. I decided to put a folder next to my original music folder to store the originals but after I had processed them, to make it easier to distinguish files converted between conversion sessions (we all need a break eh!). This meant at the end of each session I could just move the files over and it would be easy to see where to start again when I came back.

I then made a folder for the converted files on the external hard disc to store these files in.

I used SoundConverter next setting it up to store the converted files in the root of the external drive. I did this so I could check for errors and multiple albums before storing them in the completed folder. SoundConverter has a bulk process option which is why I chose it.



I decided to use ogg as my format to convert to, so all my files would be the same. There are various qualities and formats so I didn't think it would make too much difference and FLAC would be overkill on most. If I was unhappy with the sound quality I could always go back and re-rip the CD's from my collection although this would not be possible with my own recordings from my friends bands gigs obviously.

Any faulty TAGS were altered in Quod Libet as this has a good tag editor or updated in Picard so the file names and tags were correct.



At one point I found a Bin and Cue file which was quickly converted using BinChunker to a set of Wav files which could then be converted and tagged.

So thats how its been working so far.