LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-04-2003, 07:27 PM   #1
deepsix
Member
 
Registered: Apr 2003
Distribution: ANY
Posts: 339

Rep: Reputation: 32
please help .....im tired of gui's


All I want is the command line and to be able to run X programs from
the command line.......(no kde , no gnome, no icewm, windowmaker...etc...etc.....

Is there a way I can maybe start the x server but have it run in the background and only respond when I call a program?.......

any help, tips trick, or hacks appreciated.........
 
Old 09-04-2003, 07:36 PM   #2
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
From the command like you can start things like xine and mozilla like this:

startx /usr/bin/mozilla (you have to give the full path to the executable)

this will start X and mozilla without starting a desktop environment. Maybe it's to your liking. You can start a second program with

startx /usr/bin/xine -- :1

xine, in this case, will be on ctrl+alt+F8 (mozilla on F7)
by changing the number, you can have up to 6 (F7 thru F12) different programs running using X but no desktop env.
 
Old 09-04-2003, 07:46 PM   #3
deepsix
Member
 
Registered: Apr 2003
Distribution: ANY
Posts: 339

Original Poster
Rep: Reputation: 32
thats a great help......I can just make some scripts to run the programs I normally use....I should have thought of this.....thanks.......

Last edited by deepsix; 09-04-2003 at 07:48 PM.
 
Old 09-04-2003, 08:25 PM   #4
deepsix
Member
 
Registered: Apr 2003
Distribution: ANY
Posts: 339

Original Poster
Rep: Reputation: 32
Quote:
Originally posted by deepsix
thats a great help......I can just make some scripts to run the programs I normally use....I should have thought of this.....thanks.......
........but...........


even though this is one way of doing it ......I still have to login every time I switch virtual consoles.....Maybe I should be more specific.......lets say I only want to run 1 terminal......and that terminal requires X ok......so at this point X is running because the terminal is running.........now.........any command I give launches the program wich will run along side other programs but without the bloat...ie; background, toolbars, panels etc....
do I need to create my own invisible gui......to do this ? or is there something already out there.......... and if anyone has pointers or ideas on how to do this .......please let me know..........
 
Old 09-04-2003, 08:30 PM   #5
cav
Member
 
Registered: Feb 2003
Location: Chicago
Distribution: Slackware 10.2
Posts: 154

Rep: Reputation: 30
If you want to stay away from GUI just because of all the clutter, resource hogging, etc., why not just use a super light WM like fluxbox? You could even start up some term fullscreen with it, so its almost like the WM isnt there. I bet it wouldnt be too hard even to hack out FB's already minimalistic toolbar, leaving you with nothing but a mouse pointer and right-click menu.

Last edited by cav; 09-04-2003 at 08:32 PM.
 
Old 09-04-2003, 08:34 PM   #6
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
you don't need to login for each virtual console. You go to runlevel 3 (or just disable X from starting automatically). You login to a text console and from there you can run X programs with
startx /path-to-executable --:n (where n is the vt you want it to be)
you only have to log in once so long as you start all the instances of X from that one text terminal you logged into.

You can run multiple programs inside one instance of X with the above method. E.g. you can call a script like
#!/bin/bash
/usr/bin/mozilla &
/usr/bin/xine &
/usr/bin/oowriter
this will have all three on one virtual terminal. Trouble is that you don't have a window manager so that you cannot move the windows nor can you raise, lower or resize them. This makes it basically impossible to run more than one application inside one X session.

maybe you should get one of those super primitive window managers like fvwm. That has virtually no bloat and kind of fun to mess with. I'm sure there's an rpm for redhat.
 
Old 09-05-2003, 08:12 AM   #7
BongFish
Member
 
Registered: Jun 2003
Location: England
Distribution: Slack 9
Posts: 141

Rep: Reputation: 15
Use Ratpoison as your window manager.

If you start a gnome terminal on top of it you can't tell the differance between that and the normal console. There are no window decorations or menus. Switching windows is done by using user changeable keyboard commands such at Control and Right key.

All windows are fully maximised all the time but if you want there are two comands for splitting the window horizontaly or verticaly, this is very usefull if you want to copy things out into a text editor or read a how-to while editing a file in VI.

I love it and I think you will too.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing GUI's Jmcatch742 Linux - General 1 08-21-2004 10:31 PM
Multiple GUI's? LinuxSeeker Linux - General 1 03-18-2004 10:18 AM
GUI's revenger681 Linux - Software 5 02-08-2004 02:42 PM
Gui's fuelinjection Linux - General 14 12-04-2003 10:07 PM
What are the different GUI's for... javaarmy Linux - General 2 09-22-2003 09:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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