LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-17-2009, 10:23 AM   #1
channi3
LQ Newbie
 
Registered: Jan 2008
Posts: 7

Rep: Reputation: 0
Question Programming the K-Menu


Hi, I'm starting a project on programming the K-Menu applet within Linux, but I have absolutely no experience on this, I had a few classes with Java, so I'm comfortable with the basics.

So my question is, Where can i find the source code for the K-Menu applet? I've been googling around and only found compiled versions of it (.tar.gz files).

And also, do i just use a simple text-editor to edit the source code, or is there an IDE to do so? I learnt that i can compile the source code using something like JavaC.

Any Help appreciated

Thanks
-Channi3
 
Old 02-17-2009, 10:54 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
I would start on the kde website
http://www.kde.org/
You should find the source code (or a link to it) there.
cheers,
jdk
 
Old 02-17-2009, 05:36 PM   #3
digerati1338
Member
 
Registered: May 2007
Location: CO
Distribution: Ubuntu
Posts: 152
Blog Entries: 1

Rep: Reputation: 18
The .tar.gz is the source code. Binaries would generally have .deb or .rpm. It is called a gzipped tar archive. To extract it, run tar -xzvf source.tar.gz. You will then have a directory containing the source. To compile it, you will use the g++ c++ compiler, or something similar. g++ is usually used on gnu systems. The general way to compile from source is to run
Code:
# ./configure
# make
# make install
You should read the readme packaged with the source to determine if that is correct. Also, you may not want to run the last line if you don't want to install it on your system.

You can use whichever IDE or text editor you'd like to edit source files. I personally prefer emacs.
 
Old 02-18-2009, 12:37 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by digerati1338 View Post
The .tar.gz is the source code. Binaries would generally have .deb or .rpm. It is called a gzipped tar archive. To extract it, run tar -xzvf source.tar.gz. You will then have a directory containing the source. To compile it, you will use the g++ c++ compiler, or something similar. g++ is usually used on gnu systems. The general way to compile from source is to run
Code:
# ./configure
# make
# make install
You should read the readme packaged with the source to determine if that is correct. Also, you may not want to run the last line if you don't want to install it on your system.

You can use whichever IDE or text editor you'd like to edit source files. I personally prefer emacs.
Actually this is not entirely correct. Binaries are often distributed in tar.gz or tar.bz2 format. Check out Mozilla applications (FFx and TBird), ATI proprietary drivers, Adobe stuff, Google stuff and you will find binaries that are packaged not as debs or rpms but in tar.gz/tar.bz2 format. They may also offer packages but there are plenty of cases where they don't. Moral: if the OP talks about a tar.gz file you cannot assume that it's source code.
Cheers,
jdk
 
  


Reply


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
Fresh Install Of Distr From Network - Boot Menu, Need to pull up a menu of OS dist to SupermanInNY Linux - Distributions 0 01-22-2006 12:48 PM
Bash Programming (Create a Menu) Spyiish Programming 5 04-01-2005 04:45 AM
KDE applications menu replaced by Gnome style menu denh0 Mandriva 2 11-24-2003 01:14 AM
I use a GtkItemFactory to make menu,but I want to use a number key to control menu? jiang10000 Programming 0 08-27-2003 03:40 AM


All times are GMT -5. The time now is 06:51 AM.

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