image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
LinkBack Thread Tools
  #1  
Old January 11th, 2003, 05:18 PM
StarBuck's Avatar
Registered User
 
Join Date: Sep 2000
Location: United Kingdom
Posts: 246
Thanks: 0
Thanked 1 Time in 1 Post
StarBuck is on a distinguished road
Question .cshrc & .xinitrc ???

Hi I have just installed fink and x11 I downloaded kde as my windows manager to see how well it would work.

This worked but the menu bar was in another window so I played around with teh .cshrc file in ~ now when I type exec kde or start it tells me the command cannot be found. This is all I have in the file.

\source /sw/bin/init.csh
source /sw/bin/init.csh

What is the .cshrc and .xinitrc files used for?

I understand you can exec a windows manager in .cshrc but what else?

.xinitrc has in it exec quartz.wm

Thanks
Reply With Quote
  #2  
Old January 12th, 2003, 12:44 AM
wiz wiz is offline
Registered User
 
Join Date: Jul 2002
Location: Sol
Posts: 537
Thanks: 0
Thanked 0 Times in 0 Posts
wiz is on a distinguished road
well .xinitrc is used to set (user) initial prefs for ur x-server, start a wm, and to startup x11 apps
Reply With Quote
  #3  
Old January 12th, 2003, 02:46 PM
sao sao is offline
member
 
Join Date: Aug 2001
Location: Singapore
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
sao is on a distinguished road
StarBuck,

After installing Fink, you must set your PATH environment variable in order to use the software installed in Fink's directory hierarchy, you do this by writing the following shell script at the beginning of your ~/.cshrc or ~/.tcshrc files:

source /sw/bin/init.csh

If you write a ~/.xinitrc file in your home directory, it will be used to start some initial X clients, like a window manager and some xterms or a desktop environment like GNOME or KDE.

If you have Apple X11 installed, write a simple ~/.xinitrc file like this:

Code:
source /sw/bin/init.sh

xterm -geometry 80x50+494+51 &

exec quartz-wm
Good luck.


Cheers...
__________________
Somewhere, over the rainbow,
way up high...
Reply With Quote
Reply

Bookmarks

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
dazed and confused .xinitrc, .tcshrc, or any .*rc emersunn Unix & X11 0 January 17th, 2003 07:08 PM
Switching between window manager axoboy Unix & X11 8 December 16th, 2002 02:46 AM
.cshrc trickery, need help lipbone Mac OS X System & Mac Software 10 February 4th, 2002 01:06 PM
.cshrc file ....where is it? mark cookman Mac OS X System & Mac Software 1 November 6th, 2001 04:41 AM


All times are GMT -5. The time now is 09:07 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.