Page 1 of 3 123 LastLast
Results 1 to 10 of 28

Thread: Starting Front End From Scratch

  1. #1
    Newbie
    Join Date
    Jul 2005
    Posts
    44

    Starting Front End From Scratch

    I'm very new to the linux system but I understand how the file system works and other absolute basics. I've decided that I'm going to program a complete front end from scratch as a project for myself. Don't worry - I have lots of time on my hands to complete it.

    What I'm having major difficulties in understanding at the moment is how to go about making the front end GUI. I will/have been learning C at uni so i know enopugh of that to write a "hello world" script at the moment. Preferrebly would like to program in C as its more familiar to me than other things like perl and python. Is it possible to make a frontend GUI without running a nix desktop program like GNOME or X or whatever its called.

    What suggestions for distro and language do you have??? Any links to places that can help me decide for myself? No information i've come across makes sense to a newbie like myself.

    I basically want the front end to just be able to play mp3's and have a media library - no movie playback - no GPS etc etc - although i'd like to possibly update it late with power window controls etc etc

    Any help is greatly appreciated

    Spuzzdawg

  2. #2
    FLAC SnyperBob's Avatar
    Join Date
    Nov 2001
    Location
    Illinois
    Posts
    1,162
    Good luck man - sounds like you're going to have a ton or learning and growing to do as a programmer. I've done a super small amount of programming in Linux, so I can't offer any suggestions.

    I just wanted to wish you well - and can't wait to see some results.
    www.mobile-effects.com

    Free file hosting, picture gallery hosting for installs, PM me.

    Internet's first Front End Skin browser, featured installs, downloads, links, informative articles - all free to registered users.

  3. #3
    Newbie
    Join Date
    Oct 2004
    Location
    Colorado, USA
    Posts
    17
    Check out DirectFB (www.directfb.org) for GUI without X. It is a C API, so that will fit right in with your desired language.

    --m

  4. #4
    Newbie
    Join Date
    Jul 2005
    Posts
    44
    Direct FB looks good but it seems to be very limited in the hardware that it supports and i don't think i can guarantee that the computer i use to program my frontend and the car pc are compatable with it.

    Does QT require a windowing system to be running?

  5. #5
    Newbie
    Join Date
    Jan 2006
    Location
    NJ
    Posts
    8
    "X" is a gui server.
    "Gnome" and "KDE" are window managers, i.e. how the "X" gui looks to you as the user.

    I've been experimenting in this area as well, even though I'm a clueless Linux monkey... and I found "glade" and "glade2" to be interesting to play with, as far as making a gui.

  6. #6
    Newbie
    Join Date
    Jul 2005
    Posts
    44
    So does that mean that its possible to have X running but not something like Gnome which means that i could program my own GUI without having a desktop and all that???

    A little confused as to how it all works

  7. #7
    Newbie
    Join Date
    Jun 2003
    Posts
    35
    Quote Originally Posted by spuzzdawg
    Direct FB looks good but it seems to be very limited in the hardware that it supports and i don't think i can guarantee that the computer i use to program my frontend and the car pc are compatable with it.

    Does QT require a windowing system to be running?
    I second the vote for DirectFB, the api is not bad at all to learn, and there are several tutorials to get you going.

    The acceleration is hardware dependent, but DirectFB also supports hardware generically using VESA (without acceleration). I believe pretty much most any video card available today supports VESA. The way the software works is it uses the framebuffer, which, as I understand it, means it writes directly to video card RAM, and makes calls to the video card cpu to execute drawing, etc.

    There are a couple other framebuffer api's available, such as SDL. Do a search on framebuffer. A version of QT is supported as well, I believe. X has several features that may not be as useful for an in-vehicle application.

  8. #8
    FLAC TheLlama's Avatar
    Join Date
    Jul 2004
    Location
    All over the world
    Posts
    970
    spuzzdawg: I am working on a GUI Toolkit that runs on X, Windows, DirectFB, and VFD screens. It's been under development for around a year. The backend is very solid and I'm currently working on adding more widgets and doing more testing. You may want to consider using it. You could use QT or Gnome, but you will be forced to run X. If you don't want to run X then (currently) you have to do the gui from scratch. A TON of work..

    Writing a media player is not as straightforward as it sounds. A frontend is a bit easier. But still, if you can only do a "hello world" program (and basic logic) then there is still alot of learning to do.

  9. #9
    Newbie Zimans's Avatar
    Join Date
    Jan 2006
    Posts
    38
    Not that i'm promoting Qt. (I'd go DirectFB), but there is an embedded version that will run on a framebuffer. So no X.

    --Zims
    --------------------------------------------------------------------------------
    Now, Where are my Pants?

  10. #10
    Newbie
    Join Date
    Oct 2004
    Location
    Colorado, USA
    Posts
    17
    Quote Originally Posted by spuzzdawg
    So does that mean that its possible to have X running but not something like Gnome which means that i could program my own GUI without having a desktop and all that???

    A little confused as to how it all works

    Yes actually, your front-end could be the only application running, and therefore would not need a window manager...ie, if there are not multiple windows to manage there is not a true need for a window manager.

    --m

Page 1 of 3 123 LastLast

Similar Threads

  1. 100% Plugin based Front End
    By custardbomb in forum Software & Software Development
    Replies: 19
    Last Post: 10-07-2005, 01:17 AM
  2. Searching for the right Front End
    By ninjatill in forum Newbie
    Replies: 9
    Last Post: 09-10-2005, 03:47 PM
  3. which front end for no touch screen?
    By turbochris in forum Newbie
    Replies: 4
    Last Post: 08-30-2005, 10:59 AM
  4. This is an awesome front end, and here is why:
    By WhiteRabbit in forum NeoCar Media Center
    Replies: 47
    Last Post: 08-27-2005, 10:43 PM
  5. need a front end that runs at 640x480 ...
    By mattress in forum Software & Software Development
    Replies: 5
    Last Post: 06-09-2005, 04:44 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •