LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 02-23-2011, 01:33 PM   #1
chrisnharvey
LQ Newbie
 
Registered: Feb 2011
Posts: 1

Rep: Reputation: 0
Web based Linux distro


Hello,

This is my first post so please forgive me if it's in the wrong place.

I am hoping to develop a Linux distro that is based entirely on Firefox as a frontend but with a local LAMP server running within firefox to create a GUI based on PHP, HTML5, JavaScript etc.

I can do all the PHP, MySQL, HTML things myself, but I was wondering how I could create a fullscreen Firefox that launches at boot and can not be closed with ALT+F4 and has no context menus at all. I don't know what X Window Manager to use and how to integrate this into an installable distro that I can provide to some friends to test. I hope to base this distro on Debian.

Also, would it be possible to use an iframe within Firefox as a web browser. For example, if a link's target is _blank or _top, instead of opening another fullscreen firefox window or replacing the HTML/JS desktop with a webpage, could this call a JavaScript function of mine instead?

I know this is a difficult project, but any advice would be great!

Thank you,

- Chris
 
Old 02-23-2011, 01:50 PM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by chrisnharvey View Post
I was wondering how I could create a fullscreen Firefox that launches at boot and can not be closed with ALT+F4 and has no context menus at all. I don't know what X Window Manager to use...
Have your X login manager launch the web browser instead of a window manager.

For getting Firefox the way you want it, you will want to look into XUL scripting.

Personally, I think it might be preferable to write a custom web browser. This isn't as hard as it sounds because Qt gives you classes to create an application with webkit functionality:

http://doc.qt.nokia.com/latest/qtwebkit.html

Last edited by dugan; 02-23-2011 at 02:02 PM.
 
  


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
What is Based in Linux distro? SHENGTON Linux - Newbie 8 07-02-2010 01:28 PM
Sorce based distro (gentoo) Vs Binary based distro(fedora, debian,..) ashwin_cse Linux - Distributions 7 02-08-2010 01:46 PM
Linux Web Based groupware Dankles Linux - General 2 01-13-2006 11:06 AM
Linux and Web Based Email rioch Linux - General 3 10-01-2003 09:52 PM
Web-Based E-mail for Linux RedHatMN Linux - Newbie 4 08-29-2001 11:18 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:03 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