Go Back   The macosxhints Forums > OS X Help Requests > UNIX - X11



Reply
 
Thread Tools Rating: Thread Rating: 5 votes, 5.00 average. Display Modes
Old 12-31-2002, 10:07 AM   #1
Phil St. Romain
Site Admin
 
Join Date: Dec 2001
Location: Wichita, KS
Posts: 2,350
Jaguar How to open programs downloaded by Fink

- very much a newbie at this -

I've got Fink up and running and used it to install Xfree86 (rootless). Using OroborOSX as window manager, I've been successful in opening a few programs that came with Orobor.

So next I used Fink to download/install/compile AbiWord and xdigger. The folders are there in sw/share/ but I don't know how to open the applications; there doesn't seem to be any.

How does one open an app using Orobor, or any other way?

(Going on the notion here that the only dumb questions are the ones you don't ask.)
Phil St. Romain is offline   Reply With Quote
Old 12-31-2002, 10:54 AM   #2
griffman
MVP
 
Join Date: Dec 2001
Location: Portland, OR
Posts: 1,471
Off the top of my head (no Mac at work anymore, argh!), just make sure you type 'rehash' first, and then you should be able to use them from the Terminal within XDarwin.

The programs don't live in /sw/share, I think they're all in /sw/bin or similar. Once you've "rehashed," just try typing "ab<tab>" and you should see the possible completions, one of which will be abiword.

Remember to do this in the XDarwin terminal, not the OS X terminal.

If all of the above is wrong, it's because I'm getting old and the memory is failing ... or because I have to look at XP all day long and it's driving me crazy!

-rob.
griffman is offline   Reply With Quote
Old 12-31-2002, 12:06 PM   #3
nosaj56
Triple-A Player
 
Join Date: Jul 2002
Location: Louisiana
Posts: 208
Quote:
Originally posted by griffman
no Mac at work anymore, argh!
-rob.

You'll have to change the "About Mac OS X Hints" page! I'm sorry for your loss. ()
nosaj56 is offline   Reply With Quote
Old 12-31-2002, 01:25 PM   #4
sbur
Major Leaguer
 
Join Date: Apr 2002
Location: Saint Peter, MN
Posts: 330
griffman is right.

When you install something, rehash goes through and finds the things in your PATH (if you got fink running, you already have /sw/bin in your path).
Then, when you launch your window manager (oroborosx in your case) you must open a new terminal (called xterm in orobor). I think orobor has xterm as an "open when launched" default..just like the little annoying eyes that follow your mouse cursor around.

Then type the name of the program in the xterm window. Unlike OSX, you have to have the mouse cursor somewhere over the "active" window.

You can set up aliases for your frequently used programs just like you would for your OS X terminal...infact, it reads the same .tcsh or .bash or whatever (I still use the Cshell variant that 10.0 came with). So just add it to that file.

Happy *nixing.
sbur is offline   Reply With Quote
Old 12-31-2002, 02:10 PM   #5
griffman
MVP
 
Join Date: Dec 2001
Location: Portland, OR
Posts: 1,471
Quote:
Originally posted by nosaj56
You'll have to change the "About Mac OS X Hints" page! I'm sorry for your loss. ()

I'm not giving up yet! I still intend to get one in here, somehow, someway ...

-rob.
griffman is offline   Reply With Quote
Old 12-31-2002, 07:20 PM   #6
Phil St. Romain
Site Admin
 
Join Date: Dec 2001
Location: Wichita, KS
Posts: 2,350
Thanks gents. Success. I ran the rehash command in xterm, then typed in AbiWord and the application opened.

I can't find the app in /sw/bin/ however, or nothing that I can make an alias to place in the Launch Menu Items of OroborOSX.

Any suggestions?
Phil St. Romain is offline   Reply With Quote
Old 12-31-2002, 07:45 PM   #7
griffman
MVP
 
Join Date: Dec 2001
Location: Portland, OR
Posts: 1,471
Type "which abiword" and you'll see where it is.

-rob.
griffman is offline   Reply With Quote
Old 12-31-2002, 07:47 PM   #8
Craig R. Arko
Site Admin
 
Join Date: Dec 2001
Location: Minneapolis, MN
Posts: 3,965
Open a normal terminal window; type 'which AbiWord' in it. What path do you get back? In /sw/bin/ you should see: AbiWord (which is a script), AbiWord_d and AbiWord_s.

Edit: Man, he's fast! Better put him to work on the 2nd edition.
Craig R. Arko is offline   Reply With Quote
Old 12-31-2002, 10:25 PM   #9
Phil St. Romain
Site Admin
 
Join Date: Dec 2001
Location: Wichita, KS
Posts: 2,350
We have a second, ladies and gentlemen. Do I hear a third?

Going once, twice . . .

Thanks, gang. It's pretty cool to run those apps, but I've got to admit that AbiWord ain't no Appleworks or MS Word. Still, the price is right. I'll give Open Office a try sometime and see what that's like.
Phil St. Romain is offline   Reply With Quote
Old 12-31-2002, 10:55 PM   #10
griffman
MVP
 
Join Date: Dec 2001
Location: Portland, OR
Posts: 1,471
Sometimes I feel guilty about not participating in the forums enough, so I come in one day and blitz them, then go back in my corner and work on the main site again ;-).

-rob.
griffman is offline   Reply With Quote
Old 12-31-2002, 11:19 PM   #11
nosaj56
Triple-A Player
 
Join Date: Jul 2002
Location: Louisiana
Posts: 208
Quote:
Originally posted by griffman
Sometimes I feel guilty about not participating in the forums enough, so I come in one day and blitz them, then go back in my corner and work on the main site again ;-).

-rob.

How sad... Now, go to your corner and don't come out until you finish the Geeklog upgrade.
nosaj56 is offline   Reply With Quote
Old 01-01-2003, 03:30 PM   #12
thatch
All Star
 
Join Date: Jan 2002
Posts: 534
Rob, your dedication is muchly appreciated. Thanks for another great year and Happy New Year too.

Side note: My yearly contribution$ will be forthcoming to you shortly. I hope others will do the same if they haven't already.
thatch is offline   Reply With Quote
Old 01-01-2003, 08:13 PM   #13
Glanz
Major Leaguer
 
Join Date: Aug 2002
Location: Montreal
Posts: 373
Quote:
Originally posted by Phil St. Romain
We have a second, ladies and gentlemen. Do I hear a third?

Going once, twice . . .

Thanks, gang. It's pretty cool to run those apps, but I've got to admit that AbiWord ain't no Appleworks or MS Word. Still, the price is right. I'll give Open Office a try sometime and see what that's like.

Here's a third!!!!

I really like Open Office B U T it takes up as much space as an operating system.... Yet again, I wrote about 15 articles for extremetech with it, and my editors are all on M$ Orifice. They didn't notice anything. Formatting, graphics, and the rest went very well indeed. When saving text I chose MS Word format, and in spite of the usual warning; "you may lose some formatting and/or text"..., I never lost one single letter or style. But the humongous 100MB plus download is just too much, IMHO.
Glanz is offline   Reply With Quote
Old 01-02-2003, 05:56 AM   #14
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
Phil,

Also, you can enable entering X11 commands in the Terminal.app "when XFree86 is running" if you write at the beginning of your ~/.cshrc or ~/.tcshrc files:

Quote:
setenv DISPLAY :0.0

Then, when you type 'gimp' in "Terminal.app" the corresponding X11 binary will open in XFree86. (If you start the app. from an 'xterm' DISPLAY is automatically set)


You could also set the 'XDarwin.app' to start up when you login in the Login Panel of the System Preferences and then add to your ~/.cshrc or ~/.tcshrc files:

Code:
if (! $?DISPLAY) then
  setenv DISPLAY :0.0
endif
"This will set DISPLAY automatically in every shell. It doesn't override the current value when DISPLAY is already set, though. This way you can still run X11 applications remotely or through ssh with X11 tunneling".


Cheers...


PS: BTW, just came back from a holiday...Happy New Year...!
sao is offline   Reply With Quote
Old 01-02-2003, 07:14 AM   #15
sbur
Major Leaguer
 
Join Date: Apr 2002
Location: Saint Peter, MN
Posts: 330
Cool tip, sao. When I get my new iBook set up, I'll incorporate that into the .tcshrc file. Could make my life a lot easier as I hate working in the xterm window! I'm literate enough to know what I can do with it, but not always how to do it...the terminal.app is much more well behaved, imho. But then again, I used to think vi was a poorly behaved program until I finally learned how to use it...
sbur is offline   Reply With Quote
Old 01-02-2003, 09:19 AM   #16
Phil St. Romain
Site Admin
 
Join Date: Dec 2001
Location: Wichita, KS
Posts: 2,350
Yes, sao, thanks for the tip. I'm very much a newbie with Unix, so I'm not sure I followed it completely, but will give it a try next time I boot into the partition (actually a firewire partition) that I used to install Xfree86.

As you can tell, I'm not even clear about what terminology to use--X11, X86, etc.

AbiWord is actually a decent word processor, I'm finding. It's not as polished and fully-featured as Appleworks or Word, but it'll do 98% of what most people ever need to do.

Now how to get things to print? The printer listing is lpr and nothing happens. Perhaps I'll see what threads might be helpful on this or start a new one if needed since that's introducing a topic beyond starting programs downloaded by Fink.

Thanks, all, for your help and feedback.
Phil St. Romain is offline   Reply With Quote
Old 01-02-2003, 10:04 AM   #17
sbur
Major Leaguer
 
Join Date: Apr 2002
Location: Saint Peter, MN
Posts: 330
Quote:
Originally posted by Phil St. Romain
Yes, sao, thanks for the tip. I'm very much a newbie with Unix, so I'm not sure I followed it completely, but will give it a try next time I boot into the partition (actually a firewire partition) that I used to install Xfree86.

As you can tell, I'm not even clear about what terminology to use--X11, X86, etc.

X11 = Xwindows. sometimes just refered to as X. (A problem when talking about "X" on BBS dedicated to OS X...)
x86 = chip architecture used by Intell and AMD, for example.

XFree86 is the name of the Xwindow version you install. It was based on the FreeBSD system, and (I believe) 86 refers to the year the project was started...but that's a guess.
sbur is offline   Reply With Quote
Old 01-07-2003, 11:23 AM   #18
Don Benot
Triple-A Player
 
Join Date: Nov 2002
Location: Kettering, Ohio
Posts: 59
I have also installed OroborosX and Fink. I cannot run Fink from the command line.

[Dons-iBook:~] church% fink
fink: Command not found.
[Dons-iBook:~] church%

I can use Fink Commander.

Oroborosx runs okay. I've installed LAME and AbiWord using Fink Commander. I cannot run either one of them from the command line in OroborosX or XDarwin. Any clues for me out there?

Don
Don Benot is offline   Reply With Quote
Old 01-07-2003, 02:05 PM   #19
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
Don Benot,

You need to set up your fink installation so that your shell is aware of the /sw/ tree.

Write at the beginning of your ~/.cshrc or ~/.tcshrc files:

source /sw/bin/init.csh


Cheers...
sao is offline   Reply With Quote
Old 01-07-2003, 03:01 PM   #20
Don Benot
Triple-A Player
 
Join Date: Nov 2002
Location: Kettering, Ohio
Posts: 59
Thumbs up

Bless you.

I thought I did that. Must have been on my desktop. I've had it working there. It also helps to type "AbiWord" and not "abiword". Doh!

Thanks again,
Don
Don Benot is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

Forum Jump



All times are GMT -5. The time now is 08:35 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.