LinuxQuestions.org
Help answer threads with 0 replies.
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 02-05-2009, 09:31 AM   #1
krishnasut
LQ Newbie
 
Registered: Jan 2009
Posts: 14

Rep: Reputation: 0
Question Can i run any graphical apps without loading Desktop Environment ?


In programming sense what is Desktop ?
I can run any gnome apps using terminal or "Run Application" ?
Such as , to open terminal i can type gnome-terminal and it invokes.


What is Xwindow , xserver and Why do we need Gnome , KDE etc ?

Why i cannot launch any graphical application [ firefox as example ] without loading xserver ??

I donot need wallpaper , start menu bla bla ..
I only want to run any graphical applictaion using default black terminal.



http://http.cdnlayer.com/lq/images/q...con5.gifPlesae help me !!!

cheers
=====================
krishnasut
 
Old 02-05-2009, 09:45 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Basically, there are several layers--starting from the most basic:
kernel
shell and utilities
X-Windows (or equivalent)
Window manager
Desktop environment (optional)
User applications

Each on depends on the one above it.

Most "graphical" applications (for Linux) are written assuming that X-Windows is running. I believe there are alternatives to X-windows, but I have no personal knowledge.
 
Old 02-05-2009, 11:42 AM   #3
kc8hr
Member
 
Registered: Sep 2006
Location: Inkster, MI USA
Distribution: Ubuntu
Posts: 31

Rep: Reputation: 15
Cool

Quote:
Originally Posted by krishnasut View Post
In programming sense what is Desktop ?
I can run any gnome apps using terminal or "Run Application" ?
Such as , to open terminal i can type gnome-terminal and it invokes.


What is Xwindow , xserver and Why do we need Gnome , KDE etc ?

Why i cannot launch any graphical application [ firefox as example ] without loading xserver ??

I donot need wallpaper , start menu bla bla ..
I only want to run any graphical applictaion using default black terminal.



http://http.cdnlayer.com/lq/images/q...con5.gifPlesae help me !!!

cheers
=====================
krishnasut
No, you must have some sort of graphical environment to run a graphical program like Firefox.

There are many different window managers that you can use that are much lighter and faster than Gnome or KDE, such as Fluxbox, Blackbox, Sawfish, etc. Here is a link that describes some of the best:

http://thelinuxway.blogspot.com/2007...-managers.html

My personal favorite is Fluxbox.

Good Luck!
Tim
 
Old 02-05-2009, 05:37 PM   #4
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
If you want something similar to a screen session able to run graphical applications (still requires x) then you might like ratpoison or stumpwm.
 
Old 02-05-2009, 07:08 PM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by krishnasut View Post
In programming sense what is Desktop ?
A window manager plus a set of tools that are supposed to work coherently together. By the way, a window manager is a program that puts a frame around an X client, and let you manage it (reorder, resize, maximize, minimize, move, change layer, or whatever capabilities that wm has). Tipical wms work that way, tiling wms like xmonad, ratpoison, stumpwm or awesome tile the windows for you and let you control them via the keyboard. They are usually minimal in both interface and resource usage.

Quote:
I can run any gnome apps using terminal or "Run Application" ?
Such as , to open terminal i can type gnome-terminal and it invokes.
You can run any application as long as you have all the needed libs. So, as long as the needed gnome libs have been installed and X is running, you can run any gnome or kde program. However, some very specific programs that are designed to interact with a gnome component might not work ok if gnome is not running. Those will be exceptional cases.

Quote:
What is Xwindow , xserver
Google and wikis are your friends. The X protocol is a networked protocol to serve graphics. There are lots of implementation for that protocol (xfree, xorg, kdrive, and many others). Most linux distros usually use xorg nowadays.

Quote:
and Why do we need Gnome , KDE etc ?
We don't. You choose to use it or not. You can use a simple wm like fluxbox, fvwm or xmonad if you want. You can add a set of applications to that to conform your own antidesktop or whatever you call it. You could as well use plain X with no wm, but then luck managing the clients, since there won't be windows to move, maximize or close.

Quote:
Why i cannot launch any graphical application [ firefox as example ] without loading xserver ??
Err... because the are apps based on xlib, or based on a toolkit like gtk or qt that's based on xlib. There are some applications that can work no framebuffer, under directfb or svgalib (before you ask, no, firefox can't, but links with -g can). There are also tookits like qtopia that can run on top of fb, so any app that works with qtopia will work on framebuffer, like in mobile phones and so.

Quote:
I donot need wallpaper , start menu bla bla ..
I only want to run any graphical applictaion using default black terminal.
Put xterm in your ~/.xinitrc and you will see an xterm when you fire up X using the startx command. But, as said, there will not be windows, so managing your clients will be impossible. You almost always want a wm, unless you really know what you are doing (that is, unless you are programming your own application that will run standalone and will manage itself its children "windows".

Last edited by i92guboj; 02-05-2009 at 07:10 PM.
 
  


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
[Ubuntu] Spawning graphical apps on desktop via remote shell cheeken Linux - Desktop 5 02-04-2009 06:00 AM
gnome desktop environment not loading cgk.cet Linux - Software 1 02-26-2007 11:18 PM
HOWTO Run as root in graphical environment fedix Fedora 7 10-14-2005 03:39 PM
Xterm to Graphical Environment: run what? JMCraig Linux - Newbie 3 01-24-2005 04:12 PM
Graphical Desktop Environment Gerardoj Linux - General 3 10-30-2003 08:00 PM

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

All times are GMT -5. The time now is 11:30 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
Open Source Consulting | Domain Registration