Collecting thoughts, giving them meaning and having fun while at it

Έτος: 2010 (Σελίδα 5 από 12)

The perfect linux desktop (part 2): Multimedia support

In this post I’ll list and give installation instructions for the media applications that I have found most useful on my Linux Mint desktop. That should cover photo management, video and music.

1. Photo Organizer

Shotwell

Shotwell photo organizer

OK, this may come as a surprise to some, but if I were you… I’d ditch F-Spot! Really, just uninstall it. There’s a much better application that actually works, and it’s called Shotwell!! It is the default photo organizer in Fedora 13.

I really like the Shotwell project, it does what it’s supposed to do, and it does it well. There’s also a very helpful on-line manual.

The fastest way to install it, is either via the package manager, or by firing up a console and typing:

$ sudo apt-get install shotwell

If, however, you want to make sure that you’ll always have the latest version for your distribution, follow the instructions at their website (check the option for Ubuntu), which are, in short, to fire up a console and enter the code below (you can also drag-n-drop the code, from here to the terminal, line by line!!)

$ sudo add-apt-repository ppa:yorba/ppa
$ sudo apt-get update
$ sudo apt-get install shotwell

2. Video Editing

PiTiVi

PiTiVi video editor

To quote their website, PiTiVi is a free, intuitive and featureful movie editor for the Linux desktop.

For a list of features, take a look at this page. It is a fairly new project, but it shows great potential and it is already full featured and fully usable.

In order to install it, you can use the package manager, or just fire up a console and enter:

$ sudo apt-get install pitivi

In case that you want to use the latest beta version (beware, this may break things), you can add the development repository:

$ sudo add-apt-repository ppa:gwibber-daily/ppa
$ sudo apt-get update
$ sudo apt-get install pitivi

3. Video Transcoding & Converting

WinFF

WinFF 1.1.1 for Ubuntu

When it comes to video transcoding, there’s only one choice on my mind – WinFF. To quote their website:

WinFF is a GUI for the command line video converter, FFMPEG. It will convert most any video file that FFmpeg will convert. WinFF does multiple files in multiple formats at one time. You can for example convert mpeg’s, flv’s, and mov’s, all into avi’s all at once.

WinFF has many presets for output targets and it keeps getting better. You can install it using the package manager, but I recommend getting the latest version, following the procedure below (in a terminal):

$ sudo add-apt-repository ppa:paul-climbing/ppa
$ sudo apt-get install winff

This will work just fine for almost everybody. However, in order to get the absolute maximum out of this program, you may need to get the unstripped versions of ffmpeg. These libraries are available at the medibuntu repository (Multimedia, Entertainment & Distractions In Ubuntu). Please note the disclaimer from their website:

Medibuntu is a repository of packages that cannot be included into the Ubuntu distribution for legal reasons (copyright, license, patent, etc), related to geographical variations in legislation regarding intellectual property, security and other issues.

Patent and copyright laws operate differently depending on which country you are in. Please obtain legal advice if you are unsure whether a particular patent or restriction applies to a media format you wish to use in your country.

See Ubuntu’s Free Software Philosophy and the FreeFormats page for a more comprehensive discussion of these issues.

If you decide to add this repository to your system, give the following commands at a terminal and then do a [code]sudo apt-get update; sudo apt-get upgrade[/code]

Replace $(lsb_release -sc) by the corresponding release of Ubuntu in Linux Mint (click here for the Mint name corresponding to each Ubuntu release). For example, if you are using Linux Mint Isadora, replace “$(lsb_release -sc)” with “lucid”:

$ sudo wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update

$ sudo apt-get --yes install app-install-data-medibuntu apport-hooks-medibuntu

4. DVD Ripping

There are three apps that I like for the task of DVD ripping: AcidRip, DVD::Rip and K9Copy!

AcidRip

acidrip

For AcidRip, just go to the package manager and install it, pretty straightforward.

To quote SourceForge:

AcidRip is an automated front end for MPlayer/Mencoder written in Perl, using Gtk2::Perl for a graphical interface. Makes encoding a DVD just one button click!

AcidRip is by far the easiest app for ripping DVDs. It’s main advantage is that, most of the times, in order to encode a DVD into avi, it really only takes one click!

DVD::Rip

dvdrip_clip_zoom

DVD::Rip is an old-school application, at least as far as appearances go. A newbie may easily be intimidated by the user interface, but all in all, it is the most capable ripper. Anything you can imagine that a DVD ripper should do, it does it. You can install it from the package manager.

Just for the fun of it, check out the features list at their website. It’s quite long!!

One final note: in order to get maximum results when handling encrypted DVDs that you have bought and wish to back up, it may do better after you install the library libdvdcss2.

This is a library that you may find at medibuntu, so read the disclaimer and the relevant info further up in the post. You will be able to install libdvdcss2 after you have activated the medibuntu repository.

K9Copy

k9copy_screenshot

Another great application for backing up your DVDs is K9Copy. It is very similar in functionality to the windows program DVDShrink.

You can compress a 9gb DVD so that it will fit on a 4.7gb disk, preserve original menus and even choose which languages or subtitles to back up or leave out. You can also set the output to be an avi or an iso file.

5. CD Ripping

GRip

GRip in action

There’s only one app that I like here: GRip! This is the best app I’ve ever used in order to back up my CDs.

Features list:

  • Full-featured CD player with a small screen footprint in “condensed” mode
  • Database lookup/submission to share track information over the net
  • HTTP proxy support for those behind firewalls
  • Loop, shuffle, and playlist modes
  • Ripping of single, multiple, or partial tracks
  • Encoding of ripped .wav files into MP3 files (as well support for OGG and FLAC)
  • Simultaneous rip and encode
  • Support for multiple encode processes on SMP machines
  • Adding ID3v1/v2 tags to MP3 files
  • Cooperating with DigitalDJ, my SQL-based MP3 jukebox

6. Audio Editing

Audacity

audacity-linux

In my experience, there is no sound editor with so many features, that is so easy to use, at the same time, as is Audacity.

The features list is too long to post!!

7. Music Player & Organizer

Amarok

amarok-2.3.1

For a long time, Amarok (“Wolf” in Native American) had been the only reason for which I had KDE libraries installed on my Gnome machine. Up until 2008. That’s when version 2.0 came out, which I then thought was the worst thing that could happen to the project. Partly because it was completely unusable, partly because I could really not see where the poet was going with it (coding is poetry, right?).

I then tried several other solutions, among which I have to say that Exaile was the next best thing.

Over time, however, Amarok got back on track, and it is now, once again, the only reason for which I keep KDE libraries installed on my Gnome machine.

With Amarok, you will really rediscover your music. Really.

Oh, and by the way, it also has a built-in equalizer!!!

You can install it from the package manager and you’re good to go. However, what kind of geek would you be, if you did not follow the instructions below?

$ sudo add-apt-repository ppa:kubuntu-ppa/backports
$ sudo apt-get update
$ sudo apt-get install amarok
$ sudo aptitude install phonon-backend-xine

In case you have a “need for expeditious velocity”, you can follow the instructions from this excellent post, in order to have Amarok use MySQL as a back-end database. Combined with the embedded help from Amarok itself (in database settings), you get the following example. Replace with your own data and run in a terminal:

[code]sudo apt-get install mysql-server mysql-client[/code]

This will install the database. Make sure you set an administrator password when asked. Then, enter these commands (don’t you just love how efficient the terminal is? :P)

[code]mysql -p -u root
CREATE DATABASE amarokdb;
GRANT ALL PRIVILEGES ON amarokdb.* TO ‘amarokuser’ IDENTIFIED BY ‘password’;
FLUSH PRIVILEGES;
quit[/code]

Finally, fill in the same data in Amarok’s database settings, restart MySQL, then restart Amarok set it to completely rescan the music folder.

Amarok’s functionality can be expanded by scripts. For example, in order to have a nice list of Greek radio stations streaming through Amarok, you can install this script. Just go download and then install through Amarok’s script manager.

Update, November 2010

8. MKV muxer

MKVToolnix — Cross-platform tools for Matroska

Just found out about it, you can follow the instructions here to set it up!!

  • Unlimited video/audio track layers
  • Full undo/redo history
  • Basic clip manipulation
    • Trimming
    • Snapping
    • Splitting/cutting
    • Ripple edits/roll edits
  • Frame stepping, keyboard controls and shortcuts
  • Audio editing
    • Sound mixing of multiple concurrent audio layers
    • Trimming, splitting/cutting
    • Volume keyframe curves
    • Fast audio waveforms
  • Video thumbnails
  • Fast, playhead-centered zooming
  • Mousewheel integration with modifier keys for timeline navigation
  • Scrubbing

Linking/grouping of clips

Enhanced by Zemanta

The perfect linux desktop (part 1): Distribution & Task Bar

It's been a few many years since I started using Linux exclusively, as a desktop OS at home. I started out with the legendary InfoMagic 5-CD set in December 1995. It included Redhat 2.5 and a version of Debian dubbed 1.0 (evidently prematurely so, resulting in the first official Debian project release to be named 1.1 instead of 1.0).

I first used Redhat, then Redhat with Enlightenment, then Mandrake (because it was Redhat with KDE), then Mandriva. I  started using KDE as soon as it came out and stayed with it, but that changed with Ubuntu. I have consistently used Ubuntu with Gnome since 2006, actively participating in user support groups and mailing lists. And then, in 2010, I switched to Linux Mint, for which I also participated in the Greek translation project for release 9, code named Isadora (based on Ubuntu 10.04).

Linux Mint uses Ubuntu's repositories as a base, but it has some unique characteristics, which make it special. MintMenu is one, the package manager and also the Control Center are a couple others… add to that the look & feel, the choice of pre-installed apps,  and the magic of the first impression you get when you boot this OS… Everything just works, and with a lot of finesse, at that! During the first half hour of use, I don't remember how many times I went "ah, at last, someone thought of that"! As an added bonus, you get a very involved and enthusiastic community of users. When you log on to the desktop, you get a pop up window with support links. One of them is on-line support. I only had to use it once, but still I was thoroughly impressed when I got a definitive reply in under 60 seconds!! Maybe it was just luck, but that sealed the deal for me…

So, this first post is going to be very simple. It's just about how to come to this starting desktop screen (click to enlarge):

Stratos' Isadora desktop

First of all, go to the Linux Mint download page and download the version that best suits your system. If your system's memory is 4gb or more, then you may be better off with the 64bit version. Otherwise, go with the 32bit one, usually it runs more smoothly. Mind you, that goes for all distributions and it has to do with 3rd party vendor 64bit support, not Linux itself. And, just to be on the safe side, run the live version on your machine, before actually installing it. That way you'll know beforehand that everything will work after installation.

You'll notice that Linux Mint only has one taskbar, on the bottom of the page, with the amazing MintMenu embedded, which is a good thing. Having only one main taskbar saves some precious vertical space on wide-screen laptops, which is also a good thing. MintMenu is an intuitive, advanced, well organized, feature-rich and easy to use main menu, and you'll never go back once you've tried it  (originally forked from SLAB, the Gnome main menu developed by Novell for Suse Linux Enterprise Desktop). As you can see, I have added a few items to the taskbar, such as "language indicator", "force quit", "tomboy notes", "system monitor", etc. I also removed the window list, since it is embedded in… what comes next:

Now, I do like how streamlined and smooth Linux Mint is, but I also I like my desktop to be just a little bit fancy, so I can't go without Cairo-Dock!! Cairo-Dock, or GLX-Dock, is the king of Linux docks. It started out along with all other similar projects in Linux, which imitated the functionality of… yes, the Mac OS X Dock! And why not? Imitation is the sincerest form of flattery! However, this one really surpassed them all, but that's just my own humble opinion.

So, we want both Mint's taskbar and GLX-Dock, together. GLX-Dock will not waste vertical space, since it auto-hides itself if the active window overlaps it. In the screenshot above, you see the Mint main taskbar on top and GLX-Dock on the bottom.

Second (group of) step(s) is:

Right click on Mint taskbar, hit "properties" and change its position to "top". That was easy.

Now, you can go to the GLX-Dock installation instructions page, on which you will also find some very helpful usage advice. You can spend hours and hours of experimentation and joy, fine tuning GLX-Dock and its plugins, themes and modules, using the very helpful in-line instructions. However, as I have come to realize, the standard setup is just fine. So, you can just follow the instructions to install it from the package manager, and you're good to go!

However, if you are, as I am, an upgrade freak, you can use the weekly repository, which is quite stable, but still cutting edge, so beware (use the instructions for Ubuntu and mind the note for Linux Mint).

Enjoy!

Update November 2010

Linux Mint 10, codenamed Julia is out. Mint continues to be my favorite distribution and Julia has been improved quite a lot. So, the post still holds true.!

Enhanced by Zemanta

Vitamin D3: Drug industry’s best kept secret?

I don’t check site stats very often, so I only recently found that my recent post on Vitamin D3 had drawn quite a few hits on the first post (in Greek) on the subject. However, most hits came from countries where people are not very likely to speak Greek, therefore I decided to rewrite it in English. And here it is:

It looks like vitamin D3 and its attributes is one of the best kept secrets of our time. Why would I say that?

Research on vitamin D3’s effects has been increased over the past 15 years. However, although results have already been produced and advisories have been issued by various Universities and health organizations all over the world, as to the consequences of vitamin D deficiency, the issue still does not seem to receive any particular attention from mainstream channels…

Could this be related to the fact that sufficient levels of vitamin D3 allegedly decrease chances of 17 different kinds of cancer to appear, by 30% to 77%, depending on the case? And also that survival prognosis increases for patients already with cancer? After all, treating a sickness is much more profitable than curing or preventing it, isn’t it?

Don’t get me wrong, I’m not saying that D3 is a cure for cancer; I’m just saying that D3, or the lack thereof, seems to be somehow related to cancer… and many more health conditions, for that matter (Vitamin D Council):

Technically not a “vitamin,” vitamin D is in a class by itself. Its metabolic product, calcitriol, is actually a secosteroid hormone that targets over 2000 genes (about 10% of the human genome) in the human body. Current research has implicated vitamin D deficiency as a major factor in the pathology of at least 17 varieties of cancer as well as heart disease, stroke, hypertension, autoimmune diseases, diabetes, depression, chronic pain, osteoarthritis, osteoporosis, muscle weakness, muscle wasting, birth defects, periodontal disease, and more.

Vitamin D3, aka “the Sun vitamin”, is produced in our skin by exposure to sunlight and UVB radiation in particular. Vitamin D deficiency is more common in populations of northern geographic areas, where they don’t get much Sun. But not only there, since the modern way of life keeps us indoors most of the time and encourages us to avoid the Sun, or pack ourselves with UV sunscreen or sunblock in the summer, for fear of skin cancer. Ever wondered how come cancer seems to be getting almost as common as the common cold? Could this be connected to our societies getting less and less exposure to sunlight?

Levels of D3 in our body can be measured by a simple blood test, called serum 25(OH)D. According to a Harvard University research, 25(OH)D levels should be  around 50 ng/mL or more:

Vitamin D status by blood levels of 25(OH)D*

Vitamin D status25(OH)D in nanograms per milliliter (ng/mL)
DeficientLess than 20 ng/mL
Insufficient20 to 29 ng/mL
Sufficient30 ng/mL or more
Potentially harmfulMore than 150 ng/mL
*25-hydroxyvitamin D3 (vitamin D precursor)
Source: Holick MF. “Vitamin D Deficiency,” New England Journal of Medicine (July 19, 2007), Vol. 357, No. 3, pp. 266–80.

Vitamin D is naturally present in very few foods, but it is also available as a dietary supplement. Currently suggested daily intake of Vitamin D3 is around 400IU, but that really should depend on where you live, the way you live and the amount of sunlight that you get. Most Americans and Europeans would seem to need at least 2000IU to maintain adequate levels of D3 in their blood (combined intake from food sources and dietary supplements, to make up for limited direct exposure to sunlight). People living further north (say, Finland, Sweden, Norway, Canada, etc) may even need 8000 or 10000 IU!

Here are some more external links:

Needless to say, medical advice should be obtained from your doctor before you start taking any food supplements, particularly if you’re pregnant of if you’re facing any health challenge. Also beware of D3 supplements containing Vitamin A and keep in mind that, along with serum 25(OH)D levels, you may also want to monitor PTH (Parathyroid Hormone) and Calcium

« Παλαιότερα άρθρα Νεότερα άρθρα »

© 2025 Stratos' Sphere

Θέμα εμφάνισης από τον Anders NorenΠάνω ↑