LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-30-2009, 09:50 AM   #1
naveen76
LQ Newbie
 
Registered: Oct 2009
Location: The Netherlands
Distribution: Windows SuSE Debian Ubuntu
Posts: 8

Rep: Reputation: 0
Framebuffer selection menu


I am looking for a menu in vga=785 ( 640x480x256 ) what can display a specified background and 3 icons that can start applications. Anyone know where i could get it. or can place a small sample code where i can change a bit on it so i can get it working.

Thanks
 
Old 10-31-2009, 09:47 AM   #2
mudangel
Member
 
Registered: May 2008
Location: Ohio
Distribution: Slackware
Posts: 267

Rep: Reputation: 56
What window manager are you using?
 
Old 11-01-2009, 05:08 AM   #3
naveen76
LQ Newbie
 
Registered: Oct 2009
Location: The Netherlands
Distribution: Windows SuSE Debian Ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
No window manager.

it is in the text mode.. level 3 i think its called
 
Old 11-01-2009, 09:18 AM   #4
mudangel
Member
 
Registered: May 2008
Location: Ohio
Distribution: Slackware
Posts: 267

Rep: Reputation: 56
Correct me if I am missing something- it sounds(to me) like you are trying to use a framebuffer console as a window manager(menu, background image, icons...). It would be much easier to use X+a window manager/desktop. Is this a project you're working on? What distro are you using, btw?
 
Old 11-01-2009, 10:19 AM   #5
naveen76
LQ Newbie
 
Registered: Oct 2009
Location: The Netherlands
Distribution: Windows SuSE Debian Ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
Its not like a windows manager. it should only have 3 icons to start 3 applications. distro will be Voyage linux. so its debian. The menu should not do more than this as it will be placed in situation where the other options are not desired.
 
Old 11-01-2009, 10:49 AM   #6
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
If you want to have a menu in text mode that's OK but the terms "background image" and icons are being misunderstood. Can you explain what you mean by these terms.

For full screen text menus you might find ncurses useful. Google will find plenty on ncurses, including the Linux Documentation Project's HOWTO.
 
Old 11-01-2009, 11:14 AM   #7
naveen76
LQ Newbie
 
Registered: Oct 2009
Location: The Netherlands
Distribution: Windows SuSE Debian Ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
Its not a text mode menu. I already delivered that. but they desire to have the background image with the company name in there. the 3 application should have 3 graphical icons with can be selected using a box around this icons and when the application is to be started this should go with enter. once the applications are started and ended it should go back into the same graphical menu.
 
Old 11-01-2009, 11:57 AM   #8
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 129Reputation: 129
Well, you can have a background without too much trouble using kernel patches available in gentoo, slackware and backtrack Linux source repository, but it will replace the VT background for the whole session, not only for the menu. Having icon can graphical layout on top of the frame buffer -is- possible, but nobody do it. Most people will use the X windows system at the very moment something graphical come into play. But you don't have to use Xorg. XfbDev is a X windows system running on top of the framebuffer, the whole binary and dependency tree is 1.1mb (3.* with xlib), start in less than 0.3 second and allow you to display graphical application. Any X applications will work (firefox, openoffice and so on), but they will run slower than normal. Qt applications run much faster because the only draw required pixel every time the windows is repainted, but it may not be the right toolkit for your application (too much dependencies). A pure xlib application would do. Then launch whatever you want.

Drawing directly on top of the frame buffer is not the fastest solution, it is a lot of work for nothing. If you find an easy solution, please share it, I would be interested in it too.
 
Old 11-01-2009, 12:42 PM   #9
naveen76
LQ Newbie
 
Registered: Oct 2009
Location: The Netherlands
Distribution: Windows SuSE Debian Ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
Hi ELV13

What i havent shared is that there was a working menu. but this system seems to be locked. so i cant get the old menu to work. and i want to recreate something like it. If you can help me get the menu going, which is a binary with some linked modules. then you also get youreself a solution. but i stopped looking into the excisting binary as i spend so many time in it to get it working that its maybe a simpler solution to make an menu myself.or if there is an opensource menu. wich i really doubt currently but time to build one with the right people.

Last edited by naveen76; 11-01-2009 at 12:44 PM.
 
Old 11-01-2009, 03:05 PM   #10
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 129Reputation: 129
What you can do if you really want to use framebuffer only solution is to take a look at usplash or splashy source code. They have everything to load an image (png) and you could just reload/redraw the whole thing when you grab an arrow keyboard even.
 
Old 11-04-2009, 04:19 PM   #11
naveen76
LQ Newbie
 
Registered: Oct 2009
Location: The Netherlands
Distribution: Windows SuSE Debian Ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
i did it doing drawing with fbv, and a shell script that read out the arrow keys
its not very sleek. but it does the job. every new selection the menu got redrawed
 
  


Reply



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
framebuffer confusion with Hauppauge PVR 350 framebuffer /dev/fb0 tofino_surfer Linux - General 4 09-18-2008 11:36 PM
Not detecting usb keyboard to make selection in the boot menu. binoynicholas Linux - Hardware 6 08-30-2008 08:17 AM
Help with a basic script - adding a menu selection okorkie Programming 7 03-12-2007 04:45 PM
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 11:48 AM
VESA framebuffer vs Intel framebuffer in Slackware 10.0 with default kernel brancalessio Slackware 3 01-20-2005 03:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:01 PM.

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
Open Source Consulting | Domain Registration