Getting started with windows and screens without desktop environment


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Getting started with windows and screens without desktop environment
# 1  
Old 10-31-2012
Question Getting started with windows and screens without desktop environment

Hi there,

Hope the title is sufficiently self explaining.
I have no idea how to start and where to start.
I don't even know what keywords to google for.

I need to build a machine :
  • based on Debian
  • without desktop environment
  • with a quite powerful multi-monitor graphic card
  • able to run 4 browsers (firefox?)
  • each browser sent to a different window
  • each windows sent to a different monitor
What program should I use to say :
  • run firefox, navigate to site1, send the image to screen1
  • run firefox, navigate to site2, send the image to screen2
  • run firefox, navigate to site3, send the image to screen3
  • etc.
I have to admit I know one keyword that I heard of and looks related to what I'm trying to do but it's to vast for me to narrow my google exploration. It's x11. Woohoo! Big start.



Can anyone point me even slightly in a more precise direction?



Thanks for your help.


Santiago
# 2  
Old 10-31-2012
Programs like browsers rely heavily on some sort of desktop environment, like Gnome or KDE.

X11 is basically a library of graphic routines, not more. To make use of it, you need a window manager and more, which make up a desktop environment.

While it should be possible, to write programs which directly handle all the graphical output in fullscreen mode (like in the old DOS ages), programs like firefox won't work like this.

Or did I misunderstand you?
# 3  
Old 10-31-2012
Question

Thanks hergp.
I think you understood what I meant.
And I completely believe what you're saying.

My objection is that I administrate a network of 140+ video players that are no more than debian based mini-computers with two basics programs run on startup (via /etc/inittab). I have not created the system so I might miss some points but here is what I can see working.
An X window (or tell me how to call it) is launched via the command
Code:
/usr/bin/startx /etc/X11/my-session -- -br -ac -nolisten tcp

Mplayer is launched in this window with the commande
Code:
mplayer -slave -idle -quiet -vo x11 -loop 0 -fs -zoom -fixed-vo -input file=myfile

That's it. Then the system rolls smoothly in a store to entertain customers with fancy videos.

This looks extremely simple to me and I thought I could do close to the same thing with Firefox. Am I deliring?

Again hergp, I completely trust your answer, I'm just curious to understand a bit more the implications of what I'm talking about.

Regards
Santiago
# 4  
Old 10-31-2012
I'm not sure what you're expecting firefox to do here.

You can run firefox and then what?
# 5  
Old 10-31-2012
Hi Corona688,

Thanks for your interest.
Firefox will display a web page with charts that update every few minutes.
There's absolutely no input.

The 4 screens will display a different dashboards each.

Regards
Santiago
# 6  
Old 10-31-2012
That sounds possible actually, but if Firefox encounters any sort of error, it will stop updating.
# 7  
Old 10-31-2012
Quote:
An X window (or tell me how to call it) is launched via the command

Code:

/usr/bin/startx /etc/X11/my-session -- -br -ac -nolisten tcp
What you call a window is in fact a call to open an X session ( can contain multiple windows within e.g. a firefox window...) that means there is somewhere a X server running...
A X server can run different instances (sessions) the session number is what you see after IP or host name in the variable DISPLAY
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to Navigate to Windows Desktop?

I want to use my Desktop for saving files of my codes. Looking for Desktop in my OS (C : ) and couldn't find it anywhere. Is it possible to navigate to your desktop? If so how? By the way, I am using Cygwin. (6 Replies)
Discussion started by: DyslexicChciken
6 Replies

2. What is on Your Mind?

Linux Desktop vs Windows 8

Any comments on this Windows 8 OEM specs may block Linux booting | ITworld (16 Replies)
Discussion started by: jgt
16 Replies

3. Ubuntu

How to Get Started on Ubuntu Desktop for the first time

Hello Everyone, I have been using RHEL from quite a while now on server system, but now i also want to use Linux as my Desktop/Laptop OS on my personal computer. So i downloaded the Ubuntu 12.04 yeserday as i have read alot about it being the most popular Linux Desktop OS. So guys could you... (1 Reply)
Discussion started by: Rohit Bhanot
1 Replies

4. Red Hat

Changing Desktop Environment by mistake

Hi, I'm using fedora 15, my defualt DE is XFCE I once saw that there is a option in startup DE's that I can select and it was OPENBOX. I just wanted to test it. but after choosing it as my DE here I am. I have just access to terminal, firefox.. what's in my desktop. there is no panel here. I... (0 Replies)
Discussion started by: hoseinit
0 Replies

5. UNIX for Dummies Questions & Answers

The Desktop Messaging System Could Not Be Started HP-UX

Hi People! I've just got a HP-UX system dumped on me. I've started it, followed all the install/setup questions, and everything was going ok, right upto when going into the desktop enviroment I got the message "The Desktop Messaging System Could Not Be Started". Now I've checked the... (8 Replies)
Discussion started by: cpiuk
8 Replies

6. UNIX for Dummies Questions & Answers

Common Desktop Environment Question

Hello, I'm experiencing a strange problem with CDE on a Solaris workstation. The Desktop is bigger than the screen. In otherwords, when I open an xterm half of the xterm window appears half off the screen. When I move the mouse up to the top of the new xterm the control panel scrolls off the... (1 Reply)
Discussion started by: radimus
1 Replies
Login or Register to Ask a Question

Featured Tech Videos