Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 04-02-2003, 02:36 PM   #1
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Rep: Reputation: 38
Looking for tutorials / books (first-time developer)

I've worked a lot with PHP and web-related scripts/langs but here is the new project i'd like to begin.

When I was showing my father how to burn a CD, it was rather confused (we used GnomeToaster). I looked at the other burning front ends and I didn't like those either (well, he didn't). His big thing was wanting to burn Audio CDs and the interfaces these front ends supplied jsut weren't cutting it and I myself could use a better looking app. (yes, im all about the looks too).

So this is what I'd like to do; I'd like to create a front end to cdrecord using GTK (im a faithful Gnome user) also interfacing with ogg/mp3 libs to do decoding but I have a few questions before im even capable of doing some decent planning.

Fist, more times then not, applications are writtne under C. for a simple front end, would C do me good? I was told PHP is similar to C (as basic style, i understand there differences). Now for the widgets / graphics n such.. or more so the 'interface' itself would require GTK. I understand what GTK is (somewhat) but on the developers side, are these libraries you interface with, within your C code? what languages cna take advantage of GTK?

Now.. assuming I get all this covered, anyone have a decent book/site/tutorial on beginners app development for GNU/Linux? I've only worked on web-realted software. So the 'file structure', compiling, etc. is rather blury to me. As an end user I can compile and understand whats what but developer side is completely new (perhaps it's the same, but this i do not know.

Thank you. I sound newbish but I have good intentions
Old 04-02-2003, 03:15 PM   #2
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Original Poster
Rep: Reputation: 38
alright - been reading the Gnome Developers site...

I think starting off with a Hello World window would be a MUCH better choice ATM I saw a GTK book at the local bookstore but it's on 1.2 er something - any recommendations?
Old 04-02-2003, 03:31 PM   #3
Dave Skywatcher
Registered: Feb 2003
Distribution: Debian
Posts: 127

Rep: Reputation: 16
I have no experience with GTK myself, but I did an Amazon search for "gnome programming", and it looks like there are quite a few good books on the subject. The focus will be C and/or C++ programming with the GTK+ libraries.
Old 04-02-2003, 04:15 PM   #4
Registered: Sep 2002
Location: Canada
Distribution: Redhat 9.0
Posts: 637

Rep: Reputation: 30
GnomeToaster is the best for burning data and music cd's. As far as I know you put in the cdr or cdrw and blank the cd / clear disk, than you add / drag the files off of your file system list, and drop them onto the area with the 'Folder', and than select the disk button and press record, which burns the cd. I tried to use xcdroast and didn't have any luck. What a piece of garbage with no useful instructions.

If you want to burn ISO images than you can use cdrecord on the command line:

cdrecord -v -speed=4 -dev=0,0,0 filename.iso

You don't need to blank the cd or anything. Find the correct codes for -dev by first running: cdrecord -scanbus

At any rate, what I'm getting at is that there are really two programs that these applications are fron ends for, one is cdrecord and the other is mkisofs which makes the file system on the cd. So it's not just cdrecord by itself.

Get a book on GTK like the Sams book or any one of the others. The Sams book appears to be decent, but than learn off of the actual website for the most up to date tutorials and class listings < >.

Last edited by GtkUser; 04-02-2003 at 05:11 PM.
Old 04-02-2003, 09:22 PM   #5
Registered: Jan 2003
Distribution: LFS
Posts: 90

Rep: Reputation: 15
ty for your replies.

I think a trip to the book store is needed and I found lots of info at and (ty for gtk's url) I will study. I jumped way ahead of myself here nad wish i could retitle this theard: "hello world - GTK+ development n00b"

First the window, THEN cdrecord/mkisofs front end
Old 04-03-2003, 03:50 PM   #6
LQ Guru
Registered: Feb 2003
Location: Mineral, Virginia
Distribution: Debian 8
Posts: 7,876

Rep: Reputation: 318Reputation: 318Reputation: 318Reputation: 318
learning C

I think that your first task in your CD program is to learn C.

First you need a book on learning to program in C. The book that I learned on has disappeared years ago. Perhaps some of the college students on the forum can recommend a good beginning C textbook.

The next two books that I recommend for your project are:
Linux Programming Unleashed, published by Sams
GTK+ Programming in C, written by Syd Logan

To change the subject: One of the beauties of Open Source is that people do not have to continually rewrite programs from scratch. Rather than writing a CD burn program from scratch, I suggest that you select one of the existing programs and improve it. You can save a lot of time by building on top of existing code.
Old 04-09-2003, 12:00 PM   #7
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
here is a nice site with links to free programming books and tutorials (under 'languages'):
Old 04-10-2003, 11:59 AM   #8
Registered: Aug 2002
Posts: 105

Rep: Reputation: 15
Did you check out GLADE?

you may also want to check out

check out their GTK howto section.

hope this helps
Old 04-10-2003, 10:54 PM   #10
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Original Poster
Rep: Reputation: 38

Old 04-11-2003, 12:38 AM   #11
Senior Member
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Blog Entries: 1

Rep: Reputation: 45
Originally posted by bkeating


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Great linux tutorials and books johnleeryan Linux - Newbie 7 12-26-2004 03:11 PM
How to become a Linux Developer yhlai Linux - Newbie 7 11-30-2004 09:45 PM
Programming in Java, looking for a good place on the web for tutorials or books.... jmax24 Programming 3 04-18-2004 04:18 AM
QT developer chichibabin Programming 3 10-10-2003 06:42 AM
looking for programming tutorials / books, etc markus1982 Programming 18 03-12-2003 04:33 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration