LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-03-2004, 07:50 PM   #1
Chryzmo
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 10.1
Posts: 180

Rep: Reputation: 30
Launching Programs From the Command Line


Heyas,

I have been using Mandrake Linux for a few monthes now, but the whole time I have been using KDE and now I would like to try using the commandline instead. I tried setting the boot options ot goto the commandline rather than automatically going to the graphical log in menu. I tried running gAIM after logging in as my user and it gave me this error:

(gaim:2493): gtk-WARNING **: cannot open display:

How do I make it so I can launch gAIM from the command line?

Thanks,
Chris
 
Old 03-03-2004, 07:59 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
GAIM is a graphical client, you need X running in order to run it.
 
Old 03-03-2004, 08:01 PM   #3
KingofBLASH
Member
 
Registered: Sep 2003
Distribution: Just upgraded to Slackware 10.0
Posts: 91

Rep: Reputation: 15
When you say "command line" do you mean loading up xterm while inside of KDE, or that you stopped booting up into a GUI, and on the console typed in "gaim"?
 
Old 03-03-2004, 08:05 PM   #4
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,476

Rep: Reputation: 191Reputation: 191
You have to have X running to run gaim. All gnome and kde apps need X. Some programs are designed to run with ncurses, a limited type of graphics that you can run in a command line environment. The links browser is one. You may be able to find an ncurses IM client but I'm not aware of any as I'm not that much into it but one probably exists.
 
Old 03-03-2004, 08:17 PM   #5
Chryzmo
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 10.1
Posts: 180

Original Poster
Rep: Reputation: 30
Well, what I was doing was not running the GUI at all.

When people talk about using Linux from the command line, and typing everything themselves, do they mean they just run an xterm from inside KDE or Gnome or whatever window enviorment they use? Or do they just use programs made to run with ncurses?
 
Old 03-03-2004, 09:00 PM   #6
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Almost anything can be done from the command line. But you can't run GUI apps directly. Some apps are engines that just have a GUI frontend that's dispensable. (cdrecord and its various front ends like xcdroast and k3b and so on.) Some are exclusively GUI apps and you need a different console app for the functionality. (mozilla's only a GUI app - but you can surf with lynx or w3m or whatever.) For IM, I've never used it, but maybe

http://freshmeat.net/projects/centericq/

would work.

Strictly speaking, running Linux 'from the command line' would be like on my P100 where I don't even have X installed (this time). But you can run almost everything (including GUI apps) from X with just an xterm. Or you can never touch an xterm (in theory, I guess) and run everything from desktop widgets. It just depends on your style and interests and your box's capabilities.
 
  


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
GUI generator for command line programs? pandasuit Linux - Software 5 01-16-2011 05:55 PM
What programs in the command line can I use in order to see the PC stats??? Shagrath239 Slackware 3 02-17-2005 04:42 PM
Running Programs from command line sumguy231 Linux - Software 4 12-17-2004 04:10 PM
launching programs from command line in FS dertien Linux - Software 1 11-26-2004 10:27 AM
Running programs from Command Line SirLostalot Linux - Newbie 1 11-11-2002 10:24 PM


All times are GMT -5. The time now is 02:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration