Is it solid enough?
I finally started pursuing my long-awaited desire to learn KDE libraries. As a matter of fact, I learned Qt because I wanted to code for KDE. But hey, here I am, kind of doing it after 1 year. Anyhow, let’s get straight to the point, I wanted to talk about Solid a little bit. If you don’t know what Solid is, take a look at http://solid.kde.org. In a nutshell, it’s a library which let’s you interact with the hardware. For example, with Solid you can find out if the system has webcam or not, if it has storage drives, and if it does, what kind are they, and plus, if you find the right hardware, you can do ’stuff’ with it, like in case of storage drives, you can mount it and unmount it.
So, enough with the introduction. What I really want to talk about is how awesome Solid is. I will give you an example. Last night, I started reading the Solid documentation from techbase.kde.org and I looked at the tutorials. I started reading them at about 7pm and finished at around 8. As soon as I finished reading the tutorials I was able to write a simple app which looks and finds the memory stick that is attached to the computer. It was absolute mind-blowing for me! I never thought I could do that kind of stuff! But today, I sat down (literally for hours and hours) and wrote a backup app, and I called it KBackedUp. For the actual backing up, it uses a script (http://code.google.com/p/backed-up) as its backend, so it doesn’t do the actual backing up, but it doesn’t the rest.
In the mean time, I also learned about QProcess and KDEUI libraries (KXmlGuiWindow is plain awesome) which I might talk about later. But for now,
Happy holidays!
backed-up 0.1 released
Backed-up…first time I’m hearing this name!!! It’s because I just made it up. Yes, I released the backup script I’ve been using for months now. At first, it was just for personal use, specifically made to work with my desktop and laptop. So I thought it would do good to some other people like me, as it helped me a lot and saved me a lot of time!! So, here it is, called backed-up and this is the project URL hosted by google code:
http://code.google.com/p/backed-up/
hope you enjoy it
and of course, comments and suggestions and most definitely patches, are very welocme!!
Ps. and because this is the first software I’ve release in my life (yayy milestone!) I would really appreciate it if someone out there would explain to me how I can create and apply patches!
Linux Life-saver(tm)
I recovered yet another fatally crashed computer with a linux live cd and yet the term Linux Life-saver(tm) given to that Fedora live-cd!! and the credit goes to that specific cd!! My friend called me, worried about his just-uploaded video files. And he didn’t have any other copy. Using some weird program he wanted to optimize his computer, and his computer crashed with the next restart. So he called me, and I told him put your fedora live cd in and boot your computer with that. Then we recovered his files with ntfs-3g (now the credit goes to developers of this utility). So I thought I would post it here on how we did it, very simple.
1) restart your computer with any linux live cd ( really, all of them would work )
2) install ntfs-3g and ntfs-config. In fedora:
$ su -c ‘yum install ntfs-3g ntfs-config’
3) GNOME: go to System > Administration > ntfs configuration tool
KDE 3.5: Kmenu > System > ntfs configuration tool
KDE 4: Alt+F2 ( run command ) and search for ntfs and click on ntfs configuration tool
4) it gives you some choices of HDDs. check the one you want to enable and click on Auto configure
5) fire up a file manager and put into your computer a cd, or even better, a USB disk and start moving your files and backing up your windows drive!