My Linux skills have been limited to a basic install, and getting around in the system. I've recently decided to take the O.S. more seriously and become a full time user and more of a Linux hobbyist. This is a place for me to post notes, and other helpful information. The information here is centered around Fedora and KDE but I do post about other GNU/Linux distributions. You can find useful notes, book reviews, tutorials, videos, and whatever else I think will be useful for learning this O.S.
Friday, May 3, 2013
My Amateur Photography: Use Gimp To Turn A Color Photo Black And White And...
My Amateur Photography: Use Gimp To Turn A Color Photo Black And White And...: Here's two tutorials I used to turn a color photo taken on a sunny day into a darker goth style image using Gimp. This is the original p...
Wednesday, April 24, 2013
Format USB Pen Drive With Gparted Linux GUI
I've had a pen drive for a couple years that I use regularly. It always comes in handy, and gets used often. Last night I decided it was time to remove all the data and wipe the drive. I started fumbling around in the command line looking for my USB pen drive and realized that there had to be an easier way to accomplish this task. Then I thought about Gparted. Gparted is a great program to use when you have to re-partition your hard drive or any partitioned device. It's a GUI and works great.
I did a yum search gparted, and found the program in the repositories. I installed the program using yum install gparted. Yum did all the work and gparted was installed. I opened my system folder, found the link for gparted, and opened up the program.
Before you open Gparted you have to plug in your USB pen drive. Once you open Gparted it will ask for your password, and then it will search for any partitions on the system. In the upper right hand corner of the program you want to click on the /dev/sda drop down menu and find your USB pen drive. On my system it was found on /dev/sdb select it by clicking on it. In the main part of the program you will see the partitions listed for your USB pen drive. On mine I had a 3.81 Gib partition, and a 14.23 Mib partition. I'm pretty sure you want to leave the smaller partition alone as this loads the device or makes it recognizable in any system you plug it into. I clicked on the larger 3.81 Gib partition listed as /dev/sdb1 on my system and then clicked on Partition , Format to, Fat 32. And Gparted formated the drive quickly.
If you want the drive to be interchangeable with windows machines I strongly suggest the fat32 format option. That's it, all done, I now have a wiped USB pen drive, all the old data is gone, and I now have a clean USB stick to use again hopefully for many more years to come.
I always use Gparted for any partition work I do on my drive. The program is a really easy to use GUI and once loaded it's almost self explanatory. I'm going to be making some changes to my system soon, and will be using this program for some future projects. I'll be posting more on this fantastic tool in future posts.
I did a yum search gparted, and found the program in the repositories. I installed the program using yum install gparted. Yum did all the work and gparted was installed. I opened my system folder, found the link for gparted, and opened up the program.
Before you open Gparted you have to plug in your USB pen drive. Once you open Gparted it will ask for your password, and then it will search for any partitions on the system. In the upper right hand corner of the program you want to click on the /dev/sda drop down menu and find your USB pen drive. On my system it was found on /dev/sdb select it by clicking on it. In the main part of the program you will see the partitions listed for your USB pen drive. On mine I had a 3.81 Gib partition, and a 14.23 Mib partition. I'm pretty sure you want to leave the smaller partition alone as this loads the device or makes it recognizable in any system you plug it into. I clicked on the larger 3.81 Gib partition listed as /dev/sdb1 on my system and then clicked on Partition , Format to, Fat 32. And Gparted formated the drive quickly.
If you want the drive to be interchangeable with windows machines I strongly suggest the fat32 format option. That's it, all done, I now have a wiped USB pen drive, all the old data is gone, and I now have a clean USB stick to use again hopefully for many more years to come.
I always use Gparted for any partition work I do on my drive. The program is a really easy to use GUI and once loaded it's almost self explanatory. I'm going to be making some changes to my system soon, and will be using this program for some future projects. I'll be posting more on this fantastic tool in future posts.
Labels:
format,
gparted,
gui,
partitioning,
partitions,
software,
tools
Tuesday, April 23, 2013
CLI List All USB Devices From The Command Line
lsusb is a great command to list all the USB devices on your computer in Linux. If you have Linux-kernel-2.3.15 or newer just open up your favorite terminal program and type lsusb
lsusb -v is verbose
man lsusb man page
lsusb -v is verbose
man lsusb man page
Sunday, April 21, 2013
Convert flv clips to mpg and Combine To Make One Long Video.
I had a ton of flv files on my computer and I decided I wanted to convert them to mpg files and then combine them to make a large compilation video. Each video was approximately 5 to 15 minutes in length and I wanted one complete video that ran a little over an hour. Here's what I did.
I found two programs that run from the command line that were perfect for the task at hand. The first program I found was FFmpeg, this program is capable of taking the flv file and converting it to mpg or avi, and I think a couple other formats as well. The other useful program I found was mpgtx, this program is capable of taking multiple mpg files and then combines them to make one giant video file.
It's important to note both these programs have other uses, and I'm barely scraping the surface of what these programs are capable of with this post. However, if your looking to accomplish the same type of project this short post should at least get you headed in the right direction.
Using Fedora I downloaded both programs using yum.
su
yum install ffmpeg
and then
yum install mpgtx.
Yum found the programs, found the dependencies, and installed with no problem. I believe both these programs are also available at sourceforge.net
I then created a directory in my Videos folder and named it project, I copied my flv files that I wanted to work with to that directory. Then using Konsole I went to that directory.
cd username/Videos/project
I then attempted to convert the files with ffmpeg. The first attempt I made was using the basic commands and settings. The program worked great but the video was a bit grainy. FFmpeg is very verbose while it converts the files so I looked at the files pixel size, and then decided to do an exact copy of the video and sound which fixed the image quality but made the video choppy. I then did a bit of research and settled on :
ffmpeg -i filename1.flv -target ntsc-dvd -b 2000k -acodec mp2 -ar 22050 -ab 64k -aspect 4:3 filename1.mpg
For the sake of not writing a dissertation on this program I'll add some links at the bottom as to the different commands and attributes and you can do your own research. The above command however really took care of my problem. The video was converted to about the same quality as the original, no more skipping in frames, and the sound quality seemed perfect. After this I took about nine flv files and simply repeated the above process with each one.
Now that I had the flv files all converted I then used mpgtx to combine them into one video. This couldn't of been easier. I simply used the following command and mpgtx did the rest.
mpgtx -j filename1.mpg filename2.mpg filename3.mpg filename4.mpg filename5.mpg filename6.mpg -o yourOutputFilnameHere.mpg
This combined all the 5 to 15 minute clips into a 1 hour and 7 minute video. There was no reduction in quality that I noticed and overall I was very pleased with the end result of this project.
As I stated earlier I could write a dissertation on the use of these two programs. This post was not meant to be a tutorial but simply a review of the programs, the basics of how they work, and a review of the basic research I did to make the programs do what I wanted for this particular project. For more information on these programs and all they have to offer you can check out the following links.
mpgtx http://mpgtx.sourceforge.net/#Examples
ffmpeg http://howto-pages.org/ffmpeg/
The above links were the two that I found most useful. There is a ton of information all over the web about these two programs so feel free to do your own research. I plan on learning a lot more about these two programs and will probably be adding some more information and tutorials about these programs to the blog.
I found two programs that run from the command line that were perfect for the task at hand. The first program I found was FFmpeg, this program is capable of taking the flv file and converting it to mpg or avi, and I think a couple other formats as well. The other useful program I found was mpgtx, this program is capable of taking multiple mpg files and then combines them to make one giant video file.
It's important to note both these programs have other uses, and I'm barely scraping the surface of what these programs are capable of with this post. However, if your looking to accomplish the same type of project this short post should at least get you headed in the right direction.
Using Fedora I downloaded both programs using yum.
su
yum install ffmpeg
and then
yum install mpgtx.
Yum found the programs, found the dependencies, and installed with no problem. I believe both these programs are also available at sourceforge.net
I then created a directory in my Videos folder and named it project, I copied my flv files that I wanted to work with to that directory. Then using Konsole I went to that directory.
cd username/Videos/project
I then attempted to convert the files with ffmpeg. The first attempt I made was using the basic commands and settings. The program worked great but the video was a bit grainy. FFmpeg is very verbose while it converts the files so I looked at the files pixel size, and then decided to do an exact copy of the video and sound which fixed the image quality but made the video choppy. I then did a bit of research and settled on :
ffmpeg -i filename1.flv -target ntsc-dvd -b 2000k -acodec mp2 -ar 22050 -ab 64k -aspect 4:3 filename1.mpg
For the sake of not writing a dissertation on this program I'll add some links at the bottom as to the different commands and attributes and you can do your own research. The above command however really took care of my problem. The video was converted to about the same quality as the original, no more skipping in frames, and the sound quality seemed perfect. After this I took about nine flv files and simply repeated the above process with each one.
Now that I had the flv files all converted I then used mpgtx to combine them into one video. This couldn't of been easier. I simply used the following command and mpgtx did the rest.
mpgtx -j filename1.mpg filename2.mpg filename3.mpg filename4.mpg filename5.mpg filename6.mpg -o yourOutputFilnameHere.mpg
This combined all the 5 to 15 minute clips into a 1 hour and 7 minute video. There was no reduction in quality that I noticed and overall I was very pleased with the end result of this project.
As I stated earlier I could write a dissertation on the use of these two programs. This post was not meant to be a tutorial but simply a review of the programs, the basics of how they work, and a review of the basic research I did to make the programs do what I wanted for this particular project. For more information on these programs and all they have to offer you can check out the following links.
mpgtx http://mpgtx.sourceforge.net/#Examples
ffmpeg http://howto-pages.org/ffmpeg/
The above links were the two that I found most useful. There is a ton of information all over the web about these two programs so feel free to do your own research. I plan on learning a lot more about these two programs and will probably be adding some more information and tutorials about these programs to the blog.
Labels:
cl,
cli,
ffmpeg,
mpgtx,
programs,
review,
software,
software review,
video,
video editing,
working in konsole
Tuesday, April 9, 2013
Cooking With KDE - Krecipes software review.
Like to cook ? Use KDE ? This a great application and way to keep all your recipes organized and in one place.
Taken from Productivity Monday, daily package Fedora book.
Krecipes is a KDE recipe manager. It will store, search for, and re-size recipes, rate their nutritional content, and manage shopping lists. Recipes can be stored in plan files for personal access, or in MySQL or PostgreSQL databases for shared access (or very large recipe collections). You can select recipes based on nutritional requirements or ingredients-on-hand, and you can also generate a shopping list from a group of recipes with items added or removed to suit your needs.
This is a really great GUI program to store all your recipes in one place. The program sorts everything for you, placing recipes in different categories like pasta, desserts, meat, main course, etc, etc. and even has a little thumbnail picture of what you will be cooking. If you download the U.S.D.A. nutritional database, it even breaks down all the nutritional facts of the dish your cooking, how much fat, amount of sodium, calories, and more. I thought this program was great, and here's my review.
So I downloaded the program using yum install krecipes. At the time of this writing the program was krecipes-1.0-0.2.beta2. I was a bit hesitant with it being beta but went ahead with the install anyway. Yum, found all the dependencies, downloaded the program, and installed everything with no problems. I went to application launcher and found the program in the utilities menu, click the icon and the program asked if I wanted to install the U.S.D.A. nutritional database. Why not, I clicked yes, a small progress window popped up and it took about 20 - 25 minutes for krecipes to download and configure everything. I was at work, and my work connection is pretty fast, so if you have a slow connection, this part of the install might take some time. Just a heads up on that. I have to say though, it was really worth the wait. When you get done entering the recipe, and view it in the program, Krecipes shows you the nutritional value of what you will be consuming. I thought this was a really great feature, and perfect if you're cooking for a diabetic, or someone who has to keep track of their salt and fat intake, or a calorie counter.
Entering the recipe couldn't of been easier. Everything's point and click and very easy to follow. Simply click on File, New Recipe, and a window pops up with some tabs for each category like, title, ingredients, instructions, and there's even a tab to rate it. There's even a place to add a thumbnail image of the dish you're cooking.
All the information is stored in a sqlite3 database, and if you're like me and backup everything, just click, Settings, Configure Krecipes, and there's a link to the database file. I uploaded mine to my cloud backup, and also added it to my backup files on my portable drive. Everything about this program was very easy to use. The only thing I configured myself was adding another folder in the program directory to store the thumbnail images, and that really isn't necessary but I'm a bit anal and like to keep things all in one place. You could just make a folder in your pictures directory and name it food thumbs or whatever.
All in all I thought this was a really great program. I cook for someone who has some health issues and the nutritional database is really helpful. I just can't say enough good things about this program. It was easy to install, easy to use, and if you cook and keep recipes on your computer, I strongly suggest downloading this program and giving it a try. I give this program five out of five penguins !
Find out more here, and the program is also available at sourceforge.com here.
Taken from Productivity Monday, daily package Fedora book.
Krecipes is a KDE recipe manager. It will store, search for, and re-size recipes, rate their nutritional content, and manage shopping lists. Recipes can be stored in plan files for personal access, or in MySQL or PostgreSQL databases for shared access (or very large recipe collections). You can select recipes based on nutritional requirements or ingredients-on-hand, and you can also generate a shopping list from a group of recipes with items added or removed to suit your needs.
This is a really great GUI program to store all your recipes in one place. The program sorts everything for you, placing recipes in different categories like pasta, desserts, meat, main course, etc, etc. and even has a little thumbnail picture of what you will be cooking. If you download the U.S.D.A. nutritional database, it even breaks down all the nutritional facts of the dish your cooking, how much fat, amount of sodium, calories, and more. I thought this program was great, and here's my review.
So I downloaded the program using yum install krecipes. At the time of this writing the program was krecipes-1.0-0.2.beta2. I was a bit hesitant with it being beta but went ahead with the install anyway. Yum, found all the dependencies, downloaded the program, and installed everything with no problems. I went to application launcher and found the program in the utilities menu, click the icon and the program asked if I wanted to install the U.S.D.A. nutritional database. Why not, I clicked yes, a small progress window popped up and it took about 20 - 25 minutes for krecipes to download and configure everything. I was at work, and my work connection is pretty fast, so if you have a slow connection, this part of the install might take some time. Just a heads up on that. I have to say though, it was really worth the wait. When you get done entering the recipe, and view it in the program, Krecipes shows you the nutritional value of what you will be consuming. I thought this was a really great feature, and perfect if you're cooking for a diabetic, or someone who has to keep track of their salt and fat intake, or a calorie counter.
Entering the recipe couldn't of been easier. Everything's point and click and very easy to follow. Simply click on File, New Recipe, and a window pops up with some tabs for each category like, title, ingredients, instructions, and there's even a tab to rate it. There's even a place to add a thumbnail image of the dish you're cooking.
All the information is stored in a sqlite3 database, and if you're like me and backup everything, just click, Settings, Configure Krecipes, and there's a link to the database file. I uploaded mine to my cloud backup, and also added it to my backup files on my portable drive. Everything about this program was very easy to use. The only thing I configured myself was adding another folder in the program directory to store the thumbnail images, and that really isn't necessary but I'm a bit anal and like to keep things all in one place. You could just make a folder in your pictures directory and name it food thumbs or whatever.
All in all I thought this was a really great program. I cook for someone who has some health issues and the nutritional database is really helpful. I just can't say enough good things about this program. It was easy to install, easy to use, and if you cook and keep recipes on your computer, I strongly suggest downloading this program and giving it a try. I give this program five out of five penguins !
Find out more here, and the program is also available at sourceforge.com here.
Labels:
apps,
cooking,
kde,
krecipes,
organization,
programs,
review,
software,
software review
Sunday, April 7, 2013
The Linux Experience: My Current Setup: Distros
The Linux Experience: My Current Setup: Distros: I mentioned recently that I am no longer confortable with switching distros day in and day out. I have settled with a few things I love and...
Subscribe to:
Posts (Atom)